The AI agent is the brain and the MCP server is the hands plus the memory. The agent, Claude or ChatGPT, reads your statements, reasons about where each transaction belongs, and decides what to do. The MCP server is what it decides with: the tools it can call, the double-entry ledger that stores every posting, and the state that survives after the chat closes. Neither one keeps books alone.
What does the AI agent actually do?
The agent is the reasoning layer. It is the large language model, Claude or ChatGPT, doing the judgment work that used to require a person: reading a bank statement, recognizing that "AMZN Mktp US" is probably office supplies this time and shipping last time, noticing a charge looks like a duplicate, and figuring out how to split a mixed personal-and-business receipt. It decides. Then it calls a tool to make the decision real. What the agent does not have is anywhere to put the result. It has no ledger of its own, and its working memory ends when the conversation does. Left alone, a very capable agent can describe your finances beautifully and remember none of it tomorrow.
What does the MCP server actually do?
The MCP server is the hands and the durable memory. It exposes a fixed set of tools the agent can call, LedgerMCP publishes 60 of them, 24 read and 36 write, and behind those tools sits a real double-entry ledger in Postgres. When the agent decides "categorize this coffee as a meals expense," the server is what turns that decision into a balanced journal entry that actually persists. It also holds everything that has to outlive a single session: the chart of accounts, the posted history, the durable conventions ("this vendor is always a contractor expense"), the open questions waiting for your answer, and the audit log of every change. The server does not think. It remembers, computes, stores, and answers. For the mechanics of how a server exposes tools to an agent, see what an MCP server is.
How do the two split responsibilities?
The cleanest way to hold it: the agent supplies intelligence, the server supplies durability and rules. Here is the same split as a side-by-side.
| The AI agent (Claude / ChatGPT) | The MCP server (LedgerMCP) |
|---|---|
| Reads statements and receipts | Stores the posted ledger |
| Decides categories and splits | Turns decisions into balanced entries |
| Reasons about ambiguity | Remembers conventions and open questions |
| Calls the tools | Defines the tools and enforces the rules |
| Forgets when the chat ends | Persists across every session |
Notice that the guarantees live on the server side. The four invariants, entries must balance, postings are immutable, retries are idempotent, balances are computed, are enforced in the database, not in the agent's reasoning. That is deliberate: it means the smartest and the least careful agent are held to the same rules. We cover that safety boundary in how to give an AI write access to your books safely.
Why does an agent alone not keep books?
An agent without a ledger is just chat. It can add up your spending in the conversation, but there is no balanced entry, no double-entry trail, and no state that exists after you close the tab. Ask it next week what your travel expenses were and it starts from nothing. Bookkeeping is not a one-time answer, it is an accumulating record, and an accumulating record needs a place to accumulate. The agent's memory is the wrong place: it is temporary by design. This is exactly why "just ask ChatGPT to do my books" falls apart past the first session, and why agentic accounting pairs the model with a real ledger.
Why does a ledger alone not keep books?
The mirror image is just as true. A ledger without an agent is just software. LedgerMCP ships no built-in AI: on its own it is a correct, rule-enforcing accounting engine that will faithfully store whatever it is told to store and do absolutely nothing on its own. It will not read your statement, will not decide that a charge is software and not meals, will not notice a missing rent payment. Someone or something has to drive it. For decades that driver was a human bookkeeper clicking through a UI. The shift is that the driver can now be an agent, which is why the two halves are designed to snap together.
How do the agent and server connect?
You bring your own agent and point it at the ledger. LedgerMCP runs as an accounting MCP server over streamable HTTP. Claude connects through connectors on claude.ai, Claude Desktop, or Claude Code, ChatGPT connects in developer mode, and any other MCP client connects with an account-level bearer key. The choice of brain is yours, and you can even switch brains while keeping the same books, because the state lives on the server, not in any one chat. The agent brings the reasoning; the server brings the ledger, the tools, and the memory. Put them together and you have a bookkeeper.
Quick answers
What is the difference between an AI agent and an MCP server?
The AI agent, such as Claude or ChatGPT, is the reasoning brain: it reads statements, decides where things belong, and calls tools. The MCP server is the hands and the memory: the tools it can call, the ledger that stores every entry, and the state that persists between sessions. The agent thinks, the server records.
Can an AI agent keep books without an MCP server?
Not durably. An agent with no ledger can talk about your finances, but it has nowhere to post a balanced entry and no memory that survives the chat. Close the window and the work is gone. Without a durable store, it is a conversation, not a set of books.
Does the MCP server do the bookkeeping by itself?
No. LedgerMCP ships no built-in AI. On its own it is accounting software with 60 tools and four database invariants, but nothing reads your statements or decides categories. It needs an agent to drive it. The server is the substrate; the agent is the bookkeeper.
Which AI agents work with the accounting MCP server?
Claude across claude.ai, Claude Desktop, and Claude Code, ChatGPT in developer mode, and any MCP client connected with a bearer key. You bring your own agent and connect it to the same ledger, so the choice of brain is yours.



