freshcrate
Skin:/
Home > MCP Servers > actual-mcp

actual-mcp

Model Context Protocol for Actual Budget API

Why this rank:Strong adoptionRecent releaseHealthy release cadence

Description

Model Context Protocol for Actual Budget API

README

Actual Budget MCP Server

MCP server for integrating Actual Budget with Claude and other LLM assistants.

Overview

The Actual Budget MCP Server allows you to interact with your personal financial data from Actual Budget using natural language through LLMs. It exposes your accounts, transactions, and financial metrics through the Model Context Protocol (MCP).

Features

Resources

  • Account Listings - Browse all your accounts with their balances
  • Account Details - View detailed information about specific accounts
  • Transaction History - Access transaction data with complete details

Tools

Transaction & Account Management

  • get-transactions - Retrieve and filter transactions by account, date, amount, category, or payee
  • create-transaction - Create a new transaction in an account with optional category, payee, and notes
  • update-transaction - Update an existing transaction with new category, payee, notes, or amount
  • get-accounts - Retrieve a list of all accounts with their current balance and ID
  • balance-history - View account balance changes over time

Reporting & Analytics

  • spending-by-category - Generate spending breakdowns categorized by type
  • monthly-summary - Get monthly income, expenses, and savings metrics

Categories

  • get-grouped-categories - Retrieve a list of all category groups with their categories
  • create-category - Create a new category within a category group
  • update-category - Update an existing category's name or group
  • delete-category - Delete a category
  • create-category-group - Create a new category group
  • update-category-group - Update a category group's name
  • delete-category-group - Delete a category group

Payees

  • get-payees - Retrieve a list of all payees with their details
  • create-payee - Create a new payee
  • update-payee - Update an existing payee's details
  • delete-payee - Delete a payee

Rules

  • get-rules - Retrieve a list of all transaction rules
  • create-rule - Create a new transaction rule with conditions and actions
  • update-rule - Update an existing transaction rule
  • delete-rule - Delete a transaction rule

Prompts

  • financial-insights - Generate insights and recommendations based on your financial data
  • budget-review - Analyze your budget compliance and suggest adjustments

Installation

Prerequisites

Remote access

Pull the latest docker image:

docker pull sstefanov/actual-mcp:latest

Local setup

  1. Clone the repository:
git clone https://github.com/s-stefanov/actual-mcp.git
cd actual-mcp
  1. Install dependencies:
npm install
  1. Build the server:
npm run build
  1. Build the local docker image (optional):
docker build -t <local-image-name> .
  1. Configure environment variables (optional):
# Path to your Actual Budget data directory (default: ~/.actual)
export ACTUAL_DATA_DIR="/path/to/your/actual/data"

# If using a remote Actual server
export ACTUAL_SERVER_URL="https://your-actual-server.com"
export ACTUAL_PASSWORD="your-password"

# Specific budget to use (optional)
export ACTUAL_BUDGET_SYNC_ID="your-budget-id"

Optional: separate encryption budget password

If your Actual setup requires a different password to unlock the local/encrypted budget data than the server authentication password, you can set ACTUAL_BUDGET_ENCRYPTION_PASSWORD in addition to ACTUAL_PASSWORD.

# If server auth and encryption/unlock use different passwords
export ACTUAL_BUDGET_ENCRYPTION_PASSWORD="your-encryption-password"

Usage with Claude Desktop

To use this server with Claude Desktop, add it to your Claude configuration:

On MacOS:

code ~/Library/Application\ Support/Claude/claude_desktop_config.json

On Windows:

code %APPDATA%\Claude\claude_desktop_config.json

Add the following to your configuration...

a. Using Node.js (npx version):

{
  "mcpServers": {
    "actualBudget": {
      "command": "npx",
      "args": ["-y", "actual-mcp", "--enable-write"],
      "env": {
        "ACTUAL_DATA_DIR": "path/to/your/data",
        "ACTUAL_PASSWORD": "your-password",
        "ACTUAL_SERVER_URL": "http://your-actual-server.com",
        "ACTUAL_BUDGET_SYNC_ID": "your-budget-id"
      }
    }
  }
}

### a. Using Node.js (local only):

