Monarch Money MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Monarch Money MCP Server what did I spend on groceries last month?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Monarch Money MCP Server
Although it can be used as a standalone, this is a submodule for the MCP repository.
A Model Context Protocol (MCP) server that enables AI assistants to interact with your Monarch Money personal finance data. Manage accounts, transactions, budgets, and analyze your finances programmatically.
Features
🔐 Authentication
Email/password login with MFA support
Session persistence (sessions last ~90 days)
Automatic session management
💰 Account Management
View all linked accounts (banks, credit cards, investments, etc.)
Get account balance history
View investment holdings
Create/update/delete manual accounts
Refresh account data
📊 Transaction Operations
Search and filter transactions
Create, update, and delete transactions
Split transactions across categories
Add tags and categories
Get transaction summaries
📈 Budget & Cashflow
View and set budgets by category
Get cashflow summaries
Analyze spending by category and merchant
Track income vs expenses
🏷️ Organization
Manage categories and tags
View recurring transactions
Link to financial institutions
Related MCP server: Monarch Money MCP Server
Installation
npm install
npm run buildConfiguration
Environment Variables
Set these environment variables for automatic authentication:
export MONARCH_EMAIL="your@email.com"
export MONARCH_PASSWORD="your_password"
export MONARCH_MFA_SECRET="your_mfa_secret_key" # OptionalGetting your MFA Secret Key:
Go to Monarch Money Settings → Security
Enable MFA
Copy the "Two-factor text code" (TOTP secret)
Use this as your
MONARCH_MFA_SECRET
Claude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"monarch-money": {
"command": "node",
"args": ["/path/to/monarch-money-mcp/dist/index.js"],
"env": {
"MONARCH_EMAIL": "your@email.com",
"MONARCH_PASSWORD": "your_password",
"MONARCH_MFA_SECRET": "your_mfa_secret"
}
}
}
}Usage Examples
Authentication
// Login manually
await use_mcp_tool({
server_name: "monarch-money",
tool_name: "monarch_login",
arguments: {
email: "your@email.com",
password: "your_password",
mfa_secret_key: "optional_mfa_secret"
}
});
// Check authentication status
await use_mcp_tool({
server_name: "monarch-money",
tool_name: "monarch_check_auth"
});View Accounts
// Get all accounts
const accounts = await use_mcp_tool({
server_name: "monarch-money",
tool_name: "monarch_get_accounts"
});
// Get account balance history
const history = await use_mcp_tool({
server_name: "monarch-money",
tool_name: "monarch_get_account_history",
arguments: {
account_id: "account-uuid",
start_date: "2025-01-01",
end_date: "2025-01-31"
}
});Manage Transactions
// Get recent transactions
const transactions = await use_mcp_tool({
server_name: "monarch-money",
tool_name: "monarch_get_transactions",
arguments: {
limit: 50,
start_date: "2025-01-01",
end_date: "2025-01-31"
}
});
// Create a new transaction
await use_mcp_tool({
server_name: "monarch-money",
tool_name: "monarch_create_transaction",
arguments: {
amount: -45.50,
date: "2025-02-01",
account_id: "account-uuid",
merchant_name: "Coffee Shop",
category_id: "category-uuid",
notes: "Morning coffee"
}
});
// Update existing transaction
await use_mcp_tool({
server_name: "monarch-money",
tool_name: "monarch_update_transaction",
arguments: {
transaction_id: "transaction-uuid",
category_id: "new-category-uuid",
notes: "Updated note"
}
});
// Split a transaction
await use_mcp_tool({
server_name: "monarch-money",
tool_name: "monarch_update_transaction_splits",
arguments: {
transaction_id: "transaction-uuid",
splits: [
{ amount: -30.00, category_id: "groceries-uuid" },
{ amount: -15.00, category_id: "household-uuid" }
]
}
});Budget Management
// Get current budgets
const budgets = await use_mcp_tool({
server_name: "monarch-money",
tool_name: "monarch_get_budgets"
});
// Set a budget
await use_mcp_tool({
server_name: "monarch-money",
tool_name: "monarch_set_budget_amount",
arguments: {
category_id: "category-uuid",
amount: 500.00,
date: "2025-02-01"
}
});Cashflow Analysis
// Get cashflow summary
const cashflow = await use_mcp_tool({
server_name: "monarch-money",
tool_name: "monarch_get_cashflow",
arguments: {
start_date: "2025-01-01",
end_date: "2025-01-31"
}
});
// Analyze spending by category
const byCategory = await use_mcp_tool({
server_name: "monarch-money",
tool_name: "monarch_get_cashflow_by_category",
arguments: {
start_date: "2025-01-01",
end_date: "2025-01-31"
}
});
// Top merchants
const byMerchant = await use_mcp_tool({
server_name: "monarch-money",
tool_name: "monarch_get_cashflow_by_merchant",
arguments: {
start_date: "2025-01-01",
end_date: "2025-01-31",
limit: 10
}
});Categories and Tags
// Get all categories
const categories = await use_mcp_tool({
server_name: "monarch-money",
tool_name: "monarch_get_categories"
});
// Create a new category
await use_mcp_tool({
server_name: "monarch-money",
tool_name: "monarch_create_category",
arguments: {
name: "Side Projects",
icon: "💻"
}
});
// Create and apply tags
await use_mcp_tool({
server_name: "monarch-money",
tool_name: "monarch_create_tag",
arguments: {
name: "Business Expense",
color: "#4CAF50"
}
});
await use_mcp_tool({
server_name: "monarch-money",
tool_name: "monarch_set_transaction_tags",
arguments: {
transaction_id: "transaction-uuid",
tag_ids: ["tag-uuid-1", "tag-uuid-2"]
}
});API Reference
Authentication Tools
monarch_login- Login with email/password (supports MFA)monarch_check_auth- Check authentication status
Account Tools
monarch_get_accounts- Get all accountsmonarch_get_account_history- Get balance historymonarch_get_account_holdings- Get investment holdingsmonarch_get_account_types- List account typesmonarch_create_manual_account- Create manual accountmonarch_update_account- Update account detailsmonarch_delete_account- Delete accountmonarch_refresh_accounts- Sync with institutions
Transaction Tools
monarch_get_transactions- Search transactionsmonarch_get_transaction_details- Get transaction detailsmonarch_get_transaction_splits- Get split informationmonarch_get_transactions_summary- Get summary statsmonarch_create_transaction- Create transactionmonarch_update_transaction- Update transactionmonarch_delete_transaction- Delete transactionmonarch_update_transaction_splits- Split transaction
Budget Tools
monarch_get_budgets- Get all budgetsmonarch_set_budget_amount- Set/update budget
Cashflow Tools
monarch_get_cashflow- Get cashflow summarymonarch_get_cashflow_by_category- Breakdown by categorymonarch_get_cashflow_by_merchant- Breakdown by merchant
Organization Tools
monarch_get_categories- Get categoriesmonarch_get_tags- Get tagsmonarch_create_category- Create categorymonarch_delete_category- Delete categorymonarch_create_tag- Create tagmonarch_set_transaction_tags- Apply tags
Other Tools
monarch_get_recurring_transactions- View recurring transactionsmonarch_get_subscription- Subscription detailsmonarch_get_institutions- Linked institutions
Deployment
Production is the Home Assistant add-on.
A push to main runs two GitHub Actions:
CI installs dependencies and builds the server.
Release builds the Dockerfile for
aarch64andamd64, pushes those images to GHCR, and commits the new version intomonarch_mcp/config.yaml. That version-only commit does not start another release.
Images:
Arch | Image |
Pi ( |
|
|
|
The repo is private, so the packages are private too. After the first release, either make those two packages public, or give Home Assistant a GitHub token that can read packages. Then, in the add-on store, add this repository (https://github.com/canfie1d/monarch-mcp-server), install Monarch Money MCP, and turn on automatic updates.
Add-on options are written to the process environment on start: OAUTH_SIGNING_SECRET, OAUTH_PASSPHRASE, PUBLIC_URL, and the Monarch session cookies (MONARCH_SESSION_ID, MONARCH_CSRF_TOKEN). PUBLIC_URL must be the public origin Claude uses to reach the server.
Development
Build
npm run buildTest with MCP Inspector
npm run inspectorSecurity Notes
Session Storage: Sessions are stored in
~/.monarch_session.jsonCredentials: Never commit credentials to version control
MFA Recommended: Always enable MFA on your Monarch Money account
Environment Variables: Use environment variables or secure secret management
Common Use Cases
Monthly Budget Review
Get budgets for current month
Get actual spending by category
Identify over-budget categories
Adjust budgets as needed
Transaction Categorization
Get uncategorized transactions
Update categories based on merchant
Add tags for tracking
Split transactions if needed
Financial Analysis
Get cashflow over time periods
Analyze spending trends
Identify top expenses
Track savings rate
Account Management
Create manual accounts for cash/assets
Update balances regularly
Track investment holdings
Monitor account history
Troubleshooting
Authentication Issues
Verify email/password are correct
Check MFA secret key if using auto-MFA
Try deleting
~/.monarch_session.jsonand re-logging in
GraphQL Errors
Check Monarch Money API status
Verify account UUIDs are correct
Ensure dates are in YYYY-MM-DD format
Session Expiration
Sessions typically last ~90 days
Re-authenticate if receiving 401 errors
Save session after successful login
Credits
Built with:
@modelcontextprotocol/sdk - MCP TypeScript SDK
axios - HTTP client
zod - Schema validation
otplib - TOTP for MFA
Inspired by community Python libraries for Monarch Money API access.
License
MIT
Disclaimer
This is an unofficial MCP server for Monarch Money. It is not affiliated with, endorsed by, or connected to Monarch Money in any way. Use at your own risk.
Available Tools
32 toolsmonarch_check_authC
Check if currently authenticated with Monarch Money
Inputs: no named parameters.
monarch_create_categoryC
Create a new transaction category
Inputs: name (required), icon, group_id.
monarch_create_manual_accountC
Create a new manual account (cash, property, loan, etc.)
Inputs: type (required), is_asset (required), display_name (required), current_balance (required), +1 more.
monarch_create_tagC
Create a new transaction tag
Inputs: name (required), color.
monarch_create_transactionC
Create a new manual transaction
Inputs: date (required), amount (required), account_id (required), notes, +2 more.
monarch_delete_accountC
Delete an account from Monarch Money
Inputs: account_id (required).
monarch_delete_categoryC
Delete a transaction category
Inputs: category_id (required).
monarch_delete_transactionC
Delete a transaction
Inputs: transaction_id (required).
monarch_get_account_historyB
Get daily balance history for a specific account over a date range
Inputs: account_id (required), end_date, start_date.
monarch_get_account_holdingsB
Get securities/holdings for an investment account (stocks, bonds, ETFs, etc.)
Inputs: account_id (required).
monarch_get_accountsB
Get all accounts linked to Monarch Money including banks, credit cards, investments, etc.
Inputs: no named parameters.
monarch_get_account_typesB
Get all available account types and subtypes in Monarch Money
Inputs: no named parameters.
monarch_get_budgetsB
Get all budgets with actual spending amounts and remaining amounts
Inputs: end_date, start_date.
monarch_get_cashflowA
Get cashflow summary for a date range (income, expenses, savings, savings rate)
Inputs: end_date (required), start_date (required).
monarch_get_cashflow_by_categoryC
Get income and expenses broken down by category
Inputs: end_date (required), start_date (required).
monarch_get_cashflow_by_merchantC
Get spending totals by merchant for a date range
Inputs: end_date (required), start_date (required), limit.
monarch_get_categoriesB
Get all transaction categories and category groups
Inputs: no named parameters.
monarch_get_institutionsB
Get all linked financial institutions
Inputs: no named parameters.
monarch_get_recurring_transactionsA
Get recurring transactions for a date range (defaults to the current calendar month if no dates given)
Inputs: end_date, start_date.
monarch_get_subscriptionB
Get Monarch Money subscription details
Inputs: no named parameters.
monarch_get_tagsB
Get all transaction tags
Inputs: no named parameters.
monarch_get_transaction_detailsB
Get detailed information for a specific transaction including category, merchant, tags, and attachments
Inputs: transaction_id (required).
monarch_get_transactionsC
Get transactions with optional filters. Returns paginated results.
Inputs: limit, offset, search, end_date, +2 more.
monarch_get_transaction_splitsB
Get split details for a transaction (if it has been split across multiple categories)
Inputs: transaction_id (required).
monarch_get_transactions_summaryA
Get summary statistics for transactions in a date range (income, expenses, net income, etc.)
Inputs: end_date (required), start_date (required).
monarch_loginB
Login to Monarch Money with email and password. Supports MFA via secret key. Session is saved for future use.
Inputs: email (required), password (required), mfa_secret_key.
monarch_refresh_accountsC
Request a refresh/sync of linked accounts with financial institutions
Inputs: account_ids.
monarch_set_budget_amountA
Set or update a budget amount for a category. Set amount to 0 to clear the budget.
Inputs: amount (required), category_id (required), date.
monarch_set_transaction_tagsC
Set tags on a transaction (replaces existing tags)
Inputs: tag_ids (required), transaction_id (required).
monarch_update_accountD
Update an existing account
Inputs: account_id (required), is_hidden, display_name, current_balance.
monarch_update_transactionC
Update an existing transaction
Inputs: transaction_id (required), date, notes, amount, +3 more.
monarch_update_transaction_splitsB
Split a transaction across multiple categories or update existing splits
Inputs: splits (required), transaction_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 32 tools
Most tools target clearly distinct resource/action pairs, such as account history, holdings, types, and transactions. Some adjacent reporting tools (get_cashflow vs. get_cashflow_by_category/by_merchant, get_transactions vs. get_transactions_summary) could be confused at selection time, but descriptions help differentiate them.
All tools use a consistent lower_snake_case convention with the same monarch_ prefix. The verb_noun pattern is predictable across create/get/update/delete/set operations, with only minor natural exceptions like login and check_auth.
32 tools is heavy for an MCP surface and exceeds a practical well-scoped set. While the Monarch Money domain is broad, several read-only/reporting tools could be consolidated or exposed through parameters.
The surface covers core personal finance workflows: auth, accounts, transactions, splits, categories, tags, budgets, cashflow, holdings, and institutions. Minor gaps remain, such as updating/deleting tags and updating categories, but core CRUD and reporting paths are mostly covered.
Maintenance
Related MCP Connectors
Ask your AI about your own accounts, debts, budgets and goals. OAuth sign-in, read-only by default.
Personal finance, bank account, and shared memory connector for Claude, ChatGPT, Gemini Spark & more
Read-only access to your own bank, card and brokerage accounts for Claude, ChatGPT and other AI agents: balances, transactions, spending, subscriptions, cashflow and investment holdings. It can never move money.
Personal finance for AI agents: accounts, budgets, goals, 9-strategy debt payoff, reports. OAuth 2.1
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to access and analyze MonarchMoney personal finance data through natural language queries. Provides comprehensive financial insights including account balances, transaction analysis, budget tracking, and spending patterns with enterprise-grade security.11MIT
- AlicenseAqualityDmaintenanceEnables integration with Monarch Money to query financial data, analyze spending patterns, track budgets, and get personalized financial insights through conversational AI with Claude Desktop.113ISC
- AlicenseBqualityCmaintenanceComprehensive Monarch Money integration with read and write support for accounts, transactions, budgets, cashflow, credit history, and more. Secure browser-based auth with tokens stored in the OS keychain. Installs in one click via .mcpb for Claude Desktop.25127 PyPI13MIT
- AlicenseNot gradedqualityDmaintenanceProvides read-only access to Monarch Money financial data, enabling AI assistants to analyze transactions, budgets, and cashflow.4MIT