finance-mcp

finance-mcp

Local-first personal finance MCP that aggregates bank, brokerage, credit, and loan accounts via Plaid and writes balances, holdings, and transactions to an Obsidian-style markdown vault, with access tokens stored securely in macOS Keychain.

Category
访问服务器

README

<!-- mycelium-badges:start -->

<p> <a href="https://github.com/adelaidasofia/finance-mcp/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/adelaidasofia/finance-mcp?color=blue"></a> <a href="https://github.com/adelaidasofia/finance-mcp/stargazers"><img alt="GitHub stars" src="https://img.shields.io/github/stars/adelaidasofia/finance-mcp?color=eab308"></a> <a href="https://github.com/adelaidasofia/finance-mcp/commits/main"><img alt="Last commit" src="https://img.shields.io/github/last-commit/adelaidasofia/finance-mcp"></a> <a href="https://github.com/adelaidasofia/finance-mcp/issues"><img alt="Open issues" src="https://img.shields.io/github/issues/adelaidasofia/finance-mcp"></a> <a href="https://pypi.org/project/adelaidasofia-finance-mcp/"><img alt="PyPI version" src="https://img.shields.io/pypi/v/adelaidasofia-finance-mcp?color=blue&label=pypi"></a> <a href="https://pypi.org/project/adelaidasofia-finance-mcp/"><img alt="PyPI downloads" src="https://img.shields.io/pypi/dm/adelaidasofia-finance-mcp?color=blue&label=downloads"></a> <a href="https://myceliumai.co"><img alt="Built by Mycelium AI" src="https://img.shields.io/badge/built_by-Mycelium_AI-15B89A"></a> </p>

<!-- mycelium-badges:end -->

finance-mcp

Local-first personal finance MCP. Aggregates bank, brokerage, credit, and loan accounts via Plaid. Writes balances, holdings, and transactions to your local Obsidian-style markdown vault. Access tokens stay in macOS Keychain. Never sends data anywhere except plaid.com.

What it does

  • Link any US bank or brokerage via Plaid (Chase, Citi, Schwab, Discover, Fidelity, Wells Fargo, Bank of America, Capital One, Vanguard, Robinhood, Coinbase, student-loan servicers, 12,000+ institutions total).
  • Pull live balances for every account → writes the auto-sync block in your vault's Accounts.md.
  • Pull investment holdings with shares, cost basis, current value → writes Investments.md.
  • Pull transactions cursor-style (delta only after first sync) → stores in local SQLite.
  • Roll up monthly cash flow by category → writes Cash Flow.md.
  • Pull liabilities (credit-card APRs, statement balances, student-loan payoff info).
  • Audit log every Plaid call and every keychain access.

Why local-first matters

Most personal-finance SaaS (Mint, Copilot, YNAB, Monarch) puts your bank data on their servers and charges you for the privilege. This MCP:

  • Runs on your laptop, talks directly to Plaid, writes to your local vault.
  • Stores access tokens in macOS Keychain, not env files or any database.
  • Never returns access tokens in tool responses — items are referenced by alias (chase, citi, etc.).
  • Vault data is plain markdown with inline Dataview fields — your data, your format, queryable forever.

Install

Open Claude Code, paste:

/plugin marketplace add adelaidasofia/finance-mcp
/plugin install finance-mcp@finance-mcp

Requires macOS (for Keychain) and Python 3.11+. After install, set your Plaid credentials in .env at the plugin root (see SETUP.md for the Plaid signup walkthrough).

First-time use

> healthcheck

If it shows blockers, follow them. Once green:

> link_start(institution_alias="chase")

Open the returned link_token in Plaid's Link demo page (paste the token in the field labeled "Link Token", then click "Open Plaid Link"). Complete bank auth in the browser. Copy the public_token from the success page.

> link_complete(institution_alias="chase", public_token="public-sandbox-...")

Repeat for each bank.

> sync_balances
> sync_holdings
> sync_transactions
> rollup_month(month="2026-05")