```json
{
  "mcpServers": {
    "actualBudget": {
      "command": "node",
      "args": ["/path/to/your/clone/build/index.js", "--enable-write"],
      "env": {
        "ACTUAL_DATA_DIR": "path/to/your/data",
        "ACTUAL_PASSWORD": "your-password",
        "ACTUAL_SERVER_URL": "http://your-actual-server.com",
        "ACTUAL_BUDGET_SYNC_ID": "your-budget-id"
      }
    }
  }
}

b. Using Docker (local or remote images):

{
  "mcpServers": {
    "actualBudget": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-v",
        "/path/to/your/data:/data",
        "-e",
        "ACTUAL_PASSWORD=your-password",
        "-e",
        "ACTUAL_SERVER_URL=https://your-actual-server.com",
        "-e",
        "ACTUAL_BUDGET_SYNC_ID=your-budget-id",
        "sstefanov/actual-mcp:latest",
        "--enable-write"
      ]
    }
  }
}

After saving the configuration, restart Claude Desktop.

💡 ACTUAL_DATA_DIR is optional if you're using ACTUAL_SERVER_URL.

💡 Use --enable-write to enable write-access tools.

Running an SSE Server

To expose the server over a port using Docker:

docker run -i --rm \
  -p 3000:3000 \
  -v "/path/to/your/data:/data" \
  -e ACTUAL_PASSWORD="your-password" \
  -e ACTUAL_SERVER_URL="http://your-actual-server.com" \
  -e ACTUAL_BUDGET_SYNC_ID="your-budget-id" \
  -e BEARER_TOKEN="your-bearer-token" \
  sstefanov/actual-mcp:latest \
  --sse --enable-write --enable-bearer

⚠️ Important: When using --enable-bearer, the BEARER_TOKEN environment variable must be set.
🔒 This is highly recommended if you're exposing your server via a public URL.

Example Queries

Once connected, you can ask Claude questions like:

  • "What's my current account balance?"
  • "Show me my spending by category last month"
  • "How much did I spend on groceries in January?"
  • "What's my savings rate over the past 3 months?"
  • "Analyze my budget and suggest areas to improve"

Usage with Codex CLI

Example Codex configuration:

In ~/.codex/config.toml:

[mcp_servers.actual-budget]
url = "http://localhost:3000"

Point Codex at the same port you pass to npm start -- --sse --port <PORT>.

Development

For development with auto-rebuild:

npm run watch

Testing the connection to Actual

To verify the server can connect to your Actual Budget data:

node build/index.js --test-resources

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. You can use the MCP Inspector:

npx @modelcontextprotocol/inspector node build/index.js

Project Structure

  • index.ts - Main server implementation
  • types.ts - Type definitions for API responses and parameters
  • prompts.ts - Prompt templates for LLM interactions
  • utils.ts - Helper functions for date formatting and more

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Release History

VersionChangesUrgencyDate
v1.11.3## [1.11.3](https://github.com/s-stefanov/actual-mcp/compare/v1.11.2...v1.11.3) (2026-06-02) ### Bug Fixes * **deps:** update dependency zod-to-json-schema to v3.25.2 ([#155](https://github.com/s-stefanov/actual-mcp/issues/155)) ([f4a3e90](https://github.com/s-stefanov/actual-mcp/commit/f4a3e90666605ce95fef3c392e8f459e695c0ab4)) * prevent infinite recursion in streamableTransport.onclose ([#171](https://github.com/s-stefanov/actual-mcp/issues/171)) ([19d94ad](https://github.com/s-stefanov/actHigh6/2/2026
v1.11.2## [1.11.2](https://github.com/s-stefanov/actual-mcp/compare/v1.11.1...v1.11.2) (2026-04-03) ### Bug Fixes * **deps:** update dependency zod-to-json-schema to v3.25.2 ([#144](https://github.com/s-stefanov/actual-mcp/issues/144)) ([fb62f91](https://github.com/s-stefanov/actual-mcp/commit/fb62f91857a3ab42fc488f4ddf4198389b61788d)) * Handling concurrent SSE connections ([#137](https://github.com/s-stefanov/actual-mcp/issues/137)) ([8e9927a](https://github.com/s-stefanov/actual-mcp/commit/8e9927aHigh4/10/2026
v1.11.1## [1.11.1](https://github.com/s-stefanov/actual-mcp/compare/v1.11.0...v1.11.1) (2026-03-09) ### Bug Fixes * create counterpart transaction for transfers by enabling runTransfers ([#139](https://github.com/s-stefanov/actual-mcp/issues/139)) ([8a1661b](https://github.com/s-stefanov/actual-mcp/commit/8a1661b31dc146bc21a24ebc5740e9b44fa496d2))Low3/12/2026
v1.11.0## [1.11.0](https://github.com/s-stefanov/actual-mcp/compare/v1.10.0...v1.11.0) (2026-03-03) ### Features * update mcp to latest and zod to 4 ([#127](https://github.com/s-stefanov/actual-mcp/issues/127)) ([1472ef2](https://github.com/s-stefanov/actual-mcp/commit/1472ef2499599833294d00cd3718ac222a7f5eaa))Low3/3/2026
v1.10.0## [1.10.0](https://github.com/s-stefanov/actual-mcp/compare/v1.9.0...v1.10.0) (2026-03-03) ### Features * multibuild for arm and amd ([#126](https://github.com/s-stefanov/actual-mcp/issues/126)) ([63b0941](https://github.com/s-stefanov/actual-mcp/commit/63b0941923b73ddd52581badd8adbdfbd46d3da7)) * Stabilize API Init/Shutdown and Fix Tool-Call Rejection & Stdio Corruption ([#96](https://github.com/s-stefanov/actual-mcp/issues/96)) ([2e16cfa](https://github.com/s-stefanov/actual-mcp/commit/2e1Low3/3/2026
v1.9.0## [1.9.0](https://github.com/s-stefanov/actual-mcp/compare/v1.8.0...v1.9.0) (2026-03-02) ### Features * add import transactions tool ([#117](https://github.com/s-stefanov/actual-mcp/issues/117)) ([ffd7a89](https://github.com/s-stefanov/actual-mcp/commit/ffd7a89ddedd9afaf610b171d2a252858c85d62a))Low3/2/2026
v1.8.0## [1.8.0](https://github.com/s-stefanov/actual-mcp/compare/v1.7.0...v1.8.0) (2026-03-01) ### Features * fixes applied for version 26.2 ([#105](https://github.com/s-stefanov/actual-mcp/issues/105)) ([de2c184](https://github.com/s-stefanov/actual-mcp/commit/de2c1841daacaf85c26dad16cdbd424fba2413cb)) ### Bug Fixes * **deps:** update dependency zod-to-json-schema to v3.25.1 ([#90](https://github.com/s-stefanov/actual-mcp/issues/90)) ([676a379](https://github.com/s-stefanov/actual-mcp/commit/6Low3/1/2026
v1.7.0## [1.7.0](https://github.com/s-stefanov/actual-mcp/compare/v1.6.0...v1.7.0) (2026-01-17) ### Features * add run-bank-sync tool ([#93](https://github.com/s-stefanov/actual-mcp/issues/93)) ([61b67d7](https://github.com/s-stefanov/actual-mcp/commit/61b67d72e3789999cfe4aec78181deffffaabb99))Low1/17/2026
v1.6.0## [1.6.0](https://github.com/s-stefanov/actual-mcp/compare/v1.5.0...v1.6.0) (2025-12-21) ### Features * add create-transaction tool ([#72](https://github.com/s-stefanov/actual-mcp/issues/72)) ([f8cd573](https://github.com/s-stefanov/actual-mcp/commit/f8cd573be318536d9d3ea9730942d5fb5fb89757)) ### Bug Fixes * **deps:** update dependency dotenv to v17 ([#87](https://github.com/s-stefanov/actual-mcp/issues/87)) ([8be16d9](https://github.com/s-stefanov/actual-mcp/commit/8be16d9bf4e2308e4073a1Low1/5/2026
v1.5.0## [1.5.0](https://github.com/s-stefanov/actual-mcp/compare/v1.4.0...v1.5.0) (2025-11-10) ### Features * Add streamable HTTP transport for Codex (Trigger Release) ([#54](https://github.com/s-stefanov/actual-mcp/issues/54)) ([ec23551](https://github.com/s-stefanov/actual-mcp/commit/ec235517ad3a1d205fc31e02bbcd0800cb9b92ef)) ### Bug Fixes * correct repo url in README.md ([#42](https://github.com/s-stefanov/actual-mcp/issues/42)) ([41b4070](https://github.com/s-stefanov/actual-mcp/commit/41b4Low11/10/2025
v1.4.0## [1.4.0](https://github.com/s-stefanov/actual-mcp/compare/v1.3.0...v1.4.0) (2025-10-18) ### Features * Enhance transaction handling with enriched data and improved input parsing ([#39](https://github.com/s-stefanov/actual-mcp/issues/39)) ([74f1270](https://github.com/s-stefanov/actual-mcp/commit/74f12709ee9efef7840dec15bd1c1424cb09f5f2)) * Fix monthly summary with transfers calculations ([#41](https://github.com/s-stefanov/actual-mcp/issues/41)) ([af59c41](https://github.com/s-stefanov/actuLow10/18/2025
v1.3.0## [1.3.0](https://github.com/s-stefanov/actual-mcp/compare/v1.2.2...v1.3.0) (2025-10-09) ### Features * Connect to actual budget server that has different encryption key ([#33](https://github.com/s-stefanov/actual-mcp/issues/33)) ([f828ad4](https://github.com/s-stefanov/actual-mcp/commit/f828ad4f56e73416ec82f5c55efd98bea315c196)), closes [#28](https://github.com/s-stefanov/actual-mcp/issues/28) * Return id in get-transactions ([#34](https://github.com/s-stefanov/actual-mcp/issues/34)) ([e15bLow10/9/2025
v1.2.2## [1.2.2](https://github.com/s-stefanov/actual-mcp/compare/v1.2.1...v1.2.2) (2025-10-08) ### Bug Fixes * docker publish to proper username ([#29](https://github.com/s-stefanov/actual-mcp/issues/29)) ([fa15085](https://github.com/s-stefanov/actual-mcp/commit/fa150857d528c730b5f6ad20a33ede230e886635))Low10/8/2025
v1.2.1## [1.2.1](https://github.com/s-stefanov/actual-mcp/compare/v1.2.0...v1.2.1) (2025-10-06) ### Bug Fixes * use valid JSON Schema 2020-12 for rule value types ([#26](https://github.com/s-stefanov/actual-mcp/issues/26)) ([6ee4c7e](https://github.com/s-stefanov/actual-mcp/commit/6ee4c7e4c72e3b341a0acc261ffe231781acdbdf))Low10/8/2025
v1.2.0## [1.2.0](https://github.com/s-stefanov/actual-mcp/compare/v1.1.0...v1.2.0) (2025-09-03) ### Features * New tools for categories, payees, and rules ([#18](https://github.com/s-stefanov/actual-mcp/issues/18)) ([fa9bbd2](https://github.com/s-stefanov/actual-mcp/commit/fa9bbd2752e2a04ef5cc82e752100f02b0af63f3))Low9/5/2025
v1.1.0## [1.1.0](https://github.com/s-stefanov/actual-mcp/compare/v1.0.2...v1.1.0) (2025-07-25) ### Features * Add Vitest unit testing framework for src/core module ([#14](https://github.com/s-stefanov/actual-mcp/issues/14)) ([80d3d80](https://github.com/s-stefanov/actual-mcp/commit/80d3d8028fec938ed06f03b60b234be19b3881d1)) * create PR checks ([#16](https://github.com/s-stefanov/actual-mcp/issues/16)) ([b60ea97](https://github.com/s-stefanov/actual-mcp/commit/b60ea973ddffc9b93a32679beb61d616decb04Low7/26/2025
v1.0.2## [1.0.2](https://github.com/s-stefanov/actual-mcp/compare/v1.0.1...v1.0.2) (2025-07-02) ### Bug Fixes * deployment steps ([66a0311](https://github.com/s-stefanov/actual-mcp/commit/66a0311dccfa8f1cdb47052c74e21f070c0e7863))Low7/2/2025
v1.0.1## [1.0.1](https://github.com/s-stefanov/actual-mcp/compare/v1.0.0...v1.0.1) (2025-07-01) ### Bug Fixes * deployment ([1c57a9d](https://github.com/s-stefanov/actual-mcp/commit/1c57a9d980bbf5724121763372a30a202e961273))Low7/1/2025
v1.0.0## 1.0.0 (2025-07-01) ### Features * get accounts tool ([#6](https://github.com/s-stefanov/actual-mcp/issues/6)) ([9008dbe](https://github.com/s-stefanov/actual-mcp/commit/9008dbe8a94e83b822f28a1c0190f281882b7fcc)) * github pipelines ([#9](https://github.com/s-stefanov/actual-mcp/issues/9)) ([e9ae9ff](https://github.com/s-stefanov/actual-mcp/commit/e9ae9ff2a53c19ba9065804c64fb257bfbc3a8f7)) * Refactoring of tools & types ([#5](https://github.com/s-stefanov/actual-mcp/issues/5)) ([af9d185](httLow7/1/2025

Dependencies & License Audit

Loading dependencies...

Similar Packages

Perplexity-Comet-MCPNo descriptionmain@2026-06-07
google-workspace-mcp-with-scriptNo descriptionmain@2026-06-07
scagent🔍 Discover security flaws and improve code quality with ShenCha, an AI-powered autonomous code audit agent designed for developers.main@2026-06-07
claude-blocker🛡️ Block distracting websites when Claude Code is in use, ensuring focused work sessions and minimizing interruptions.main@2026-06-07
any-api🚀 Seamlessly route requests between multiple LLM APIs using a unified gateway on Cloudflare Workers for efficient development and integration.main@2026-06-07

More in MCP Servers

claude-plugins-officialOfficial, Anthropic-managed directory of high quality Claude Code Plugins.
langchain4jLangChain4j is an open-source Java library that simplifies the integration of LLMs into Java applications through a unified API, providing access to popular LLMs and vector databases. It makes impleme
hyperframesWrite HTML. Render video. Built for agents.
claude-code-guideClaude Code Guide - Setup, Commands, workflows, agents, skills & tips-n-tricks go from beginner to power user!