MCP server for integrating Actual Budget with Claude and other LLM assistants. This is a soft fork of s-stefanov/actual-mcp with additional features for batch operations, budget management, scheduled transactions, and transfer handling. This fork is configured to build against the Actual Budget source (@actual-app/api points to file:../actual/packages/api), so you'll need a local clone of the Actual repo as a sibling directory or update the dependency to use the published npm package.
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).
- 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
get-transactions- Retrieve and filter transactions by account, date, amount, category, payee, notes, or uncategorized status. Supports searching across all accounts.create-transaction- Create a new transaction in an account with optional category, payee, and notesupdate-transaction- Update an existing transaction with new category, payee, notes, amount, or convert to a transfer between accountsbatch-update-transactions- Update multiple transactions at once for bulk categorization or transfer conversion (up to 100 per call)delete-transaction- Delete a transactionget-accounts- Retrieve a list of all accounts with their current balance and IDbalance-history- View account balance changes over timerun-bank-sync- Trigger bank sync for connected accounts
get-budget- Get budget data for a specific month showing budgeted amounts and spending by categoryset-budget- Set the budget amount for a category in a specific month
get-schedules- Retrieve all scheduled/recurring transactions with their frequency and next date
spending-by-category- Generate spending breakdowns categorized by typemonthly-summary- Get monthly income, expenses, and savings metrics
get-grouped-categories- Retrieve a list of all category groups with their categoriescreate-category- Create a new category within a category groupupdate-category- Update an existing category's name or groupdelete-category- Delete a categorycreate-category-group- Create a new category groupupdate-category-group- Update a category group's namedelete-category-group- Delete a category group
get-payees- Retrieve a list of all payees with their detailscreate-payee- Create a new payeeupdate-payee- Update an existing payee's detailsdelete-payee- Delete a payee
get-rules- Retrieve a list of all transaction rulescreate-rule- Create a new transaction rule with conditions and actionsupdate-rule- Update an existing transaction ruledelete-rule- Delete a transaction rule
financial-insights- Generate insights and recommendations based on your financial databudget-review- Analyze your budget compliance and suggest adjustments
- Node.js (v18 or higher)
- Yarn (for building Actual source)
- Actual Budget source cloned as a sibling directory
- Actual Budget server running with your data
- Claude Desktop or another MCP-compatible client
- Docker Desktop (optional)
This fork builds against the Actual Budget source, so you need both repos as siblings:
# Clone both repositories as siblings
git clone https://github.com/actualbudget/actual.git
git clone https://github.com/giorgiobrullo/actual-mcp.git
# Build Actual first
cd actual
yarn install
yarn build
# Then build the MCP server
cd ../actual-mcp
npm install
npm run buildIf you prefer using the published npm package instead, update
package.jsonto replace"@actual-app/api": "file:../actual/packages/api"with"@actual-app/api": "^x.x.x"(check npm for the latest version).
Build the local docker image (optional):
docker build -t <local-image-name> .- 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"To use this server with Claude Desktop, add it to your Claude configuration:
On MacOS:
code ~/Library/Application\ Support/Claude/claude_desktop_config.jsonOn Windows:
code %APPDATA%\Claude\claude_desktop_config.jsonAdd the following to your configuration:
{
"mcpServers": {
"actualBudget": {
"command": "node",
"args": ["/path/to/actual-mcp/build/index.js", "--enable-write"],
"env": {
"ACTUAL_PASSWORD": "your-password",
"ACTUAL_SERVER_URL": "http://your-actual-server.com",
"ACTUAL_BUDGET_SYNC_ID": "your-budget-id"
}
}
}
}After saving the configuration, restart Claude Desktop.
Use
--enable-writeto enable write-access tools.
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"
- "Find all uncategorized transactions and categorize them"
- "Show me my budget for this month"
- "What scheduled transactions do I have coming up?"
- "Find transactions with my name as payee and convert them to transfers"
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>.
For development with auto-rebuild:
npm run watchTo verify the server can connect to your Actual Budget data:
node build/index.js --test-resourcesSince MCP servers communicate over stdio, debugging can be challenging. You can use the MCP Inspector:
npx @modelcontextprotocol/inspector node build/index.jsindex.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 more
MIT
Contributions are welcome! Please feel free to submit a Pull Request.