Click on "Install 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 Serverhow much did I spend on dining out 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
A Model Context Protocol (MCP) server that provides seamless integration between Monarch Money and Claude Desktop. This server enables you to query your financial data, analyze spending patterns, and get personalized financial insights directly through conversational AI.
π Features
π¦ Account Management: View all accounts with real-time balances and details
π³ Transaction Analysis: Search and filter transactions with advanced criteria
π Spending Insights: Analyze spending patterns by category, merchant, and time period
π° Budget Tracking: Monitor budget performance with planned vs. actual spending
π Net Worth Calculation: Track your total net worth and asset allocation
π Monthly Reports: Generate comprehensive monthly financial summaries
π·οΈ Category Management: Explore and analyze transaction categories
π Balance History: View account balance trends over time
π Secure Authentication: Token-based authentication with MFA support
π‘οΈ Security & Privacy
Token-based authentication - No need to store credentials long-term
Environment variable protection - Credentials never hardcoded
Multi-factor authentication support - Enhanced security for your financial data
GraphQL API integration - Secure communication with Monarch Money
Local processing - All analysis happens on your machine
π Prerequisites
Before you begin, ensure you have:
Node.js 18+ installed on your system
Claude Desktop application installed
Monarch Money account with valid credentials
npm or yarn package manager
π§ Installation
1. Clone the Repository
2. Install Dependencies
3. Authentication Setup
π Option A: Token Authentication (Recommended)
Get your authentication token:
npm run loginFollow the prompts to enter your Monarch Money credentials and MFA code (if required)
Copy the generated token for use in Claude Desktop configuration
π§ Option B: Direct Credentials
Create a .env file with your credentials:
4. Build the Project
βοΈ Claude Desktop Configuration
macOS Configuration
Edit your Claude Desktop config file:
Add this configuration:
Windows Configuration
Edit your Claude Desktop config file:
Use the same JSON structure with Windows-style paths:
π‘ Important: Use the absolute path to your installation directory.
π― Usage Examples
After configuring Claude Desktop and restarting the application, you can ask questions like:
π° Financial Overview
"What's my current net worth?"
"Show me all my account balances"
"What's my checking account balance?"
π Spending Analysis
"How much did I spend on groceries last month?"
"Show me my largest expenses from the past week"
"Break down my spending by category for Q3"
"Find all transactions over $500 this year"
π Budget Insights
"How am I doing against my budget this month?"
"Which budget categories am I overspending in?"
"Show me my budget vs actual for each category"
π Transaction Search
"Find all Amazon purchases from last month"
"Show me restaurant transactions over $50"
"What did I spend at Costco this year?"
π Historical Analysis
"Compare my spending this month vs last month"
"Show my account balance trends for the past 6 months"
"What was my net income last month?"
π οΈ Available Tools
Tool | Description | Parameters |
| List all financial accounts | None |
| Get specific account balance |
|
| Retrieve transactions with filters |
|
| Spending breakdown by category |
|
| Current budget status | None |
| Search transactions by criteria |
|
| Calculate total net worth | None |
| Monthly financial summary |
|
| List all transaction categories | None |
| Account balance history |
|
π§ Development
Development Commands
Project Structure
API Architecture
The server implements a three-layer architecture:
MCP Layer (
index.ts) - Handles Model Context Protocol communicationTools Layer (
tools.ts) - Implements financial analysis toolsAPI Layer (
monarch-api.ts) - Manages Monarch Money GraphQL API integration
π Troubleshooting
Authentication Issues
Problem | Solution |
Invalid credentials | Verify your email/password in the login command |
MFA required | Use the |
Token expired | Re-run |
Integration Issues
Problem | Solution |
Tools not appearing | Restart Claude Desktop completely |
Server not starting | Verify the absolute path in config file |
Permission errors | Check file permissions on |
Common Error Messages
"MONARCH_TOKEN environment variable is required" - Add your token to the Claude Desktop config
"Authentication failed" - Check your token validity and regenerate if needed
"GraphQL Error (Code: 400)" - API request format issue (usually handled automatically)
π€ Contributing
We welcome contributions! Here's how to get started:
Fork the repository
Create a feature branch (
git checkout -b feature/amazing-feature)Make your changes
Test thoroughly with your own Monarch Money account
Commit your changes (
git commit -m 'Add amazing feature')Push to your branch (
git push origin feature/amazing-feature)Open a Pull Request
Development Guidelines
Follow TypeScript best practices
Add proper error handling
Update documentation for new features
Test with real Monarch Money data
Maintain backwards compatibility
π License
This project is licensed under the ISC License - see the LICENSE file for details.
β οΈ Disclaimer
This project is an independent integration and is not affiliated with, endorsed by, or sponsored by Monarch Money.
Important Notes:
Use this software at your own risk
Always verify financial data independently
Never make financial decisions based solely on automated tools
Keep your authentication credentials secure
Review all transactions and calculations manually
πββοΈ Support
Issues: GitHub Issues
Discussions: GitHub Discussions
Documentation: This README and inline code comments
Made with β€οΈ for the Claude Desktop community