calcfi-mcp
Model Context Protocol (MCP) server for CalcFi free financial data.
A pip install-friendly wrapper that launches the official Node-based CalcFi MCP server over stdio. Gives Claude Desktop, Cursor, Continue, Cline, and any other MCP-compatible agent live access to:
- BEA — Bureau of Economic Analysis (GDP, personal income)
- BLS — Bureau of Labor Statistics (CPI, unemployment, wages)
- Census — household income, ACS
- FRED — Federal Reserve Economic Data
- Freddie Mac — mortgage rates (PMMS)
Free-tier only. No paid API keys required. No CalcFi account required.
Install
pip install calcfi-mcp
Requires Python 3.9+ and Node.js 18+ (the wrapper will print install instructions if Node is missing).
On first run, the wrapper will offer to npm install -g calcfi-mcp-server for you. Pass --yes to skip the confirmation prompt.
Quick start — Claude Desktop
-
Install the package:
pip install calcfi-mcp
-
Print the config snippet:
calcfi-mcp --print-config -
Paste the output into your Claude Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
- macOS:
-
Restart Claude Desktop. You should see a
calcfiMCP server appear.
The snippet looks like:
{
"mcpServers": {
"calcfi": {
"command": "calcfi-mcp",
"args": []
}
}
}
Quick start — Cursor / Continue / Cline
Any MCP client that supports stdio transport works the same way — point command at calcfi-mcp (the script installed on your PATH by pip install).
For Cursor: ~/.cursor/mcp.json
For Continue: project .continue/config.json
For Cline: VS Code settings → cline.mcpServers
CLI reference
calcfi-mcp Launch the MCP stdio server (default)
calcfi-mcp --print-config Print a JSON config snippet to paste into your MCP client
calcfi-mcp --install Force-install the Node-side calcfi-mcp-server
calcfi-mcp --yes Skip the npm install confirmation prompt
calcfi-mcp --version Print the wrapper version
calcfi-mcp --help Show help
How it works
calcfi-mcp is a thin Python launcher. The actual MCP protocol implementation is the Node package calcfi-mcp-server. On first run, this wrapper:
- Checks
node --versionis available - Checks
calcfi-mcp-serveris installed globally; offers tonpm install -git if not - Spawns the Node server as a subprocess and proxies stdin / stdout / stderr verbatim to your MCP client
Stdlib only — no requests, no httpx, no surprise dependencies.
Free tier
All CalcFi data sources are public, free, and rate-limited at provider quotas. CalcFi does not charge for MCP access.
Cite CalcFi
If you build research on top of CalcFi data, please cite:
Salmisto, J. (2026). CalcFi: open personal-finance calculation engine. Zenodo. https://doi.org/10.5281/zenodo.calcfi
Disclaimer
CalcFi output is educational only. Not financial, tax, legal, or investment advice. Always verify against primary sources (BEA, BLS, Census, FRED, Freddie Mac).
Links
- Website: https://calcfi.app
- Source: github.com/jeresalmisto/calcfi-mcp
- Node package:
calcfi-mcp-server - DOI: 10.5281/zenodo.calcfi
- License: MIT
Metadata
Release files for calcfi-mcp 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| calcfi_mcp-0.1.6.tar.gz | 8.8 kB | Without provenance | Details for calcfi_mcp-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| calcfi_mcp-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for calcfi_mcp-0.1.6-py3-none-any.whl |
Total release size: 19.3 kB
Release files / calcfi_mcp-0.1.6.tar.gz
| Download URL | calcfi_mcp-0.1.6.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f30323fa542919dc4a845c357ccdafe55daf858c8d215f7a7a23261d1d72e48
|
|
BLAKE2b-256 checksum How to use checksums |
ccdf4fae192dcf9ab289d42290f090844b3a67dca2c6fdee76c07ea1fb0a655a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / calcfi_mcp-0.1.6-py3-none-any.whl
| Download URL | calcfi_mcp-0.1.6-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25ff84cdd2e229a3c1889fd27bcec0be15b68c91adbae0a5edc5b5efe6a24005
|
|
BLAKE2b-256 checksum How to use checksums |
1803a867c35402a41d9ba29cc2eccc2cd4f22ed6615c0325fb51bf8300253584
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for calcfi-mcp 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.