No key, no signup
Call it from a browser, a notebook or an AI client. Nothing to provision.
CORS-open
Cross-origin requests are allowed, so it works straight from front-end code.
Sourced & cited
Every response carries its data source and an attribution URL.
JSON API
One endpoint serves everything. Add a ?dataset= query to narrow it down, or request a single occupation by its BLS SOC code. No authentication.
https://www.mycalculators.app/api/public/economic-dataDatasets
| Query | Dataset | Returns |
|---|---|---|
?dataset=inflation | Inflation (CPI) | Current CPI level + 12-month change, with a category breakdown. |
?dataset=categories | Category inflation | 12-month price change by spending category. |
?dataset=prices | Average prices | Everyday goods — gas, eggs, milk, electricity — with YoY change. |
?dataset=wages | Wages | Median, mean and 10th–90th percentile pay by occupation. |
?dataset=rates | Mortgage rates | 30- and 15-year fixed averages (Freddie Mac via FRED). |
?occupation=151252 | One occupation | Full wage distribution for a single BLS SOC code. |
Calling the base endpoint with no query returns the full snapshot. An unknown dataset returns a400 with a helpful message; an unknown SOC code returns 404.
Example request
curl "https://www.mycalculators.app/api/public/economic-data?dataset=inflation"Example response (trimmed)
{
"meta": {
"source": "U.S. Bureau of Labor Statistics (BLS); Freddie Mac via FRED",
"attribution": "Data: U.S. BLS & Freddie Mac (FRED). Provided free by mycalculators.app.",
"generatedAt": "…"
},
"cpi": { "index": 335.123, "yoy": 4.2, "asOf": "May 2026" },
"categoryInflation": [ /* … by category … */ ]
}MCP Server
Our Model Context Protocol server lets assistants like Claude, ChatGPT and Cursor call our data and our tested calculation engines directly in a chat. It speaks Streamable HTTP (JSON-RPC 2.0) at a single URL — no key.
https://www.mycalculators.app/api/mcpAdd to a client (config)
{
"mcpServers": {
"mycalculators": {
"url": "https://www.mycalculators.app/api/mcp"
}
}
}…or one command (Claude Code)
claude mcp add --transport http mycalculators https://www.mycalculators.app/api/mcpAlready listed & verified on the Stork MCP directory.
Available tools
mortgage_paymentFull PITI monthly payment + loan totals.
biweekly_savingsInterest saved and time cut by biweekly payments.
rent_vs_buyBuy-vs-rent net worth and break-even year.
refinance_breakevenRefi monthly savings and break-even months.
tdee_and_macrosCalories (BMR/TDEE), goal target and macros.
current_mortgage_ratesLatest 30- & 15-year fixed mortgage rates.
current_inflationLatest CPI inflation + category breakdown.
average_pricesAverage prices of everyday goods.
salary_by_occupationWage distribution + percentile placement.
List tools over HTTP
curl -X POST https://www.mycalculators.app/api/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Call a tool
curl -X POST https://www.mycalculators.app/api/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "mortgage_payment",
"arguments": { "homePrice": 450000, "downPayment": 90000, "ratePct": 6.5, "years": 30 }
}
}'Usage & attribution
Both the API and the MCP server are free to use with no key. The underlying figures come from public-domain U.S. government releases — the Bureau of Labor Statistics and Freddie Mac via FRED — and are refreshed daily.
When you display the data, please credit MyCalculators.app and the original source (each response includes an attribution string and citation URL). Results are educational estimates, not financial or medical advice. Please be reasonable with request volume; there are no hard rate limits today.
See our Terms of Use.
Building something with it?
We'd love to hear about it — and we take requests for new datasets and tools.
pr@mycalculators.app