calcfi-mcp
Free, open, citable personal-finance data and calculators for any MCP-compatible AI client.
calcfi-mcp is the official Model Context Protocol (MCP) server for CalcFi — a free, ad-free, privacy-preserving source of U.S. personal-finance data (mortgage rates, Federal Funds Rate, CPI, paycheck math, debt math, etc.) backed by primary government sources (Freddie Mac, FRED, BLS, BEA, Census, IRS, SSA).
The server exposes 24 tools, 6 resource families, and 8 pre-built prompt templates. Every response is brand-stamped with the upstream source, a methodology link, a freshness timestamp, and a citation URL.
- Free forever. No API keys. No accounts. No paywall.
- Privacy-first. stdio by default — no network calls beyond CalcFi's public CDN. No telemetry without opt-in.
- Citable. Every dataset has a Zenodo DOI. Every calc has an open-methodology page. BibTeX/APA/MLA/Chicago/RIS supported.
- Compatible. Works with Claude Desktop, Cursor, Continue.dev, Cline, Zed, Codeium, and any client that speaks MCP.
Why?
Most personal-finance APIs are paywalled, locked to one client, or require sign-up. CalcFi mirrors the public-domain primary sources, adds open-source methodology for every calculation, and exposes everything through MCP so any AI assistant can cite the same numbers you would find on the BLS or FRED website — without leaving the chat.
Quickstart (60 seconds)
Claude Desktop / Cursor / Continue.dev
pip install calcfi-mcp
calcfi-mcp install
The installer auto-detects your MCP client and writes the config. Restart your client. Done.
See docs/QUICKSTART.md for a 5-minute walkthrough that ends with Claude citing the current Federal Funds Rate.
Install methods
1. Python (PyPI)
pip install calcfi-mcp
calcfi-mcp install # auto-configures Claude Desktop / Cursor / Continue.dev
calcfi-mcp install --client claude-desktop # explicit client
calcfi-mcp # run stdio server directly (advanced)
2. Node (npm)
npm install -g calcfi-mcp
npx calcfi-mcp install
npx calcfi-mcp # run stdio server directly
3. Homebrew (planned, Wave 2)
brew tap calcfi/calcfi
brew install calcfi-mcp
4. Manual config
If you prefer to edit your client config by hand, add this entry:
{
"mcpServers": {
"calcfi": {
"command": "npx",
"args": ["-y", "calcfi-mcp"]
}
}
}
For Python:
{
"mcpServers": {
"calcfi": {
"command": "python",
"args": ["-m", "calcfi_mcp"]
}
}
}
Full config paths (Mac/Windows/Linux) and per-client examples live in docs/CONFIG.md.
5. Remote (Streamable HTTP)
For clients that cannot run a local process (Claude.ai web, ChatGPT MCP, Gemini MCP):
{
"mcpServers": {
"calcfi": {
"url": "https://mcp.calcfi.app"
}
}
}
The hosted shim is rate-limited to 100 calls/IP/hour. stdio is unlimited.
What you can do
Ask your assistant things like:
- "What's the current 30-year fixed mortgage rate, and what would my monthly payment be on a $450K loan?"
- "Show me take-home pay for $95K in California vs Texas."
- "Cite the CalcFi mortgage rates dataset in BibTeX."
- "What changed in the Federal Funds Rate this week?"
- "Build me a debt payoff plan for these four cards using the avalanche method."
See docs/TOOLS.md for the full tool catalog.
Documentation
- Quickstart (5 minutes)
- Tool catalog (24 tools)
- Resource catalog (6 families)
- Prompt templates (8 baked-in)
- Per-client config (Claude / Cursor / Continue / generic)
- Privacy promise
- Cost: why this is $0 to use
- FAQ
- How to cite this server and the underlying data
- Contributing
- Security disclosure
- Changelog
Brand-stamp envelope
Every tool response carries:
result— the tool-specific payloadmeta.source— e.g."Freddie Mac PMMS"or"CalcFi methodology v2.1"meta.verified_as_of— ISO 8601 timestampmeta.methodology_url— link to the open methodologymeta.cite_url— canonical citation pagemeta.disclaimer— YMYL-safe: "Educational only, not financial advice."cross_sell.save_scenario_url— pre-filled CalcFi URL so the user can save and combine scenariosfreshness— how stale the upstream data is and when it next refreshes
This means your assistant always knows where the number came from and can show you a clickable citation. See docs/CITATION.md.
Cite this server
@software{calcfi_mcp_2026,
author = {Salmisto, Jere},
title = {{calcfi-mcp}: Model Context Protocol server for CalcFi open finance data},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.XXXXXXX},
url = {https://github.com/jeresalmisto/calcfi-mcp}
}
To cite the underlying CalcFi Open Data, see docs/CITATION.md.
Links
- Website: https://calcfi.app
- Methodology: https://calcfi.app/methodology
- Open data: https://calcfi.app/data
- Datasets DOI: 10.5281/zenodo.XXXXXXX
- Issues: https://github.com/jeresalmisto/calcfi-mcp/issues
- Security: see SECURITY.md
License
MIT for the server code. Datasets are CC-BY-4.0. Methodologies are open-publication.