Lets agents query Lunch Money transactions, budgets and spending patterns in natural language.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add lunch-money --env LUNCHMONEY_TOKEN='<LUNCHMONEY_TOKEN>' -- npx -y lunchmoney-mcp-server~/.codex/config.toml
[mcp_servers.lunch-money]
command = "npx"
args = ["-y", "lunchmoney-mcp-server"]
env = { LUNCHMONEY_TOKEN = "<LUNCHMONEY_TOKEN>" }
# codex mcp add lunch-money --env LUNCHMONEY_TOKEN='<LUNCHMONEY_TOKEN>' -- npx -y lunchmoney-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"lunch-money": {
"command": "npx",
"args": [
"-y",
"lunchmoney-mcp-server"
],
"env": {
"LUNCHMONEY_TOKEN": "<LUNCHMONEY_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"lunch-money": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"lunchmoney-mcp-server"
],
"env": {
"LUNCHMONEY_TOKEN": "<LUNCHMONEY_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"lunch-money": {
"command": "npx",
"args": [
"-y",
"lunchmoney-mcp-server"
],
"env": {
"LUNCHMONEY_TOKEN": "<LUNCHMONEY_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"lunch-money": {
"command": "npx",
"args": [
"-y",
"lunchmoney-mcp-server"
],
"env": {
"LUNCHMONEY_TOKEN": "<LUNCHMONEY_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"lunch-money": {
"command": "npx",
"args": [
"-y",
"lunchmoney-mcp-server"
],
"env": {
"LUNCHMONEY_TOKEN": "<LUNCHMONEY_TOKEN>"
}
}
}
}需要的环境变量
LUNCHMONEY_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。