finance-mcp-server
A personal finance tracker MCP server that imports Rocket Money data or connects banks via SimpleFIN to a local SQLite database, enabling Claude to analyze spending, subscriptions, cash flow, and debt payoff with complete privacy.
README
finance-mcp-server
Your personal finance tracker as an MCP server. Import a Rocket Money CSV into a local SQLite database and ask Claude about it — spending, subscriptions, cash flow, merchant history, debt payoff. Everything stays on your machine; the only thing that leaves is the answer to a question you asked.

The bundled HUD (npm run hud) rendering a synthetic demo dataset — net worth,
per-account balances, category spending, subscription price-hike flags, and a
30-day cash-flow projection with the low point marked.
The analytics engine in src/core/ is pure, dependency-free TypeScript,
kept separate from the MCP and storage layers so a future app can share
the same core.
Setup
npm install
npm run build
Import your data
Export your transactions from Rocket Money (Settings → Export Data → CSV), then:
npm run import -- "C:/path/to/rocket-money-export.csv"
Re-running with an updated export is safe — rows dedupe by a stable hash, so
only genuinely new transactions are added. The database lives at data/finance.db
(override with the FINANCE_DB_PATH env var).
Real-time balances (SimpleFIN)
Live account balances and ongoing transaction sync via SimpleFIN Bridge (read-only bank aggregation, ~$15/yr). Get a one-time setup token from bridge.simplefin.org (My Account), then:
npm run link -- "<paste-setup-token>"
This claims the token into a durable access URL stored locally in
data/finance.db (it never leaves your machine) and runs an initial
365-day sync. After that, balances are live and you can finance_sync (or
just ask Claude to sync) to pull new transactions — no more CSV exports
needed for ongoing data. The CSV import stays useful for the historical
backfill before your bank's sync window.
You can also link from within Claude via the finance_link_bank tool, but
the CLI keeps the token out of the chat transcript.
Local HUD (dashboard)
A glanceable dashboard that reads finance.db fresh on every load — net
worth + account balances, this month's spending by category, subscriptions
with price-hike flags, and a 30-day cash-flow sparkline with the low point
marked. Fully offline (no CDN, no external calls); localhost only.
npm run hud # → http://localhost:4321 (Ctrl+C to stop)
Leave it running and bookmark it; it self-refreshes every 2 minutes and
re-reads the DB, so once your bank is linked the balances stay current.
Override the port with HUD_PORT.
Use it with Claude
Claude Desktop — add to claude_desktop_config.json:
{
"mcpServers": {
"finance": {
"command": "node",
"args": ["/absolute/path/to/finance-mcp-server/dist/index.js"],
"env": { "FINANCE_DB_PATH": "/absolute/path/to/finance-mcp-server/data/finance.db" }
}
}
}
Claude Code — claude mcp add finance -- node /absolute/path/to/finance-mcp-server/dist/index.js
Then ask things like:
- "What did I spend on gas last quarter?"
- "List my subscriptions and flag any price hikes."
- "How much have I paid Amazon over the last year?"
- "Forecast my cash flow for the next 30 days starting from $1,200."
- "Given these balances and APRs, avalanche vs snowball — which saves more?"
Tools
| Tool | What it does |
|---|---|
finance_import_csv |
Import a Rocket Money CSV (idempotent) |
finance_data_overview |
Count, date span, per-category totals |
finance_search_transactions |
Filter by date/category/merchant/amount/flow |
finance_spending_by_category |
Inflow/outflow by category over a range |
finance_list_subscriptions |
Recurring charges + price-hike flags |
finance_cash_flow_forecast |
N-day projection with low-point warning |
finance_merchant_history |
Every charge from a merchant + summary |
finance_debt_payoff_plan |
Avalanche/snowball simulation |
finance_link_bank |
Connect a bank via a SimpleFIN setup token |
finance_balances |
Live per-account balances + net worth |
finance_sync |
Pull new transactions + refresh balances |
finance_disconnect_bank |
Forget the SimpleFIN connection |
finance_add_category_rule |
Map a merchant substring → category (recategorizes matches) |
finance_list_category_rules |
List rules + re-apply them across the store |
finance_remove_category_rule |
Delete a rule |
Fixing miscategorized transactions
CSV history carries Rocket Money's own categories, but transactions synced live from SimpleFIN only have raw bank descriptors, so many land in other. Fix them with rules — just tell Claude, e.g. "categorize anything from Menards as shopping." Each rule matches a case-insensitive substring against the merchant name / descriptor, recategorizes all matches immediately (past and future), and sticks for every later import/sync.
Privacy
data/ and all *.csv files are gitignored. Real transaction history is never
committed and never sent anywhere except when you ask Claude a question that
requires reading it. The screenshot above is generated from synthetic data.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。