lunchmoney-mcp
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., "@lunchmoney-mcpshow my transactions from the last 7 days"
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.
lunchmoney-mcp
The definitive MCP server for Lunch Money -- manage your finances through any AI assistant that supports the Model Context Protocol.
37 tools covering every Lunch Money API endpoint. Runs locally via stdio or remotely over HTTP with OAuth 2.1. Credentials never touch disk in plain text.
Quick Start
npx lunchmoney-mcp setup # Store your API token in the OS keychain
npx lunchmoney-mcp # Start the MCP server (stdio)Then add it to your MCP client. For Claude Desktop, add this to your config:
{
"mcpServers": {
"lunchmoney": {
"command": "npx",
"args": ["lunchmoney-mcp"]
}
}
}That's it. Ask your AI assistant to "show my recent transactions" and you're off.
Features
37 tools -- full CRUD for transactions, categories, tags, budgets, recurring items, assets, and Plaid accounts
Two transport modes -- stdio for local AI clients (Claude Desktop, Cursor) or HTTP for remote/multi-user deployments
Secure credential storage -- API tokens in the OS keychain (macOS Keychain, GNOME Keyring, Windows Credential Manager); OAuth session tokens encrypted with AES-256-GCM
4 OAuth providers -- Google, GitHub, CyberArk Identity, or any custom OAuth 2.1 provider
Deploy anywhere -- Docker, systemd, Railway, Render, Fly.io with one-click configs included
278 tests -- comprehensive test suite with >90% coverage
Setup
Local (stdio mode)
Best for single-user setups with Claude Desktop, Cursor, or other local MCP clients.
# Install globally (optional -- npx works too)
npm install -g lunchmoney-mcp
# Run the setup wizard to store your token securely
lunchmoney-mcp setup
# Start the server
lunchmoney-mcpYour API token is stored in the OS keychain and never written to disk. Get a token at my.lunchmoney.app/developers.
Alternatively, you can configure the token from within your AI assistant using the configureLunchMoneyToken tool -- no terminal required.
Remote (HTTP mode)
Best for multi-user deployments, shared teams, or running on a server.
# Set required environment variables
export LUNCH_MONEY_API_TOKEN="your-token"
export AUTH_PROVIDER="google" # or github, cyberark, custom
export GOOGLE_CLIENT_ID="..."
export GOOGLE_CLIENT_SECRET="..."
export BASE_URL="https://your-domain.com"
# Start the server
lunchmoney-mcp --http --port 8080HTTP mode requires OAuth 2.1 for authentication. See Authentication below.
Environment Variable Fallback
For containers and CI where no OS keychain is available:
export LUNCH_MONEY_API_TOKEN="your-token"
lunchmoney-mcpAuthentication
HTTP mode supports four OAuth providers. Set AUTH_PROVIDER and the corresponding credentials:
AUTH_PROVIDER=google
GOOGLE_CLIENT_ID=your-client-id
GOOGLE_CLIENT_SECRET=your-client-secretGitHub
AUTH_PROVIDER=github
GITHUB_CLIENT_ID=your-client-id
GITHUB_CLIENT_SECRET=your-client-secretCyberArk Identity
AUTH_PROVIDER=cyberark
CYBERARK_TENANT_URL=https://abc1234.id.cyberark.cloud
CYBERARK_CLIENT_ID=your-client-id # or OAUTH_CLIENT_ID
CYBERARK_CLIENT_SECRET=your-secret # or OAUTH_CLIENT_SECRETCustom OAuth
AUTH_PROVIDER=custom
OAUTH_CLIENT_ID=your-client-id
OAUTH_CLIENT_SECRET=your-client-secret
OAUTH_AUTH_URL=https://provider.com/authorize
OAUTH_TOKEN_URL=https://provider.com/token
OAUTH_SCOPES=openid,email # optional, defaults to openid,emailDeployment
Pre-built deployment configs are included in the repository.
Docker
docker build -t lunchmoney-mcp .
docker run -p 8080:8080 \
-e LUNCH_MONEY_API_TOKEN="your-token" \
-e AUTH_PROVIDER=google \
-e GOOGLE_CLIENT_ID="..." \
-e GOOGLE_CLIENT_SECRET="..." \
-e BASE_URL="https://your-domain.com" \
lunchmoney-mcpOr with Docker Compose:
docker compose upsystemd
A systemd service file is included at deploy/lunchmoney-mcp.service. Copy it to /etc/systemd/system/ and configure the environment variables.
Railway
The included railway.json configures the build and start commands automatically. Set your environment variables in the Railway dashboard.
Render
The included render.yaml defines the service as a private worker. Set your environment variables in the Render dashboard.
Fly.io
fly launch
fly secrets set LUNCH_MONEY_API_TOKEN="your-token"
fly secrets set AUTH_PROVIDER=google GOOGLE_CLIENT_ID="..." GOOGLE_CLIENT_SECRET="..."
fly deployTools Reference
Setup (1 tool)
Tool | Description |
| Configure and validate your Lunch Money API token |
User (1 tool)
Tool | Description |
| Get account details including email, name, and currency preferences |
Categories (7 tools)
Tool | Description |
| List all categories including groups and parent categories |
| Get a single category by ID |
| Create a new spending or income category |
| Update an existing category's properties |
| Delete a category by ID |
| Create a new category group with optional category IDs |
| Add existing categories to a category group |
Tags (4 tools)
Tool | Description |
| List all transaction tags |
| Create a new tag for categorizing transactions |
| Update an existing tag's name |
| Delete a tag by ID |
Transactions (10 tools)
Tool | Description |
| List transactions with filtering (date range, category, tags, status) |
| Get a single transaction by ID |
| Create a new transaction (expense, income, or transfer) |
| Update an existing transaction's properties |
| Delete a transaction by ID |
| Bulk update multiple transactions with the same changes |
| Retrieve a transaction group with all child transactions |
| Group multiple transactions under a single parent |
| Delete a group, restoring individual transactions |
| Reverse a split, merging child transactions back into parent |
Recurring Items (4 tools)
Tool | Description |
| List all recurring expense and income items |
| Create a new recurring expense or income item |
| Update an existing recurring item's properties |
| Delete a recurring item by ID |
Budgets (4 tools)
Tool | Description |
| List all budgets with category assignments and date ranges |
| Create a new budget for a category with amount and date range |
| Update an existing budget's amount, category, or date range |
| Delete a budget by ID |
Assets (4 tools)
Tool | Description |
| List all manually-managed assets |
| Create a new manually-managed asset |
| Update an existing asset's properties including balance |
| Delete an asset by ID |
Plaid Accounts (2 tools)
Tool | Description |
| List all Plaid-connected accounts with balances |
| Trigger a Plaid sync to update account balances |
CLI Reference
lunchmoney-mcp # Start in stdio mode (default)
lunchmoney-mcp --http # Start in HTTP mode with OAuth
lunchmoney-mcp --http --port 3000 # HTTP mode on custom port
lunchmoney-mcp setup # Run the interactive setup wizard
lunchmoney-mcp --version # Print versionThe server also reads the PORT environment variable when --port is not specified.
Security
Credentials are stored in your OS keychain and never written to disk in plain text. OAuth session tokens are encrypted with AES-256-GCM, with the encryption key stored in the keychain.
For full details on the two-tier credential architecture, threat model, and deployment security, see SECURITY.md.
Contributing
See CONTRIBUTING.md for development setup, testing guidelines, and pull request requirements.
License
MIT -- Copyright (c) 2026 Joe Garcia
Based on lunch-money-mcp by Gilbert Pellegrom, MIT License.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/infamousjoeg/lunchmoney-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server