AI assistants and bots (MCP)

Connect Claude, ChatGPT, Claude Code or n8n to your budget through Exp Planner’s MCP server: expenses from a chat, a receipt photo or a PDF, marked to review.

Exp Planner speaks MCP, the Model Context Protocol, so an AI assistant or a bot of your own can add transactions for you: “I paid 12.40 at Mercadona” in a chat, a receipt your script read, a payment your automation saw. Everything it adds is marked to review, and you check it in the app. For what an assistant can do in your budget, see Budgeting with Claude or ChatGPT.

What you can ask it

  • In a chat: “I paid 12.40 at Mercadona with my Revolut card.” One transaction, on that account, in Groceries.
  • A receipt: a photo of it. The assistant reads the shop, the total and the date, and adds it.
  • A statement your bank gives only as PDF, or a screenshot of your bank’s app: the assistant reads the rows and sends them all at once, up to 100, as one import you can undo. A CSV or Excel statement is still better imported in the app.
  • A trip or an evening out: “Add the dinner, 86 euros, and the taxi, 24.” Amounts in another currency are converted at the day’s rate.
  • Your own automation: an n8n flow or a script that forwards what your bank emails you.
  • Transfers: “moved 200 to savings” goes in as a transfer between your two accounts, both sides of it, not as spending. Between accounts in two currencies, the amount arriving comes from the day’s rate.
  • Bills paid: “paid the internet, 31.90” marks that bill paid with the amount really paid, so it isn’t counted twice. The bot finds the bill by its name among this month’s open ones; it sees their names and due dates, never the planned amounts.
  • Subscriptions: “find the subscriptions in this statement and add them as bills”, with Plan on. The assistant lists what it found, adds the ones you agree to, and you get a notification for each.
  • A new account: “add my Revolut card, 120.50 on it”, or “add a category for the dog”, with Set up on.
  • Can I afford it? “how much can I still spend this month?” or “how much is left for groceries?”, with Read summaries on.
  • In a shared budget: “paid 42 for groceries from my Revolut” goes into the shared budget as paid from your own card, and out of your Revolut in your personal budget. See In a shared budget.
  • Several budgets: one Claude connection reaches your personal budget and a shared one: “add 30 for dinner to Home”. See In a shared budget.
  • How does it work? “what does rollover do?” or “why is Safe to spend lower than my balance?”: any bot can look it up in this wiki with help and answer from it, with a link, whatever its switches.

Whatever it adds is marked to review, so you check it in the app before it counts as final.

Connect Claude or ChatGPT by signing in

claude.ai, Claude Desktop and ChatGPT connect with the address alone: you sign in to Exp Planner and allow it, with no token to copy. The address is https://mcp.expplanner.com, also in Settings → Bots and AI agents → Connect by signing in, and Get instructions for… there opens the same steps.

Claude (claude.ai and Claude Desktop)

Settings → Connectors → Add custom connector. Name it Exp Planner, paste the address, then Add and Connect. Exp Planner opens (sign in if you aren’t) and asks whether to connect Claude; Allow takes you back to Claude. A connector added on claude.ai is in Claude Desktop and Claude’s phone apps too.

ChatGPT

On chatgpt.com: Settings → Apps & Connectors → Advanced settings, turn on Developer mode, then Create. Name it Exp Planner, paste the address, choose OAuth for authentication, then sign in and allow it as above. Developer mode depends on your ChatGPT plan.

Claude Code

Claude Code can sign in too, instead of using a token:

claude mcp add --scope user --transport http exp-planner <address>

Then /mcp in Claude Code → exp-planner → Authenticate, and allow it in the browser.

What you allow

The page asks, for example, “Connect Claude to Exp Planner?”, and names the account it’s for and where it takes you back to. Below are the same switches as for a token: Add transactions is on; Plan, Set up and Read summaries are off, and you can turn them on right there; Read isn’t available yet. Then Allow, or Don’t allow. Allow it only if you started this from that app: anyone can make an app, and the name is the one it gave itself.

A connected app reaches Exp Planner only through this address: it can’t open the rest of your account, read your data some other way, or change your password or email. Settings → Bots and AI agents → Connected apps lists the apps you allowed, with the same switches as a token. Remove signs one out at once; connecting it again asks you again.

Make a token

In Exp Planner: Settings → Bots and AI agents → New token. Give it a name, to tell your bots apart, and copy what’s shown: the token, the address, and settings ready to paste. The token is shown only once. If you lose it, make another.

You can have up to five tokens and revoke any of them in the same place.

Connect your bot

Every MCP client needs the same two things: the address, https://mcp.expplanner.com, and the header Authorization: Bearer <token>. Below, where each client takes them. Put in what Settings shows: there, Get instructions for… opens the same steps with your address and token filled in, ready to copy. On screen the token is hidden but its last four characters; Copy takes the whole of it.

The connectors in claude.ai, Claude Desktop and ChatGPT sign in instead: see above.

Claude Code

In a terminal:

claude mcp add --scope user --transport http exp-planner <address> --header "Authorization: Bearer <token>"

--scope user makes it work in every folder; without it, only in the folder you ran it in. Don’t use --scope project: it puts the token in the project’s .mcp.json, which can end up in git.

Then claude mcp list shows exp-planner: ✔ Connected, and a new Claude Code session has its tools.

Cursor

In ~/.cursor/mcp.json (for every project) or .cursor/mcp.json in one project:

