A
securityA
licenseA
qualityAn MCP server that lets AI assistants interact with your Lunchmoney data, enabling natural language queries about transactions, budgets, and spending patterns.
Last updated -
4
3
8
TypeScript
MIT License
本服务用于查询职工餐厅就餐人数数据,提供指定日期范围内的早餐和午餐就餐人数统计。
docs: https://modelcontextprotocol.io/quickstart/server
在使用服务之前,需要配置以下环境变量:
CANTEEN_API_TOKEN
: API认证令牌CANTEEN_API_BASE
: API基础URL服务提供以下功能:
get_canteen_data
: 查询指定日期范围内的餐厅就餐人数数据start_date
: 开始日期,格式为YYYYMMDD(如20250331)end_date
: 结束日期,格式为YYYYMMDD(如20250331)period
: 相对时间范围,可选值:today
: 今天yesterday
: 昨天day_before_yesterday
: 前天this_week
: 本周last_week
: 上周this_month
: 本月last_month
: 上月打开并编辑文件: ~/Library/Application\ Support/Claude/claude_desktop_config.json,内容如下:
重启不报错,且有锤子
图标显示可用的 MCP Tool,即为成功;否则,查看日志排查
缺少必要的环境变量配置
日期格式不正确,请使用YYYYMMDD格式
HTTP请求失败
或 API返回错误
无法连接到MCP服务器
日志文件夹:~/Library/Logs/Claude
来自具体 MCP Server 的日志:mcp-server-canteen.log
MCP 连接通用日志:mcp.log
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A service that provides cafeteria dining statistics, allowing users to query breakfast and lunch attendance numbers within a specified date range.