
Monarch Money
STDIOMonarch Money个人财务平台集成MCP服务器
Monarch Money个人财务平台集成MCP服务器
A Model Context Protocol (MCP) server for integrating with the Monarch Money personal finance platform. This server provides seamless access to your financial accounts, transactions, budgets, and analytics through Claude Desktop.
My MonarchMoney referral: https://www.monarchmoney.com/referral/ufmn0r83yf?r_source=share
Built with the MonarchMoney Python library by @hammem - A fantastic unofficial API for Monarch Money with full MFA support.
Clone this repository:
git clone https://github.com/robcerda/monarch-mcp-server.git cd monarch-mcp-server
Install dependencies:
pip install -r requirements.txt pip install -e .
Configure Claude Desktop: Add this to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{ "mcpServers": { "Monarch Money": { "command": "/opt/homebrew/bin/uv", "args": [ "run", "--with", "mcp[cli]", "--with-editable", "/path/to/your/monarch-mcp-server", "mcp", "run", "/path/to/your/monarch-mcp-server/src/monarch_mcp_server/server.py" ] } } }
Important: Replace /path/to/your/monarch-mcp-server
with your actual path!
Restart Claude Desktop
Important: For security and MFA support, authentication is done outside of Claude Desktop.
Open Terminal and run:
cd /path/to/your/monarch-mcp-server python login_setup.py
Follow the prompts:
Once authenticated, use these tools directly in Claude Desktop:
get_accounts
- View all your financial accountsget_transactions
- Recent transactions with filteringget_budgets
- Budget information and spendingget_cashflow
- Income/expense analysisTool | Description | Parameters |
---|---|---|
setup_authentication | Get setup instructions | None |
check_auth_status | Check authentication status | None |
get_accounts | Get all financial accounts | None |
get_transactions | Get transactions with filtering | limit , offset , start_date , end_date , account_id |
get_budgets | Get budget information | None |
get_cashflow | Get cashflow analysis | start_date , end_date |
get_account_holdings | Get investment holdings | account_id |
create_transaction | Create new transaction | account_id , amount , description , date , category_id , merchant_name |
update_transaction | Update existing transaction | transaction_id , amount , description , category_id , date |
refresh_accounts | Request account data refresh | None |
Use get_accounts to show me all my financial accounts
Show me my last 50 transactions using get_transactions with limit 50
Use get_budgets to show my current budget status
Get my cashflow for the last 3 months using get_cashflow
YYYY-MM-DD
format (e.g., "2024-01-15")If you see "Authentication needed" errors:
cd /path/to/your/monarch-mcp-server && python login_setup.py
get_accounts
Sessions last for weeks, but if expired:
login_setup.py
get_accounts
to see valid account IDsmonarch-mcp-server/
├── src/monarch_mcp_server/
│ ├── __init__.py
│ └── server.py # Main server implementation
├── login_setup.py # Authentication setup script
├── pyproject.toml # Project configuration
├── requirements.txt # Dependencies
└── README.md # This documentation
.mm/mm_session.pickle
This MCP server is built on top of the excellent MonarchMoney Python library created by @hammem. Their library provides the robust foundation that makes this integration possible, including:
Thank you to @hammem for creating and maintaining this essential library!
MIT License
For issues:
check_auth_status
cd /path/to/your/monarch-mcp-server && python login_setup.py
To update the server:
python login_setup.py