Finance Manager MCP
Finance Manager MCP
MCPクライアント向けのセルフホスト型パーソナルファイナンス。銀行は読み取り専用のまま(SimpleFIN)で、データはあなたが所有するローカルSQLiteファイルに保存されます。LLMは決定的な合計値のみを照会でき、台帳に書き込むことは一切ありません。
SimpleFIN (read-only)
→ raw_syncs (append-only JSON)
→ truth tables (accounts, transactions, rules, budgets)
→ warm-cache aggregates
→ atomic functions / MCP tools (stdio + gRPC)この構成の理由
冪等な取り込み — トランザクションは銀行が割り当てた SimpleFIN id をキーにしています。同じダンプを再同期しても正味の新規行はゼロで、同じ外見の新しい取引が誤ってまとめられることはありません。
決定的な分類 — 最初に一致したルールを採用する正規表現ベースです。書き込み経路にモデルは含まれません。
ウォームキャッシュ — 月間支出、キャッシュフロー、純資産スナップショット、定期入出金がSQLiteに保存されるため、再起動してもすぐに利用できます。キャッシュは派生データであり、
rebuild-cacheが元テーブルから再生成します。プロファイルUUID名前空間 — すべての書き込みツールが
profile_idを必須とします。複数のプロファイルが互いに漏れ合うことはありません。デュアルトランスポート — Claude Desktop / Cursor 向けのstdio と、兄弟パッケージ GRPC-MCP による gRPC に対応しています。
Related MCP server: personal-finance-mcp
セットアップ
Python 3.11+.
python -m venv .venv
# Windows: .venv\Scripts\activate
# Unix: source .venv/bin/activate
pip install -e ".[dev]"
# optional gRPC transport (sibling ../GRPC-MCP)
pip install -e "../GRPC-MCP/python"
pip install -e ".[grpc]"cp .env.example .env
# paste a Fernet key into FINANCE_ENCRYPTION_KEY
python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
finance-mcp init # creates data/finance.db + a default profile
finance-mcp profile list # copy the profile UUIDSimpleFIN に接続する
MCPクライアントから銀行への接続を依頼します。エージェントは次の手順を実行します:
begin_simplefin_connectを呼び出します(またはプロンプトconnect_simplefinを使用します)。bridge.simplefin.org を表示します — サインインして銀行(読み取り専用)を接続し、一度だけ使えるセットアップトークンをコピーします。
そのトークンを使って
claim_connectionを呼び出します。アクセスURLは保存時に暗号化されます。任意で、同じ
profile_idに対してsync_nowを実行します。
ターミナルを希望する場合はCLIも引き続き使用できます。
finance-mcp claim-token --token "<setup-token>" --name "My Banks" --profile <PROFILE_UUID>
finance-mcp sync --profile <PROFILE_UUID>sync はTask Scheduler / cron から実行しても安全です。実行時間が重なっても二重にカウントされることはありません。
サーバーを起動する
finance-mcp serve-stdio # Claude Desktop / Cursor
finance-mcp serve-grpc --auth bearer # sibling GRPC-MCP transport
finance-mcp token new --name cursor --profile <PROFILE_UUID>ベアラートークンは一度だけ表示されます。gRPCはSHA-256ハッシュのみを保存します。
アトミック関数
finance_mcp.api 内はすべて素の関数です。MCPツールは薄いラッパーにすぎません。サーバーを起動せずにライブラリをインポートできます:
from finance_mcp.config import Settings
from finance_mcp.core.db import Database
from finance_mcp import api
db = Database.from_settings(Settings.from_env())
print(api.net_worth(db, profile_id))読み取り
list_accounts, get_balances, net_worth, net_worth_history, search_transactions, recent_transactions, spending_by_category, cash_flow, recurring_streams, upcoming_payments, budget_status, list_rules, sync_status, profile_info, list_profiles, begin_simplefin_connect
書き込み(常に profile_id が必要)
claim_connection, create_rule, update_rule, delete_rule, apply_rules, create_budget, update_budget, delete_budget, sync_now
テスト
テストスイートは自己完結型です — 合成フィクスチャのみで、認証情報は不要です。
pytest -qセキュリティ
SimpleFINのアクセスURLは
FINANCE_ENCRYPTION_KEY(Fernet)で暗号化されます。キーを忘れずにバックアップしてください。gRPCのベアラートークンはハッシュとして保存されます。
読み取りツールは
mode=roでSQLiteを開きます。書き込みツールは唯一の変更経路であり、プロファイル単位でスコープされます。data/と.envはgitignoreされています。
ライセンス
自分でホストする個人ファイナンスの用途なら、自由に使ってください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceProvides an MCP server for querying and managing Monarch Money personal finance data through a local SQLite mirror with read-only SQL access. It enables users to sync transaction history from the Monarch API and analyze accounts, categories, and tags.1MIT
- AlicenseAqualityCmaintenanceSelf-hosted, read-only MCP server that connects banks, credit cards, loans, and brokerage accounts via Plaid. 9 tools for balances, transactions, recurring charges, liabilities, and investment holdings.96MIT
- AlicenseBqualityAmaintenanceopen-source personal finance app with a first-party MCP server. 91 HTTP tools (OAuth 2.1 + DCR) and 87 stdio tools cover transactions, budgets, accounts, portfolio analytics, FX conversion, loans, subscriptions, goals, importers, and rules. Users self-host with Docker + PostgreSQL or use the managed cloud8911AGPL 3.0
- FlicenseNot gradedqualityCmaintenanceExposes personal-finance tools like accounts, transactions, spending analysis, budgets, bills, reminders, portfolio, and goals via MCP, enabling any MCP client to query financial data.
Related MCP Connectors
Hosted remote MCP server for YNAB on Cloudflare Workers with OAuth
Personal finance by conversation: expenses, receipts, statement import, budgets, net worth.
Hosted MCP server for Mini Accountant: invoices, expenses, customers, analytics, tax estimates.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/0xArchiviste/Finance-Manager-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server