A

Actual Budget MCP

by henfrydls · io.github.henfrydls/actual-budget-mcp

An MCP server that connects Actual Budget to Claude, enabling users to manage budgets, transactions, and spending insights through natural language.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-henfrydls-actual-budget-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "actual-budget-mcp"
      ],
      "env": {
        "ACTUAL_SERVER_URL": "<VALUE>",
        "ACTUAL_PASSWORD": "<YOUR_VALUE>",
        "ACTUAL_SESSION_TOKEN": "<YOUR_VALUE>",
        "ACTUAL_BUDGET_ID": "<VALUE>",
        "ACTUAL_ENCRYPTION_PASSWORD": "<YOUR_VALUE>",
        "ACTUAL_BUDGET_IDS": "<VALUE>",
        "ACTUAL_ENCRYPTION_PASSWORDS": "<YOUR_VALUE>",
        "ACTUAL_BUDGET_WORKERS": "<VALUE>",
        "ACTUAL_WORKER_IDLE_MINUTES": "<VALUE>",
        "ACTUAL_WORKER_READY_SECONDS": "<VALUE>",
        "ACTUAL_READ_ONLY": "<VALUE>",
        "ACTUAL_TOOLSET": "<VALUE>",
        "ACTUAL_DATA_DIR": "<VALUE>",
        "ACTUAL_HTTP_TIMEOUT_MS": "<VALUE>",
        "ACTUAL_HTTP_PORT": "<VALUE>",
        "ACTUAL_HTTP_TOKEN": "<YOUR_VALUE>",
        "ACTUAL_HTTP_WRITE_TOKEN": "<YOUR_VALUE>",
        "ACTUAL_HTTP_HOST": "<VALUE>",
        "ACTUAL_HTTP_ALLOW_REMOTE": "<VALUE>",
        "ACTUAL_HTTP_ALLOWED_HOSTS": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-henfrydls-actual-budget-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "actual-budget-mcp"
      ],
      "env": {
        "ACTUAL_SERVER_URL": "<VALUE>",
        "ACTUAL_PASSWORD": "<YOUR_VALUE>",
        "ACTUAL_SESSION_TOKEN": "<YOUR_VALUE>",
        "ACTUAL_BUDGET_ID": "<VALUE>",
        "ACTUAL_ENCRYPTION_PASSWORD": "<YOUR_VALUE>",
        "ACTUAL_BUDGET_IDS": "<VALUE>",
        "ACTUAL_ENCRYPTION_PASSWORDS": "<YOUR_VALUE>",
        "ACTUAL_BUDGET_WORKERS": "<VALUE>",
        "ACTUAL_WORKER_IDLE_MINUTES": "<VALUE>",
        "ACTUAL_WORKER_READY_SECONDS": "<VALUE>",
        "ACTUAL_READ_ONLY": "<VALUE>",
        "ACTUAL_TOOLSET": "<VALUE>",
        "ACTUAL_DATA_DIR": "<VALUE>",
        "ACTUAL_HTTP_TIMEOUT_MS": "<VALUE>",
        "ACTUAL_HTTP_PORT": "<VALUE>",
        "ACTUAL_HTTP_TOKEN": "<YOUR_VALUE>",
        "ACTUAL_HTTP_WRITE_TOKEN": "<YOUR_VALUE>",
        "ACTUAL_HTTP_HOST": "<VALUE>",
        "ACTUAL_HTTP_ALLOW_REMOTE": "<VALUE>",
        "ACTUAL_HTTP_ALLOWED_HOSTS": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-henfrydls-actual-budget-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "actual-budget-mcp"
      ],
      "env": {
        "ACTUAL_SERVER_URL": "<VALUE>",
        "ACTUAL_PASSWORD": "<YOUR_VALUE>",
        "ACTUAL_SESSION_TOKEN": "<YOUR_VALUE>",
        "ACTUAL_BUDGET_ID": "<VALUE>",
        "ACTUAL_ENCRYPTION_PASSWORD": "<YOUR_VALUE>",
        "ACTUAL_BUDGET_IDS": "<VALUE>",
        "ACTUAL_ENCRYPTION_PASSWORDS": "<YOUR_VALUE>",
        "ACTUAL_BUDGET_WORKERS": "<VALUE>",
        "ACTUAL_WORKER_IDLE_MINUTES": "<VALUE>",
        "ACTUAL_WORKER_READY_SECONDS": "<VALUE>",
        "ACTUAL_READ_ONLY": "<VALUE>",
        "ACTUAL_TOOLSET": "<VALUE>",
        "ACTUAL_DATA_DIR": "<VALUE>",
        "ACTUAL_HTTP_TIMEOUT_MS": "<VALUE>",
        "ACTUAL_HTTP_PORT": "<VALUE>",
        "ACTUAL_HTTP_TOKEN": "<YOUR_VALUE>",
        "ACTUAL_HTTP_WRITE_TOKEN": "<YOUR_VALUE>",
        "ACTUAL_HTTP_HOST": "<VALUE>",
        "ACTUAL_HTTP_ALLOW_REMOTE": "<VALUE>",
        "ACTUAL_HTTP_ALLOWED_HOSTS": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-henfrydls-actual-budget-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "actual-budget-mcp"
      ],
      "env": {
        "ACTUAL_SERVER_URL": "<VALUE>",
        "ACTUAL_PASSWORD": "<YOUR_VALUE>",
        "ACTUAL_SESSION_TOKEN": "<YOUR_VALUE>",
        "ACTUAL_BUDGET_ID": "<VALUE>",
        "ACTUAL_ENCRYPTION_PASSWORD": "<YOUR_VALUE>",
        "ACTUAL_BUDGET_IDS": "<VALUE>",
        "ACTUAL_ENCRYPTION_PASSWORDS": "<YOUR_VALUE>",
        "ACTUAL_BUDGET_WORKERS": "<VALUE>",
        "ACTUAL_WORKER_IDLE_MINUTES": "<VALUE>",
        "ACTUAL_WORKER_READY_SECONDS": "<VALUE>",
        "ACTUAL_READ_ONLY": "<VALUE>",
        "ACTUAL_TOOLSET": "<VALUE>",
        "ACTUAL_DATA_DIR": "<VALUE>",
        "ACTUAL_HTTP_TIMEOUT_MS": "<VALUE>",
        "ACTUAL_HTTP_PORT": "<VALUE>",
        "ACTUAL_HTTP_TOKEN": "<YOUR_VALUE>",
        "ACTUAL_HTTP_WRITE_TOKEN": "<YOUR_VALUE>",
        "ACTUAL_HTTP_HOST": "<VALUE>",
        "ACTUAL_HTTP_ALLOW_REMOTE": "<VALUE>",
        "ACTUAL_HTTP_ALLOWED_HOSTS": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-henfrydls-actual-budget-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "actual-budget-mcp"
      ],
      "env": {
        "ACTUAL_SERVER_URL": "<VALUE>",
        "ACTUAL_PASSWORD": "<YOUR_VALUE>",
        "ACTUAL_SESSION_TOKEN": "<YOUR_VALUE>",
        "ACTUAL_BUDGET_ID": "<VALUE>",
        "ACTUAL_ENCRYPTION_PASSWORD": "<YOUR_VALUE>",
        "ACTUAL_BUDGET_IDS": "<VALUE>",
        "ACTUAL_ENCRYPTION_PASSWORDS": "<YOUR_VALUE>",
        "ACTUAL_BUDGET_WORKERS": "<VALUE>",
        "ACTUAL_WORKER_IDLE_MINUTES": "<VALUE>",
        "ACTUAL_WORKER_READY_SECONDS": "<VALUE>",
        "ACTUAL_READ_ONLY": "<VALUE>",
        "ACTUAL_TOOLSET": "<VALUE>",
        "ACTUAL_DATA_DIR": "<VALUE>",
        "ACTUAL_HTTP_TIMEOUT_MS": "<VALUE>",
        "ACTUAL_HTTP_PORT": "<VALUE>",
        "ACTUAL_HTTP_TOKEN": "<YOUR_VALUE>",
        "ACTUAL_HTTP_WRITE_TOKEN": "<YOUR_VALUE>",
        "ACTUAL_HTTP_HOST": "<VALUE>",
        "ACTUAL_HTTP_ALLOW_REMOTE": "<VALUE>",
        "ACTUAL_HTTP_ALLOWED_HOSTS": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-henfrydls-actual-budget-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "actual-budget-mcp"
      ],
      "env": {
        "ACTUAL_SERVER_URL": "<VALUE>",
        "ACTUAL_PASSWORD": "<YOUR_VALUE>",
        "ACTUAL_SESSION_TOKEN": "<YOUR_VALUE>",
        "ACTUAL_BUDGET_ID": "<VALUE>",
        "ACTUAL_ENCRYPTION_PASSWORD": "<YOUR_VALUE>",
        "ACTUAL_BUDGET_IDS": "<VALUE>",
        "ACTUAL_ENCRYPTION_PASSWORDS": "<YOUR_VALUE>",
        "ACTUAL_BUDGET_WORKERS": "<VALUE>",
        "ACTUAL_WORKER_IDLE_MINUTES": "<VALUE>",
        "ACTUAL_WORKER_READY_SECONDS": "<VALUE>",
        "ACTUAL_READ_ONLY": "<VALUE>",
        "ACTUAL_TOOLSET": "<VALUE>",
        "ACTUAL_DATA_DIR": "<VALUE>",
        "ACTUAL_HTTP_TIMEOUT_MS": "<VALUE>",
        "ACTUAL_HTTP_PORT": "<VALUE>",
        "ACTUAL_HTTP_TOKEN": "<YOUR_VALUE>",
        "ACTUAL_HTTP_WRITE_TOKEN": "<YOUR_VALUE>",
        "ACTUAL_HTTP_HOST": "<VALUE>",
        "ACTUAL_HTTP_ALLOW_REMOTE": "<VALUE>",
        "ACTUAL_HTTP_ALLOWED_HOSTS": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
ACTUAL_SERVER_URL Yes Your Actual Budget server URL (e.g., http://localhost:5006)
ACTUAL_PASSWORD secret Yes Server password (set in Actual Budget under Settings)
ACTUAL_SESSION_TOKEN secret No Session token for servers behind OIDC, which have no password. Use instead of ACTUAL_PASSWORD; if both are set, the token wins
ACTUAL_BUDGET_ID Yes Budget Sync ID (found in Settings > Show advanced settings)
ACTUAL_ENCRYPTION_PASSWORD secret No Only if your budget file is encrypted
ACTUAL_BUDGET_IDS No Every budget this server serves, comma separated, when it is more than one. Each tool then takes a budget_id, and each budget is opened in a process of its own
ACTUAL_ENCRYPTION_PASSWORDS secret No A JSON object of budget sync id to encryption password, for when more than one of the budgets is encrypted. Each worker is given its own and never the map
ACTUAL_BUDGET_WORKERS No How many budgets stay open at once. Defaults to 3. A fourth budget closes the one that went longest without a call
ACTUAL_WORKER_IDLE_MINUTES No How long an open budget with nothing to do stays open. Defaults to 15
ACTUAL_WORKER_READY_SECONDS No How long a call waits for a budget that is still opening before it answers that it is still opening. Defaults to 45
ACTUAL_READ_ONLY No Set to 1 to hide every write tool from the model, exposing only reads and analysis
ACTUAL_TOOLSET No Set to chat to offer the 18 everyday tools instead of all 44, which is 17.4 KiB of tool descriptions instead of 39.7 KiB on every connection. Defaults to full
ACTUAL_DATA_DIR No Cache directory (default: /tmp/actual-budget-mcp-data)
ACTUAL_HTTP_TIMEOUT_MS No How long to wait for your server to start replying, in milliseconds. Defaults to 60000; raise it if a GoCardless bank sync is being cut off
ACTUAL_HTTP_PORT No Serve MCP over HTTP on this port instead of stdio. Only for a server you run yourself and point clients at: a client that starts this package itself speaks stdio and cannot reach it once this is set
ACTUAL_HTTP_TOKEN secret No The credential for the read path, /mcp. Required once ACTUAL_HTTP_PORT is set, and at least 32 characters
ACTUAL_HTTP_WRITE_TOKEN secret No A second credential, for the write path, /mcp-write. Without it the server serves no write path at all
ACTUAL_HTTP_HOST No What to bind to. Defaults to 127.0.0.1; inside a container that is unreachable, so 0.0.0.0 together with ACTUAL_HTTP_ALLOW_REMOTE
ACTUAL_HTTP_ALLOW_REMOTE No Set to 1 to bind somewhere other than loopback. Nothing here terminates TLS, so put something in front of it that does
ACTUAL_HTTP_ALLOWED_HOSTS No Hostnames to accept in the Host header, comma separated and without ports, for a server that is not on loopback. Anything else is answered 403

Similar servers