Skip to main content
Glama
actual-mcp

actual-mcp

actual-mcp

CI License: MIT

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-server you 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

ACTUAL_SERVER_URL

✅

Your Actual sync server URL.

ACTUAL_SYNC_ID

✅

Sync ID of the budget to open.

ACTUAL_PASSWORD

—

Server password. Omit if the server has none.

ACTUAL_DATA_DIR

—

Where the SDK caches the budget. Defaults to /tmp/actual-mcp-data.

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 list_*, get_*

Never touch data.

🟡 mutating

all create_*, update_*, set_budget_*

Change data; run immediately.

🔴 guarded

all delete_*

Change data; refuse until confirm: true.

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: 75aa4f772b62

Only 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

list_category_groups

🟢

—

create_category_group

🟡

name

update_category_group

🟡

id, name

delete_category_group

🔴

id, confirm

list_categories

🟢

—

create_category

🟡

name, group_id

update_category

🟡

id, name?, group_id?, hidden?

delete_category

🔴

id, confirm

list_transactions

🟢

account_id, start_date?, end_date?

create_transaction

🟡

account_id, date, amount, payee_name?, category?, notes?

update_transaction

🟡

id, date?, amount?, payee_name?, category?, notes?, cleared?

delete_transaction

🔴

id, confirm

list_accounts

🟢

—

get_account_balance

🟢

account_id

create_account

🟡

name, offbudget?

update_account

🟡

id, name?, offbudget?

list_budget_months

🟢

—

get_budget_month

🟢

month (YYYY-MM)

set_budget_amount

🟡

month, category_id, amount

set_budget_carryover

🟡

month, category_id, enabled

list_schedules

🟢

—

create_schedule

🟡

account_id, amount, start_date, name?, frequency?, category_id?, payee_name?

update_schedule

🟡

id, + any schedule field

delete_schedule

🔴

id, confirm

list_payees

🟢

—

create_payee

🟡

name

update_payee

🟡

id, name?, category?

delete_payee

🔴

id, confirm

Troubleshooting

  • "actual-mcp is not configured" — ACTUAL_SERVER_URL or ACTUAL_SYNC_ID is missing from the client's env block.

  • 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 shutdown

Develop

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 tools
create_accountC
Destructive

Create an account (optionally off-budget). [mutating]

Inputs: name (required), offbudget.

create_categoryB
Destructive

Create a category inside a group. [mutating]

Inputs: name (required), group_id (required).

create_category_groupC
Destructive

Create a new category group. [mutating]

Inputs: name (required).

create_payeeC
Destructive

Create a payee. [mutating]

Inputs: name (required).

create_scheduleC
Destructive

Create a schedule (recurring planned transaction). [mutating]

Inputs: amount (required), account_id (required), start_date (required), name, +3 more.

create_transactionB
Destructive

Add a transaction to an account. [mutating]

Inputs: date (required), amount (required), account_id (required), notes, +2 more.

delete_categoryA
Destructive

Delete a category. Destructive — needs confirmation. [destructive · requires confirm:true]

Inputs: id (required), confirm.

delete_category_groupA
Destructive

Delete a category group. Destructive — needs confirmation. [destructive · requires confirm:true]

Inputs: id (required), confirm.

delete_payeeA
Destructive

Delete a payee. Destructive — needs confirmation. [destructive · requires confirm:true]

Inputs: id (required), confirm.

delete_scheduleA
Destructive

Delete a schedule. Destructive — needs confirmation. [destructive · requires confirm:true]

Inputs: id (required), confirm.

delete_transactionA
Destructive

Delete a transaction. Destructive — needs confirmation. [destructive · requires confirm:true]

Inputs: id (required), confirm.

get_account_balanceA
Read-only

Get the current balance of an account (integer minor units). [read-only]

Inputs: account_id (required).

get_budget_monthA
Read-only

Get the full budget for one month (YYYY-MM). [read-only]

Inputs: month (required).

list_accountsA
Read-only

List all accounts. [read-only]

Inputs: no named parameters.

list_budget_monthsA
Read-only

List every month that has budget data. [read-only]

Inputs: no named parameters.

list_categoriesA
Read-only

List all categories. [read-only]

Inputs: no named parameters.

list_category_groupsA
Read-only

List all category groups (each with its categories). [read-only]

Inputs: no named parameters.

list_payeesB
Read-only

List all payees. [read-only]

Inputs: no named parameters.

list_schedulesA
Read-only

List all schedules. [read-only]

Inputs: no named parameters.

list_transactionsB
Read-only

List transactions for an account, optionally filtered by date range. [read-only]

Inputs: account_id (required), end_date, start_date.

set_budget_amountC
Destructive

Set the budgeted amount for a category in a month. [mutating]

Inputs: month (required), amount (required), category_id (required).

set_budget_carryoverC
Destructive

Enable or disable carryover for a category in a month. [mutating]

Inputs: month (required), enabled (required), category_id (required).

update_accountB
Destructive

Update an account (name or off-budget flag). [mutating]

Inputs: id (required), name, offbudget.

update_categoryB
Destructive

Update a category (name, group, or hidden flag). [mutating]

Inputs: id (required), name, hidden, group_id.

update_category_groupB
Destructive

Rename a category group. [mutating]

Inputs: id (required), name (required).

update_payeeC
Destructive

Update a payee. [mutating]

Inputs: id (required), name, category.

update_scheduleC
Destructive

Update a schedule. [mutating]

Inputs: id (required), name, amount, frequency, +4 more.

update_transactionC
Destructive

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

    B3.3/5.0

    Scored across 28 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count4/5

    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).

    Completeness4/5

    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

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables 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
      -
    • A
      license
      B
      quality
      A
      maintenance
      Enables 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.
      45
      950 npm
      53
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Bridges AI/LLM applications to Actual Budget, exposing budget data as MCP tools for account listing, transactions, and budget balances.
      4
      -
    • A
      license
      B
      quality
      B
      maintenance
      Enables LLMs to interact with a self-hosted Actual Budget instance, providing financial data and management tools with correct financial semantics and no cents math.
      14
      3
      MIT