actual-mcp
Provides tools for interacting with an Actual Budget instance, enabling management of accounts, transactions, categories, budget months, schedules, payees, and category groups.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@actual-mcp List my accounts and their balances."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
actual-mcp
An MCP server for Actual Budget — with a per-tool safety layer.
Actual has no HTTP or MCP surface of its own; it ships a Node SDK. This wraps that SDK as an MCP server so any agent — Claude Desktop, Cursor, your own — can read and edit your budget in natural language.
The difference from a plain wrapper: every tool carries its own risk. A read is a read. A mutation says so. And a delete can never fire on the agent's say-so — it returns a confirmation token and refuses until you call it again with confirm: true. The model can plan freely; it cannot quietly wipe a category because a prompt drifted.
Giving an agent write access to your finances is a liability unless the tools themselves carry the seatbelt. The safest place to enforce a rule is the tool, not the prompt.
Requirements
Node.js 20+
A running, self-hosted Actual sync server (the
actual-serveryou sync your budget to — not the desktop app). You need its URL, its password (if set), and the Sync ID of the budget you want to expose.
Related MCP server: YNAB MCP Server
Quick start
1. Find your Sync ID
In Actual: Settings → Show advanced settings → Sync ID. It's a UUID like a1b2c3d4-....
2. Add the server to your MCP client
Edit claude_desktop_config.json (Claude → Settings → Developer → Edit Config):
{
"mcpServers": {
"actual": {
"command": "npx",
"args": ["-y", "actual-mcp"],
"env": {
"ACTUAL_SERVER_URL": "https://actual.example.com",
"ACTUAL_PASSWORD": "your-server-password",
"ACTUAL_SYNC_ID": "your-sync-id"
}
}
}
}Restart Claude Desktop. You'll see the tools appear under the 🔌 icon.
Any stdio MCP client works — point it at npx -y actual-mcp with the same four env vars. In Cursor: Settings → MCP → Add new and use the same command/args/env shape.
3. Ask it things
What did I spend on groceries last month?
List my accounts and their balances.
Move R$200 from Dining to Savings for July.
Add a R$54.90 transaction to Nubank, payee "Uber", category Transport, dated today.Configuration
Env var | Required | What |
| ✅ | Your Actual sync server URL. |
| ✅ | Sync ID of the budget to open. |
| — | Server password. Omit if the server has none. |
| — | Where the SDK caches the budget. Defaults to |
Amounts are integer minor units, matching the Actual SDK — R$200.00 is
20000, and outflows are negative (-5490= R$54.90 spent).
The safety model
Level | Tools | Behaviour |
🟢 read-only | all | Never touch data. |
🟡 mutating | all | Change data; run immediately. |
🔴 guarded | all | Change data; refuse until |
Every tool's level is exposed three ways so the seatbelt is visible before a call: in the tool description, in MCP readOnlyHint / destructiveHint annotations, and — for guarded tools — as a hard refusal at call time.
What a guarded call looks like. The agent tries to delete, and gets back a refusal with the exact arguments and a confirmation token:
// → delete_category { "id": "cat-abc-123" }
// ← (isError)
⚠️ "delete_category" is a destructive action and needs confirmation.
It will run with:
{ "id": "cat-abc-123" }
To proceed, call "delete_category" again with "confirm": true.
Confirmation token: 75aa4f772b62Only an explicit re-invocation clears it:
// → delete_category { "id": "cat-abc-123", "confirm": true }
// ← { "ok": true }The human reading the transcript sees precisely what "yes" authorized.
Tools (28)
Tool | Level | Args |
| 🟢 | — |
| 🟡 |
|
| 🟡 |
|
| 🔴 |
|
| 🟢 | — |
| 🟡 |
|
| 🟡 |
|
| 🔴 |
|
| 🟢 |
|
| 🟡 |
|
| 🟡 |
|
| 🔴 |
|
| 🟢 | — |
| 🟢 |
|
| 🟡 |
|
| 🟡 |
|
| 🟢 | — |
| 🟢 |
|
| 🟡 |
|
| 🟡 |
|
| 🟢 | — |
| 🟡 |
|
| 🟡 |
|
| 🔴 |
|
| 🟢 | — |
| 🟡 |
|
| 🟡 |
|
| 🔴 |
|
Troubleshooting
"actual-mcp is not configured" —
ACTUAL_SERVER_URLorACTUAL_SYNC_IDis missing from the client'senvblock.Can't connect / auth fails — check the URL is the sync server (not the desktop app) and the password matches. Test it by logging into that URL in a browser.
Wrong or empty data — the Sync ID points at a different budget file. Re-copy it from Settings → Show advanced settings → Sync ID.
Tools don't appear in Claude Desktop — fully quit and reopen; check the config file is valid JSON.
Verify your setup
Before wiring it into an agent, confirm the server can reach your Actual instance. This prints only counts — never names or amounts:
ACTUAL_SERVER_URL=https://actual.example.com \
ACTUAL_SYNC_ID=your-sync-id \
ACTUAL_PASSWORD=your-password \
npm run smoke✓ connected to Actual
accounts: 1
categories: 63
category groups: 17
budget months: 21
✓ clean shutdownDevelop
npm install
npm run build
npm run inspect # @modelcontextprotocol/inspector against the built server
npm run smoke # connection check (counts only)License
MIT © Mauricio Juba · TYPE:ZERO
Not affiliated with Actual Budget. Built on the official @actual-app/api.
Available Tools
28 toolscreate_accountCDestructive
Create an account (optionally off-budget). [mutating]
Inputs: name (required), offbudget.
create_categoryBDestructive
Create a category inside a group. [mutating]
Inputs: name (required), group_id (required).
create_category_groupCDestructive
Create a new category group. [mutating]
Inputs: name (required).
create_payeeCDestructive
Create a payee. [mutating]
Inputs: name (required).
create_scheduleCDestructive
Create a schedule (recurring planned transaction). [mutating]
Inputs: amount (required), account_id (required), start_date (required), name, +3 more.
create_transactionBDestructive
Add a transaction to an account. [mutating]
Inputs: date (required), amount (required), account_id (required), notes, +2 more.
delete_categoryADestructive
Delete a category. Destructive — needs confirmation. [destructive · requires confirm:true]
Inputs: id (required), confirm.
delete_category_groupADestructive
Delete a category group. Destructive — needs confirmation. [destructive · requires confirm:true]
Inputs: id (required), confirm.
delete_payeeADestructive
Delete a payee. Destructive — needs confirmation. [destructive · requires confirm:true]
Inputs: id (required), confirm.
delete_scheduleADestructive
Delete a schedule. Destructive — needs confirmation. [destructive · requires confirm:true]
Inputs: id (required), confirm.
delete_transactionADestructive
Delete a transaction. Destructive — needs confirmation. [destructive · requires confirm:true]
Inputs: id (required), confirm.
get_account_balanceARead-only
Get the current balance of an account (integer minor units). [read-only]
Inputs: account_id (required).
get_budget_monthARead-only
Get the full budget for one month (YYYY-MM). [read-only]
Inputs: month (required).
list_accountsARead-only
List all accounts. [read-only]
Inputs: no named parameters.
list_budget_monthsARead-only
List every month that has budget data. [read-only]
Inputs: no named parameters.
list_categoriesARead-only
List all categories. [read-only]
Inputs: no named parameters.
list_category_groupsARead-only
List all category groups (each with its categories). [read-only]
Inputs: no named parameters.
list_payeesBRead-only
List all payees. [read-only]
Inputs: no named parameters.
list_schedulesARead-only
List all schedules. [read-only]
Inputs: no named parameters.
list_transactionsBRead-only
List transactions for an account, optionally filtered by date range. [read-only]
Inputs: account_id (required), end_date, start_date.
set_budget_amountCDestructive
Set the budgeted amount for a category in a month. [mutating]
Inputs: month (required), amount (required), category_id (required).
set_budget_carryoverCDestructive
Enable or disable carryover for a category in a month. [mutating]
Inputs: month (required), enabled (required), category_id (required).
update_accountBDestructive
Update an account (name or off-budget flag). [mutating]
Inputs: id (required), name, offbudget.
update_categoryBDestructive
Update a category (name, group, or hidden flag). [mutating]
Inputs: id (required), name, hidden, group_id.
update_category_groupBDestructive
Rename a category group. [mutating]
Inputs: id (required), name (required).
update_payeeCDestructive
Update a payee. [mutating]
Inputs: id (required), name, category.
update_scheduleCDestructive
Update a schedule. [mutating]
Inputs: id (required), name, amount, frequency, +4 more.
update_transactionCDestructive
Update fields on a transaction. [mutating]
Inputs: id (required), date, notes, amount, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 28 tools
Each tool targets a distinct entity and action (e.g., account, category, payee, schedule, transaction, budget month). There is no overlap or ambiguity; an agent can clearly differentiate between tools.
All tool names follow a strict verb_noun pattern: create_, delete_, get_, list_, set_, update_. The naming is uniform and predictable throughout the entire set.
With 28 tools, the surface is comprehensive for a personal finance manager. While slightly above the typical 3-15 range, the number is justified by the domain's natural complexity (accounts, categories, payees, schedules, transactions, budgets).
The tool set provides full CRUD for core entities (accounts, categories, payees, schedules, transactions) plus budget operations (set amount, carryover, get month). Minor gaps exist (e.g., no import or reporting tools), but the essential lifecycle is well-covered.
Maintenance
Related MCP Connectors
The budget app your AI agent can use. Check budgets and log spending, with no bank logins.
Agentic workflow budget approvals with usage receipts.
Log, query, and edit expenses, budgets, and accounts in Manilo (formerly Ledgy) from any MCP-compatible AI assistant.
Log, query, and edit expenses, budgets, and accounts in Ledgy from any MCP-compatible AI assistant.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables AI assistants to interact with Actual Budget for personal finance management through natural language, supporting transactions, account balances, budget tracking, spending analysis, and payment searches.1-
- AlicenseBqualityAmaintenanceEnables AI assistants to interact with YNAB budgets, performing read-only queries by default and optional write operations like creating transactions and managing categories through natural language.45950 npm53MIT
- FlicenseAqualityDmaintenanceBridges AI/LLM applications to Actual Budget, exposing budget data as MCP tools for account listing, transactions, and budget balances.4-
- AlicenseBqualityBmaintenanceEnables LLMs to interact with a self-hosted Actual Budget instance, providing financial data and management tools with correct financial semantics and no cents math.143MIT