MCP Actual
Click on "Install 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., "@MCP Actuallist all accounts with 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.
MCP Actual
An MCP server for Actual Budget. It
connects to your Actual sync server, opens one budget file, and exposes it
to MCP clients over streamable HTTP (/mcp) or stdio.
Tools
Read-only tools are always served. Tools marked ✏️ modify the budget and are
served only when ACTUAL_ENABLE_WRITES is on (the default) — when it is off
they are not advertised at all.
Accounts & context
Tool | Description | |
| Every account with its current balance, plus on-budget and overall totals. | |
| Categories with their groups. Most budgeting and rule work starts here. | |
| Exact-name lookup for accounts, categories, payees, and schedules. | |
| Scheduled (recurring) transactions and their next due dates. | |
| Tags available to rules that match note tags. | |
| Read the note attached to any entity. | |
| Pull the latest changes from the Actual server. | |
| ✏️ | Replace an entity's note. |
| ✏️ | Fetch new transactions from linked banks. |
Transactions
Tool | Description | |
| Cross-account search by date, account, payee, category, notes, amount, and cleared state. | |
| Every transaction in one account between two dates, uncapped. | |
| ✏️ | Change a transaction's category, payee, notes, cleared flag, date, or amount. |
Payees
Tool | Description | |
| Payees with transaction counts and last-used dates. | |
| Cluster near-identical payee names into merge candidates. Suggests only. | |
| ✏️ | Create a payee. |
| ✏️ | Rename a payee. |
| ✏️ | Merge payees into a target. Cannot be undone. |
Rules
Tool | Description | |
| The exact rule format: fields, legal operators, and examples. Call before authoring a rule. | |
| All rules, or only those for one payee. | |
| ✏️ | Create a rule from conditions and actions. |
| ✏️ | Replace a rule wholesale. |
| What the rules would change on real transactions, saving nothing. Reports the whole rule set, not one rule. | |
| ✏️ | Apply actions to an explicit list of transaction ids (max 500) and save. |
Budgets
Tool | Description | |
| Every month the budget file covers. | |
| One month's totals and per-category budgeted/spent/balance. | |
| ✏️ | Set a category's budgeted amount for a month. |
| ✏️ | Roll a category's balance into the next month, or stop. |
| ✏️ | Hold surplus back for next month. |
| ✏️ | Release a held amount. |
| Groups with their ids and category counts — the only way to see an empty group. | |
| ✏️ | Create a category in a group. |
| ✏️ | Rename, move, or hide a category. |
| ✏️ | Create an empty group to file categories under. |
| ✏️ | Rename a group, or hide/unhide it and everything in it. |
There are no delete tools — see TODO_IDEAS.md. All amounts are
integer cents (amount), with a decimal sibling (amountDecimal) for display;
tools accept integers only.
Example list_accounts result:
{
"accounts": [
{
"id": "729cb...",
"name": "Checking",
"amount": 123456,
"amountDecimal": 1234.56,
"offBudget": false,
"closed": false
}
],
"onBudgetTotal": 123456,
"total": 123456
}Totals cover open (non-closed) accounts; onBudgetTotal excludes off-budget
tracking accounts. The budget is synced with the server before every read.
Related MCP server: actual-mcp
Prompts
The server exposes MCP prompts, so a client can pull a vetted workflow instead
of you writing one. Start with explore_budget.
Prompt | Arguments | |
|
| What the budget holds and which tool answers what. The orientation prompt. |
|
| Triage uncategorized spending by payee, propose a category for each, apply what you approve. |
|
| Group duplicate merchant names ("AMZN Mktp US*2H4" vs "Amazon"), review, merge on confirmation. |
|
| Apply a rule to transactions that already exist: author it, preview what changes, confirm, then apply. |
Every argument is optional — the prompt asks rather than guessing — and the
prompts are available whether or not writes are enabled. With
ACTUAL_ENABLE_WRITES off they render a read-only variant that stops after the
analysis instead of vanishing, so the agent is told writing is unavailable
rather than left to improvise.
Prefer these over driving the sharp tools yourself: apply_rule_actions applies
actions unconditionally and merge_payees cannot be undone, and the prompts are
what enforce previewing and confirming first.
What you need before you start
You need three things, and nothing else. There is no API key and no username — an Actual sync server authenticates with a single password, and the budget is selected by its Sync ID.
A running Actual sync server and its URL, e.g.
https://budget.example.comorhttp://192.168.1.50:5006— the same URL you open the Actual web UI at.The server password — what you type on the Actual login screen.
The budget's Sync ID — open Actual → Settings → Advanced settings → "Sync ID". It is a UUID like
a1b2c3d4-….. This is not the budget's display name and not theMy-Finances-xxxxfolder name.
Plus Node.js ≥ 22.18, or Docker.
Configuration
All configuration is environment variables — copy .env.example to .env and
fill in the three required values. docker compose reads that same .env.
Variable | Required | Default | What to put in it |
| ✅ | — | Base URL of the Actual sync server, scheme included, no trailing path |
| ✅ | — | The sync server's login password |
| ✅ | — | Actual → Settings → Advanced settings → "Sync ID" |
| — | Only if the budget has end-to-end encryption enabled | |
| ✅* | — | Bearer token clients must send to |
| — |
| |
|
| Deadline for one Actual operation; bank sync gets its own, longer one | |
|
|
| |
|
| Where the downloaded budget is cached | |
|
| HTTP port |
Missing or malformed values are reported at startup with every offending variable named at once.
Pointing at an Actual server that also runs in Docker: use its service name (
http://actual_server:5006) and put both on the same Docker network. Inside this container,localhostis this container, not your host.
Running
Local
npm install
cp .env.example .env # fill in your server URL, password, and sync id
npm run build
npm start # HTTP server on :3000, MCP at /mcpDocker
cp .env.example .env # fill in ACTUAL_SERVER_URL, ACTUAL_PASSWORD, ACTUAL_SYNC_ID
docker compose up -d
docker compose logs -f # confirm it opened the budgetCompose refuses to start with a message naming any required variable you left
unset. ./data is mounted at /data so the downloaded budget survives restarts.
Without compose, the same three variables must be passed explicitly:
docker run -d --name mcp-actual -p 3000:3000 \
-v "$PWD/data:/data" \
-e ACTUAL_SERVER_URL=https://budget.example.com \
-e ACTUAL_PASSWORD='your-actual-password' \
-e ACTUAL_SYNC_ID=00000000-0000-0000-0000-000000000000 \
-e MCP_ACTUAL_TOKEN="$(openssl rand -hex 32)" \
mcp-actualPublished images: ghcr.io/<owner>/mcp-actual and Docker Hub
<dockerhub-user>/mcp-actual, tagged latest and by semver.
Connecting a client
Streamable HTTP — point the client at http://<host>:3000/mcp, sending
Authorization: Bearer $MCP_ACTUAL_TOKEN if a token is configured.
stdio — for local clients such as Claude Code:
{
"mcpServers": {
"actual": {
"command": "node",
"args": ["/path/to/mcp-actual/dist/stdio.js"],
"env": {
"ACTUAL_SERVER_URL": "https://budget.example.com",
"ACTUAL_PASSWORD": "…",
"ACTUAL_SYNC_ID": "…",
"DATA_DIR": "/path/to/mcp-actual/data"
}
}
}
}Or, after npm link, use the mcp-actual-stdio binary.
GET /api/status is an unauthenticated liveness probe (name, version, and the
configured Actual server URL) used by the Docker healthcheck.
Security notes
The server holds your Actual password and reads your full financial data. It refuses to start without
MCP_ACTUAL_TOKEN, unless you setSECURE_LOCAL_NET=trueto say an unauthenticated server is what you intended. An unset variable looks exactly like a misspelled one, so the old behaviour — start anyway and warn — turned a single typo into an open server.Writes are on by default. An agent connected to this server can change categories, rename and merge payees, create rules, and move budgeted money. Combined with
SECURE_LOCAL_NET=true, anyone who can reach the port can do the same — the server warns loudly at startup when it detects that combination. SetACTUAL_ENABLE_WRITES=falsefor a read-only deployment.merge_payeescannot be undone. There are no delete tools at all.DATA_DIRcontains a plaintext SQLite copy of the budget. Treat it as sensitive; do not commit it (data/is gitignored).
Development
npm run dev # watch mode, .ts run directly by Node
npm run check # biome + tsc
npm test # vitestSee AGENTS.md for architecture and conventions.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceA Model Context Protocol (MCP) server for interacting with YNAB (You Need A Budget). Provides tools for accessing budget data through MCP-enabled clients like Claude Desktop.Last updated4MIT
- Alicense-qualityBmaintenanceMCP server for integrating Actual Budget with Claude and other LLM assistants.Last updated541188TypeScriptMIT
- AlicenseAqualityDmaintenanceA minimal and auditable MCP server that enables local AI assistants to read and manage YNAB budget data. It supports operations like listing accounts, tracking transactions, and moving money between categories while maintaining user privacy.Last updated9MIT
- Alicense-qualityCmaintenanceRead-only MCP server for YNAB that provides tools for budgets, accounts, categories, transactions, and financial summaries via HTTP or stdio.Last updated1MIT
Related MCP Connectors
MCP server for interacting with the Supabase platform
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Query SEC EDGAR filings, XBRL financials, and company data through MCP. STDIO & Streamable HTTP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cubicecho/mcp-actual'
If you have feedback or need assistance with the MCP directory API, please join our Discord server