Your vault's Accounts.md, Investments.md, and Cash Flow.md now have auto-sync blocks with current data. Re-run any time.

Tool surface

Tool What it does
healthcheck Verify Plaid creds, vault path, keychain access.
link_start(alias) Start linking a new bank. Returns link_token.
link_complete(alias, public_token) Exchange public_token, store in Keychain.
list_linked List linked institutions + last-sync timestamps.
unlink(alias) Remove an institution. Revokes Plaid item + deletes Keychain entry.
sync_balances([alias]) Pull current balances → Accounts.md.
sync_holdings([alias]) Pull investment positions → Investments.md.
sync_transactions([alias]) Cursor-based transaction sync → SQLite.
sync_liabilities([alias]) Pull credit + loan details.
sync_all([alias]) All of the above in sequence.
rollup_month(month) Compute monthly income/expense rollup → Cash Flow.md.
audit_tail(n) Last N audit-log entries.

Security model

  • Plaid access_token lives in macOS Keychain (security CLI), service name finance-mcp, account name = your institution alias.
  • Plaid client_id + secret live in .env (chmod 600). Never committed (in .gitignore).
  • Transaction history lives in SQLite at ~/.claude/finance-mcp/data.db (not in your vault).
  • Vault writes only happen inside the configured FINANCE_MCP_FINANCE_FOLDER. Set to empty string to disable vault writes entirely.
  • Audit log records every Plaid call and every keychain operation.
  • Tool responses never include raw access tokens.

Plaid environments

  • sandbox (default): fake banks, fake credentials (user_good / pass_good). Free forever. Use this first.
  • development: real banks, free up to 100 items per Plaid account. Use this for personal accounts.
  • production: real banks at scale. Requires a Plaid application + paid plan.

Set via PLAID_ENV in .env. Switch by re-linking all institutions (tokens are environment-bound).

Companion MCPs

  • jkoelker/schwab-mcp — Direct Charles Schwab Trader API for options, trade placement, and deep position data beyond what Plaid exposes.
  • tomasgesino/schwab-mcp — Schwab wheel-strategy management with dry-run-default trading.

finance-mcp covers Schwab basic balances and holdings via Plaid; the above are the route for Schwab power-user features.

Related MCPs in this family

Telemetry

This plugin sends a single anonymous install signal to myceliumai.co the first time it loads in a Claude Code session on a given machine.

What is sent:

  • Plugin name (e.g. slack-mcp)
  • Plugin version (e.g. 0.1.0)

What is NOT sent:

  • No user identifiers, names, emails, tokens, or API keys
  • No file paths, message content, or anything from your work
  • No IP address is stored after dedup processing

Why: Helps the maintainer know which plugins people actually install, so attention goes to the ones that get used.

Opt out: Set the environment variable MYCELIUM_NO_PING=1 before launching Claude Code. The hook will skip the network call entirely. Already-pinged installs leave a sentinel at ~/.mycelium/onboarded-<plugin> — delete it if you want to reset state.

License

MIT. See LICENSE.


<details> <summary>Legacy install (manual)</summary>

For users who can't use the plugin marketplace yet, the manual flow:

git clone https://github.com/adelaidasofia/finance-mcp ~/.claude/finance-mcp
cd ~/.claude/finance-mcp
pip3 install --break-system-packages -r requirements.txt
cp .env.example .env
chmod 600 .env

Then register with Claude Code by adding to your vault's .mcp.json (project scope) or ~/.claude.json (user scope, via claude mcp add):

"finance": {
  "type": "stdio",
  "command": "python3",
  "args": ["-m", "finance_mcp.server"],
  "env": {
    "PYTHONPATH": "/Users/<you>/.claude/finance-mcp",
    "FINANCE_MCP_VAULT_PATH": "/Users/<you>/Documents/MyVault",
    "FINANCE_MCP_FINANCE_FOLDER": "Finance"
  }
}

Restart Claude Code. Tools appear under mcp__finance__*.

</details>


Built by Adelaida Diaz-Roa. Full install or team version at diazroa.com.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选