jeresalmisto

calcfi-mcp

Community jeresalmisto
Updated

Open-source MCP server for CalcFi — 24 tools exposing primary-source US financial data (FRED/BLS/Freddie PMMS/Treasury/IRS) to Claude/ChatGPT/Cursor. Free, stdio-first, /usr/bin/bash hosting.

calcfi-mcp

npm versionPyPI versionLicense: MITCIDOI

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 payload
  • meta.source — e.g. "Freddie Mac PMMS" or "CalcFi methodology v2.1"
  • meta.verified_as_of — ISO 8601 timestamp
  • meta.methodology_url — link to the open methodology
  • meta.cite_url — canonical citation page
  • meta.disclaimer — YMYL-safe: "Educational only, not financial advice."
  • cross_sell.save_scenario_url — pre-filled CalcFi URL so the user can save and combine scenarios
  • freshness — 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

License

MIT for the server code. Datasets are CC-BY-4.0. Methodologies are open-publication.

MCP Server · Populars

MCP Server · New

    respawn-llc

    tool-filter-mcp

    MCP proxy server that filters tools from upstream MCP servers via regex-based deny list

    Community respawn-llc
    Kaelio

    ktx-ai-data-agents-context

    ktx is an executable context layer for data and analytics agents 🐙 Allow Claude Code, Codex, and any AI agent to query data accurately through MCP with skills, memory and a semantic layer

    Community Kaelio
    bergside

    TypeUI - Build better UI with AI

    Build better UI with Codex, Claude, Cursor and other AI tools

    Community bergside
    Regsorm

    code-index-mcp

    Rust-native code index MCP server with first-class 1C:Enterprise (BSL) support. Static binary, no runtime. 25 tools — 18 universal + 7 BSL-specific. Tree-sitter AST for 10 languages. Federation across multiple repos. Built for production-scale monorepos.

    Community Regsorm
    chirikuuka

    MLIT Geospatial MCP Server

    MCP Server

    Community chirikuuka