Lunch Money
平台与服务by akutishevsky
用于管理 LunchMoney 个人财务的 MCP server,支持 transactions、budgets、categories 等操作。
什么是 Lunch Money?
用于管理 LunchMoney 个人财务的 MCP server,支持 transactions、budgets、categories 等操作。
README
LunchMoney MCP Server
A Model Context Protocol (MCP) server implementation for LunchMoney, providing programmatic access to personal finance management through LunchMoney's API. Also available as an MCP Bundle (.mcpb) for easy installation in Claude Desktop.
<a href="https://glama.ai/mcp/servers/@akutishevsky/lunchmoney-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@akutishevsky/lunchmoney-mcp/badge" alt="LunchMoney Server MCP server" /> </a>Table of Contents
- Overview
- Features
- Usage
- Example Prompts
- Available Tools
- Development
- API Reference
- Contributing
- License
Overview
This MCP server enables AI assistants and other MCP clients to interact with LunchMoney data, allowing for automated financial insights, transaction management, budgeting, and more.
Features
Comprehensive Tool Coverage
- User Management - Access user account details
- Categories - Create, update, and organize spending categories
- Tags - Manage transaction tags
- Transactions - Full CRUD operations on transactions with advanced filtering
- Recurring Items - Track and manage recurring expenses
- Budgets - Create and monitor budgets by category
- Assets - Track manually-managed assets
- Plaid Accounts - Manage connected bank accounts
- Cryptocurrency - Track crypto holdings
Key Capabilities
- Full integration with LunchMoney API v1
- Type-safe implementation with TypeScript and Zod validation
- Token-efficient responses using TOON encoding instead of JSON, reducing token usage in AI conversations
- Modular architecture for easy extension
- Standard MCP server implementation using stdio transport
Usage
Installation Options
Option 1: MCP Bundle (.mcpb) - Recommended
The easiest way to install this server is as an MCP Bundle in Claude Desktop:
- Download the latest
.mcpbfile from the releases page - Open Claude Desktop and go to Extensions
- Click "Install Extension" and select the downloaded
.mcpbfile - Enter your LunchMoney API token when prompted (get it from LunchMoney Developer Settings)
- The LunchMoney tools will be immediately available
Option 2: Manual MCP Configuration
To use this MCP server with any MCP-compatible client (such as Claude Desktop), you need to add it to the client's configuration.
Configuration
The server can be configured in your MCP client's configuration file. The exact location and format may vary by client, but typically follows this pattern:
{
"mcpServers": {
"lunchmoney": {
"command": "npx",
"args": ["@akutishevsky/lunchmoney-mcp"],
"env": {
"LUNCHMONEY_API_TOKEN": "your-api-token-here",
"LUNCHMONEY_DEBUG": "true"
}
}
}
}
Note:
LUNCHMONEY_DEBUGis optional. Set it to"true"to enable debug logging of API requests and responses to stderr. Useful for troubleshooting.
Replace "your-api-token-here" with your actual LunchMoney API token from LunchMoney Developer Settings.
Common MCP Client Configuration Locations
Different MCP clients store their configuration in different locations:
-
Claude Desktop:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
- macOS:
-
Other MCP Clients: Check your client's documentation for the configuration file location.
Setup Steps
- Locate your MCP client's configuration file (create it if it doesn't exist).
- Add the LunchMoney server configuration to the
mcpServerssection. - Save the file and restart your MCP client.
- The LunchMoney tools should now be available in your client.
Requirements
- Node.js 16+ installed on your system
npxavailable in your system PATH- Valid LunchMoney API token with appropriate permissions
As a standalone MCP server
# Run with npx
LUNCHMONEY_API_TOKEN="your-api-token" npx @akutishevsky/lunchmoney-mcp
Example Prompts
Here are some example prompts you can use with the LunchMoney MCP server:
Account Overview
- "Show me my LunchMoney account details"
- "What's my current account status?"
Category Management
- "List all my spending categories"
- "Create a new category called 'Subscriptions' with a monthly budget of $100"
- "Show me details for my 'Food & Dining' category"
- "Create a category group for all my entertainment expenses"
- "Delete the 'Unused Category' and reassign its transactions to 'Miscellaneous'"
Transaction Management
- "Show me all transactions from last month"
- "Find all transactions over $100 in the past week"
- "Create a new expense for $45.99 at Amazon in the Shopping category"
- "Update transaction #12345 to change the amount to $50"
- "Show me all pending transactions"
- "Group these coffee shop transactions together"
Budgeting
- "Show me my budget summary for this month"
- "Set a budget of $500 for Groceries this month"
- "Remove the budget for Entertainment category"
- "How much have I spent vs budgeted in each category?"
Asset Tracking
- "List all my assets"
- "Create a new asset for my savings account with a balance of $10,000"
- "Update my investment account balance to $25,000"
Recurring Expenses
- "Show me all my recurring expenses"
- "What subscriptions do I have?"
- "List recurring items for the next 3 months"
Banking Integration
- "Show me all my connected Plaid accounts"
- "Refresh my bank account data"
- "Trigger a sync for my checking account"
Cryptocurrency
- "Show me all my crypto holdings"
- "Update my Bitcoin balance to 0.5 BTC"
- "List all my manually tracked crypto assets"
Analysis & Insights
- "What are my top spending categories this month?"
- "Show me all transactions tagged as 'vacation'"
- "Find all transactions at coffee shops"
- "List all transactions that need to be categorized"
Available Tools
User Tools
get_user- Retrieve current user details
Category Tools
get_all_categories- List all spending categoriesget_single_category- Get details for a specific categorycreate_category- Create a new categorycreate_category_group- Create a category groupupdate_category- Update category propertiesadd_to_category_group- Add categories to a groupdelete_category- Delete a categoryforce_delete_category- Force delete with data cleanup
Tag Tools
get_all_tags- List all available tags
Transaction Tools
get_transactions- List transactions with extensive filtering optionsget_single_transaction- Get detailed transaction informationcreate_transactions- Create new transactionsupdate_transaction- Update existing transactionunsplit_transactions- Remove transactions from split groupsget_transaction_group- Get transaction group detailscreate_transaction_group- Create a transaction groupdelete_transaction_group- Delete a transaction group
Recurring Items Tools
get_recurring_items- List recurring items for a date range
Budget Tools
get_budget_summary- Get budget summary by date rangeupsert_budget- Create or update budget amountsremove_budget- Remove budget for a category
Asset Tools
get_all_assets- List all manually-managed assetscreate_asset- Create a new assetupdate_asset- Update asset properties
Plaid Account Tools
get_all_plaid_accounts- List all connected Plaid accountstrigger_plaid_fetch- Trigger fetch of latest data from Plaid
Crypto Tools
get_all_crypto- List all cryptocurrency assetsupdate_manual_crypto- Update balance for manually-managed crypto
Development
Project Structure
lunchmoney-mcp/
├── src/
│ ├── index.ts # Server entry point
│ ├── config.ts # Configuration management
│ ├── types.ts # TypeScript type definitions
│ └── tools/ # Tool implementations
│ ├── user.ts
│ ├── categories.ts
│ ├── tags.ts
│ ├── transactions.ts
│ ├── recurring-items.ts
│ ├── budgets.ts
│ ├── assets.ts
│ ├── plaid-accounts.ts
│ └── crypto.ts
├── build/ # Compiled JavaScript output
├── package.json
├── tsconfig.json
└── README.md
Building
# Build the MCP server
npm run build
# Build MCPB package for distribution
npm run build:mcpb
Adding New Tools
- Create a new file in
src/tools/ - Implement tool handlers using the MCP SDK
- Register tools in
src/index.ts - Add types to
src/types.tsif needed
API Reference
The server implements the full LunchMoney API v1. For detailed API documentation, see:
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT License
常见问题
Lunch Money 是什么?
用于管理 LunchMoney 个人财务的 MCP server,支持 transactions、budgets、categories 等操作。
相关 Skills
MCP构建
by anthropics
聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。
✎ 想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。
Slack动图
by anthropics
面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。
✎ 帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。
MCP服务构建器
by alirezarezvani
从 OpenAPI 一键生成 Python/TypeScript MCP server 脚手架,并校验 tool schema、命名规范与版本兼容性,适合把现有 REST API 快速发布成可生产演进的 MCP 服务。
✎ 帮你快速搭建 MCP 服务与后端 API,脚手架完善、扩展顺手,尤其适合想高效验证服务能力的开发者。
相关 MCP Server
Slack 消息
编辑精选by Anthropic
Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。
✎ 这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。
by netdata
io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。
✎ 这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。
by d4vinci
Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。
✎ 这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。