
Actual Budget
STDIOMCP server integrating Actual Budget with LLMs for natural language financial data interaction.
MCP server integrating Actual Budget with LLMs for natural language financial data interaction.
MCP server for integrating Actual Budget with Claude and other LLM assistants.
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).
get-transactions
- Retrieve and filter transactions by account, date, amount, category, or payeespending-by-category
- Generate spending breakdowns categorized by typemonthly-summary
- Get monthly income, expenses, and savings metricsbalance-history
- View account balance changes over timefinancial-insights
- Generate insights and recommendations based on your financial databudget-review
- Analyze your budget compliance and suggest adjustmentsTo 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:
{ "mcpServers": { "actualBudget": { "command": "npx", "args": ["-y", "actual-mcp"], "env": { "ACTUAL_DATA_DIR": "/path/to/your/actual/data", "ACTUAL_PASSWORD": "your-password", "ACTUAL_SERVER_URL": "https://your-actual-server.com", "ACTUAL_BUDGET_SYNC_ID": "your-budget-id" } } } }
{ "mcpServers": { "actualBudget": { "command": "docker", "args": [ "run", "-it", "--rm", "-p", "3000:3000", "sstefanov/actual-mcp:latest" ], "env": { "ACTUAL_DATA_DIR": "/path/to/your/actual/data", "ACTUAL_PASSWORD": "your-password", "ACTUAL_SERVER_URL": "https://your-actual-server.com", "ACTUAL_BUDGET_SYNC_ID": "your-budget-id" } } } }
After saving the configuration, restart Claude Desktop.
git clone https://github.com/s-stefanov/actual-mcp.git cd actual-mcp
npm install
npm run build
# 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"
Once connected, you can ask Claude questions like:
For development with auto-rebuild:
npm run watch
To verify the server can connect to your Actual Budget data:
node build/index.js --test-resources
Since MCP servers communicate over stdio, debugging can be challenging. You can use the MCP Inspector:
npx @modelcontextprotocol/inspector node build/index.js
index.ts
- Main server implementationtypes.ts
- Type definitions for API responses and parametersprompts.ts
- Prompt templates for LLM interactionsutils.ts
- Helper functions for date formatting and moreMIT
Contributions are welcome! Please feel free to submit a Pull Request.