{
  "mcpServers": {
    "exp-planner": {
      "url": "<address>",
      "headers": { "Authorization": "Bearer <token>" }
    }
  }
}

Cursor’s settings then show it under MCP.

VS Code

In .vscode/mcp.json in a project, or in your user configuration (the command MCP: Open User Configuration):

{
  "servers": {
    "exp-planner": {
      "type": "http",
      "url": "<address>",
      "headers": { "Authorization": "Bearer <token>" }
    }
  }
}

Copilot Chat uses its tools in Agent mode.

Codex

In ~/.codex/config.toml. The Codex CLI, its IDE extension and the ChatGPT desktop app share this file, so one setup covers all three:

[mcp_servers.exp-planner]
url = "<address>"
http_headers = { "Authorization" = "Bearer <token>" }

Then codex mcp list shows it, and /mcp in Codex lists its tools. ChatGPT on the web doesn’t read this file.

n8n

Add an MCP Client Tool node to an AI Agent and set:

  • Endpoint: the address
  • Server Transport: HTTP Streamable
  • Authentication: Bearer Auth, with a new credential holding the token

Any other client

Add an MCP server of type HTTP (Streamable HTTP) with the address and the header Authorization: Bearer <token>.

Check it works

curl -s <address> -H "Authorization: Bearer <token>" -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

The answer lists the tools the token may use. With only Add transactions on, they’re list_accounts, list_categories, add_transaction, add_transactions and mark_bill_paid; Plan adds add_bill, Set up adds add_account and add_category, and Read summaries adds safe_to_spend and budget_by_category. Any token has list_budgets too, which names the budgets it reaches, and help, this wiki. A 401 means the token is wrong or revoked; after three of those, the address gets no answer for an hour.

Then ask your bot: “Add 12.40 EUR at Mercadona to groceries.”

What a bot can do

Each token, and each connected app, has five switches:

  • Add transactions (on): the bot sees the names, currencies and kinds of your accounts and categories, with no balances or amounts, and adds money spent or received, and transfers between your accounts, to them: one at a time or up to 100 at once, at most 200 an hour and 500 a day per token or connected app. Turn it off to pause the bot without revoking the token.
  • Plan (off): the bot adds bills and planned incomes: rent, a subscription, a salary. They count in your budget and Safe to spend from then on, with nothing to review, so it’s off until you turn it on; each one comes to your notifications, to check or delete. One with the name of a bill you have isn’t added again.
  • Set up (off): the bot adds accounts, with today’s balance in their own currency (for a credit card, what it owes), and categories, in a group by its name. Off until you turn it on, as they show in your balances and Safe to spend at once; each one comes to your notifications. One with the name of an account or category you have isn’t added again. Taxes stay in the app: they’re easy to describe subtly wrong.
  • Read summaries (off): the bot reads today’s Safe to spend (per day for the days left, and after credit cards) and this month’s budget by category, the numbers on your Overview. For a shared budget without an account of its own, it reads what’s left of its plan instead, as its Overview shows it. No transactions, payees, notes or balances. What it reads goes to your AI provider, so it’s off until you turn it on; Settings shows when it last read.
  • Read (not available yet): recent transactions. It’s shown, and can’t be turned on for now.

A bot can’t change or delete anything, and can’t see your other transactions; with Read summaries, it sees the totals on your Overview.

Whatever its switches, a bot can also read this wiki with help: the articles and their examples, in your language (English, Spanish, Ukrainian, Russian or Polish), with nothing of yours in them. Assistants that read the web find the same articles at expplanner.com/llms.txt.

Many at once

A bot can send up to 100 transactions in one go, say the receipts it collected this week. They go in as one import, named after the token (“From Claude · 48 transactions”): in the app, Import → Recent imports shows them together, and Undo takes all of them back at once. Sent again, the same list adds nothing it already added. A batch that doesn’t fit the limits is refused whole, and the bot is told how many more fit.

A bank statement is still better imported in the app: you see a preview, it matches what you’ve already added, and your rules sort it.

Good to know:

  • Which account: the one the bot picks, otherwise your first account on budget. An account whose Adding switch is off (Settings → Accounts → Visibility) isn’t listed to the bot, so nothing goes to it.
  • Currencies: an amount in another currency is converted at the day’s rate, like a purchase you add yourself.
  • Dates: today, or a day the bot gives, never in the future.
  • Limits: 200 transactions an hour and 500 a day per token or connected app, however they come.
  • Privacy: your bot runs with an AI provider you choose, outside Exp Planner, and that provider sees what you tell the bot.

In a shared budget

Shared budgets are opening to people step by step: see Shared budget. Each token and each connected app reaches the budgets you tick for it: your personal one, shared ones you’re in, or several at once, so one connection in Claude or ChatGPT is enough for all of them. You tick them on the page where you allow an app and when you make a token, and change them at any time under Settings → Bots and AI agents, in Budgets under each token or app.

When a bot reaches more than one budget, it names the budget each time it adds something, and asks you when it isn’t clear which one you mean: nothing goes in without one. Asked how much is left, it answers for each budget, or for the one you name. Where you can only view, it only reads summaries.

In a shared budget, what a bot adds is everyone’s there and reads “Added by Ana via Claude”, and its answers name the budget. It also sees your own accounts, marked as yours: spending you paid from one goes in as paid from your own account, in both budgets, one at a time. Once you leave the budget, its bots stop working there and go on in your other budgets; one that reached only that budget waits until you tick another.