Featured

Deploy OpenClaw in 60 seconds β€” 20% off logoDeploy OpenClaw in 60 seconds β€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger β†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger β†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free β†’
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now β†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data β€” no proxies, no parsers, no maintenance.

Start building free β†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it β€” secured from day one.

Get it set up for you β†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free β†’
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here β†’

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

JosueM1109/personal-finance-mcp MCP server](https://glama.ai/mcp/servers/JosueM1109/personal-finance-mcp/badges/score.svg)](https://glama.ai/mcp/servers/JosueM1109/personal-finance-mcp) 🐍 ☁️ 🏠 - Self-hosted, read-only MCP server that connects banks,...

README.md

personal-finance-mcp

![License: MIT](LICENSE) ![Python 3.11+](https://www.python.org/downloads/) ![MCP](https://modelcontextprotocol.io)

Unofficial. This project is not affiliated with, endorsed by, or sponsored by Plaid Inc. "Plaid" is a trademark of Plaid Inc. This is a self-hosted client that talks to Plaid's API using credentials you supply.

A self-hosted, read-only MCP server that connects your banks, credit cards, loans, and brokerage accounts (via Plaid) to an MCP client like Claude Code. Ask questions about your own finances in plain English β€” no third-party aggregator (Monarch, Mint, etc.) involved.

What you can ask

  • "What's my total balance across all accounts?"
  • "Show me transactions over $100 in the last 30 days."
  • "Which subscriptions am I still paying for?"
  • "How much did I spend on groceries last month?"
  • "Any bank that needs re-authentication?"

Example session (illustrative):

you    : What did I spend on groceries last month?
claude : [calls get_transactions]
         $487.23 across 14 transactions. Top merchants:
         Whole Foods ($198), Trader Joe's ($156), Safeway ($89).

you    : Any subscriptions I'm still paying for?
claude : [calls get_recurring_transactions]
         7 active recurring outflows totaling $142/mo:
         Netflix ($15.99), Spotify ($11.99), NYT ($4), ...

Tools

All 9 tools are read-only. Each returns {<data>: [...], "warnings": [...]} so one broken bank doesn't break the whole query.

| Tool | What it does | | ----------------------------- | -------------------------------------------------------------------- | | list_accounts | Every account across every linked bank, with balances | | get_balances | Live current + available balances (optionally filtered by account) | | get_transactions | Transactions in a date range (up to 2 years back) | | search_transactions | Keyword search across merchant / name / counterparty | | get_recurring_transactions | Detected recurring inflow + outflow streams | | get_liabilities | Credit cards, student loans, mortgages with APRs and payment details | | get_investment_holdings | Current holdings with symbol + security metadata | | get_investment_transactions | Buy / sell / dividend history in a date range | | get_institutions_status | Health of each linked bank (surfaces re-auth needs) |

Quickstart

Requires Python 3.11+, a Plaid account (free Trial plan), and an MCP client.

1. Plaid setup

  1. Sign up at https://dashboard.plaid.com/signup β†’ choose the Trial plan (free, 10 Items).
  2. Team Settings β†’ Products: enable Transactions, Liabilities, Investments.
  3. Team Settings β†’ API: copy your client_id and production secret.

2. Install

git clone https://github.com/JosueM1109/personal-finance-mcp.git
cd personal-finance-mcp
python3.11 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env   # then fill in PLAID_CLIENT_ID and PLAID_SECRET
pytest -v              # sanity check

3. Link each bank

Run once per bank you want to connect:

uvicorn link_helper:app --port 8765

Open http://localhost:8765, click Link a bank, complete Plaid Link. The terminal prints a line like PLAID_TOKEN_CHASE=access-prod-xxx... β€” paste it into .env and repeat for each bank.

4. Run it

python server.py   # serves on http://localhost:8000/mcp

5. Add to Claude Code

claude mcp add --transport http personal-finance http://localhost:8000/mcp

Try "list my accounts" to confirm.

Deployment

For a deployment you can use from anywhere:

  • Docker (included): docker build -t personal-finance-mcp . && docker run --rm -p 8000:8000 --env-file .env personal-finance-mcp
  • Any Python host (Fly.io, Railway, Raspberry Pi + Tailscale, a VPS): set the env vars from .env.example, expose /mcp over HTTPS, gate it with auth.
  • Prefect Horizon (what the author uses β€” $0 recurring cost): see docs/DEPLOYMENT.md for the full walkthrough.

Gate the endpoint. An exposed MCP endpoint with your tokens leaks every linked account. Use OAuth 2.1, Cloudflare Access, or bind to a private network only.

Security

  • Single-tenant. One deployment per person. Don't share.
  • Read-only. No tool mutates state at any institution. Don't add any that do.
  • Tokens live in env vars, never on disk. .env is gitignored.
  • You own Plaid compliance. You're the Plaid customer under your own account.

Before each deploy:

  • [ ] .env never committed: git log --all -- .env returns nothing
  • [ ] No real tokens in history: git log -S'access-prod-' --all returns only placeholders
  • [ ] Auth gate in front of the MCP endpoint (or localhost-only)
  • [ ] HORIZON=1 (or similar) set in deployment env, blocking link_helper.py there
  • [ ] Check get_institutions_status() every few weeks for re-auth needs

Troubleshooting

Tool returns empty despite real data. Plaid products weren't enabled when you linked the bank. Re-link with Transactions + Liabilities + Investments active. The tool surfaces PRODUCTS_NOT_SUPPORTED in warnings when this is the cause.

get_institutions_status() shows re_auth_required. The bank's Plaid session expired. Run link_helper.py in update mode β€” your existing access token stays the same. See docs/DEPLOYMENT.md.

Plaid Link shows a bank as "unsupported" (common with Amex). Usually an INSTITUTION_REGISTRATION_REQUIRED issue β€” OAuth banks need per-institution registration in the Plaid dashboard first. See docs/TROUBLESHOOTING.md.

More issues: docs/TROUBLESHOOTING.md.

Architecture

  • server.py β€” FastMCP server, 9 read-only tools.
  • plaid_client.py β€” Plaid SDK wrapper: SecretStr token redaction, 5-minute per-Item health cache, response shaping, structured error mapping.
  • link_helper.py β€” Local-only FastAPI app for Plaid Link. Refuses to run if HORIZON=1 is set.

Deeper dive (including why /transactions/get over /transactions/sync): docs/ARCHITECTURE.md.

Contributing

See CONTRIBUTING.md. Scope is deliberately narrow: read-only, single-tenant, Plaid-backed.

See related servers & alternatives β†’

Related MCP servers

Browse all β†’

Related guides

Hand-picked reading to help you choose and use Vector & Memory servers.