For developers

The accounting MCP server.

75 tools. One URL. Any MCP client.

LedgerMCP exposes a complete double-entry accounting system as MCP tools. Any AI assistant that speaks MCP can create books, import transactions, post balanced entries, reconcile, and report, all on a ledger that enforces its own correctness.

mcp.json
{  "mcpServers": {    "ledgermcp": {      "type": "http",      "url": "https://ledgermcp.com/mcp",      "headers": { "Authorization": "Bearer lmcp_YOUR_KEY" }    }  }}

Paste into any MCP client. Swap in a key from Settings, under Your AI.

  • →Read-only keys. Mint a scoped key for a client that should analyze but never write a line.
  • →Keys are hashed at rest. API keys are SHA-256 hashed and revocable; the plaintext is shown once.
  • →One key, every book. The same credential covers every business on your account; tools take a business_id.

No card. Works with Claude, ChatGPT, Grok, Cursor, and any MCP client.

01 · The tools

Every tool, by job.

Every name is the one the server registers.

  • Read-only, 27
  • Writes, 48
  • Destructive, 4: undoes an earlier write; no posting is deleted

Ingestion

Bulk import with batch dedupe, retractable batches, Plaid sync, duplicate and transfer candidate detection, and the feed read back row by row.

Bills & invoices

Bills in, invoices out: each invoice gets a hosted page with your payment link, and a wrong document is voided, never deleted.

Working metadata

Display fields, review state, vendor/project/client tags, receipts in and out, and the append-only audit log.

Memory and open loops

Conventions are the book’s operating manual, written by past sessions; questions are loops parked for the owner, and report_issue goes to the LedgerMCP team.

Between books

Book a charge paid on another book’s behalf, on both books at once.

Personal finance

Budgets, recurring-charge detection with price-change alerts, and a 30-day cash calendar.

Assets & tracked balances

Straight-line depreciation for registered assets, and set_balance for accounts you keep by statement balance, like a loan or a brokerage.

The same registry generates /docs and /llms.txt. The marks are the server’s own MCP annotations, readOnlyHint and destructiveHint, the ones the connector directories read. One listing carries a write mark on purpose: list_bank_accounts also opens a bank connection, so the server declines to call it read-only.

02 · The ledger

Invariants, not prompts.

Four rules Postgres enforces on every write, from any client.

Agent safety here does not depend on the agent being careful. The database refuses what would break the books. What it accepts is logged, and every entry can be reversed.

  • Entries balanceDebits must equal credits at commit, or the entry is rejected.
  • Postings are immutableNo edit, no delete. A correction is a linked reversal, and the history stays.
  • Retries are safeEvery post carries an idempotency key. Replaying it returns the original entry and posts nothing.
  • Balances are computedBalances derive from postings and are never stored, so a report cannot drift from the ledger.
More on security →
post_entry
{  "business_id": "b_9f2…",  "date": "2026-06-30",  "memo": "Owner draw",  "lines": [    {      "account_id": "acct_draw",      "debit": true,      "amount_cents": 250000    },    {      "account_id": "acct_check",      "debit": false,      "amount_cents": 250000    }  ],  "idempotency_key": "draw-jun-2026"}

Balanced at commit. Replaying this exact key returns this entry, never a duplicate.

03 · Connect

Connect a client.

OAuth for Claude, ChatGPT, and Grok. A bearer key for everything else.

claude.ai, Desktop, mobile

  1. 01Open Settings, then Connectors, then click + to browse.
  2. 02Search for LedgerMCP and click Connect. No address to paste, and no key.
  3. 03Sign in with a 6-digit email code. Claude now has your books.
you: set up my first business and import this statement
create_business Coffee Company
import_transactions 84 rows
bulk_categorize 81 posted, 3 to review
verify_books ok

Same address for every AI: https://ledgermcp.com/mcp

Read the docs →
Claude, step by step →ChatGPT, step by step →

ChatGPT connectors need a Plus, Pro, Business, Enterprise, or Edu plan.

Questions

Common questions.

What is an accounting MCP server?

An MCP server exposes tools that AI assistants can call through the Model Context Protocol. An accounting MCP server exposes bookkeeping: posting entries, importing transactions, reconciling, and reporting. LedgerMCP ships one built into real double-entry accounting software: hosted, one URL, no local setup.

How is this different from the QuickBooks MCP server?

Intuit’s official MCP server is, as of mid-2026, a local developer preview: it runs as a stdio subprocess on a developer’s machine, requires registering your own app on the Intuit Developer Portal, and connects one company at a time, all on top of a paid QuickBooks subscription. LedgerMCP is the opposite shape: a hosted server any MCP client reaches by URL, the full write surface exposed as tools, unlimited books, free software.

Which clients can connect?

Claude (connectors, Desktop, Claude Code), ChatGPT (developer-mode connectors), Grok, and any MCP-compatible client over streamable HTTP.

Can an agent create its own books, with no human signup?

Yes, and this is the part incumbents structurally cannot offer. An agent holding an API key can call create_business and have fresh books with a seeded chart of accounts in one call, then run them end to end: import, categorize, reconcile, report. Agent-first workflows need no human in the loop until review time.

What stops an agent from corrupting the ledger?

The database. Entries must balance, postings are immutable, retries cannot double-post, and every write lands in an audit log; the owner can reverse any entry.

How does authentication work?

Two paths. Interactive clients (Claude, ChatGPT, Grok) use OAuth: the user signs in with an email code and the client is scoped to their account. Headless clients use account-level API keys (lmcp_ prefix), created and revoked in Settings, stored SHA-256 hashed, sent as a bearer token. Read-only keys give reporting access with no write surface at all.

Is there documentation an agent can read?

Yes. Human docs live at ledgermcp.com/docs; machine-readable instructions live at ledgermcp.com/llms.txt.

Is there a REST API too?

MCP is the primary interface today; a public REST API, OAuth for third-party apps, and webhooks are on the roadmap. If you are building on LedgerMCP and need them sooner, email support@ledgermcp.com. Early integrators shape the order.

Point your agent at a real ledger.

The whole accounting surface, one MCP URL.

Free software. Unlimited books. No card.