The Actual Budget MCP Server enables interaction with your Actual Budget financial data through LLMs using natural language. It connects your accounts, transactions, and financial metrics via the Model Context Protocol (MCP), allowing AI assistants like Claude to analyze and provide insights on your finances.
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 adjustmentsgit 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"
To use this server with Claude Desktop, add it to your Claude configuration:
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
code %APPDATA%\Claude\claude_desktop_config.json
{
"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.
To verify the server can connect to your Actual Budget data:
node build/index.js --test-resources
Once connected, you can ask Claude questions like:
Since MCP servers communicate over stdio, you can use the MCP Inspector for debugging:
npx @modelcontextprotocol/inspector node build/index.js
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "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"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"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"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"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"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect