CPI Inflation Calculator MCP
This MCP server provides official U.S. CPI inflation data and calculations from the Bureau of Labor Statistics, with live BLS checks and bundled fallback data.
Adjust any dollar amount for inflation between 1913 and the latest published month using CPI-U, CPI-W, or core CPI.
Get the latest CPI release, including 12-month, 1-month, and year-to-date inflation rates.
Look up annual inflation rates by year, including annual-average and December-to-December changes.
Compare a pay raise or recurring amount against inflation to see real gain or shortfall.
Calculate the Social Security COLA from Q3 CPI-W using the statutory formula.
Receive structured JSON, plain-English summaries, data status, as-of date, and BLS source details.
Handle the October 2025 CPI gap and fall back to bundled data if the live BLS API check fails.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CPI Inflation Calculator MCP What is $1,000 from 2000 worth today?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
cpi-inflation-calculator-mcp
An MCP server that gives an AI assistant the official U.S. Consumer Price Index from the Bureau of Labor Statistics, from 1913 to the latest published month, so it can adjust any dollar amount for inflation, report the current inflation rate, check whether a raise kept pace, and compute the Social Security COLA. It checks the BLS API live for months newer than its training data.
Hosted endpoint, no sign-in and no token:
https://cpi-inflation-calculator-mcp.lipmichal.workers.dev/mcpTools
Tool | What it does |
| Adjusts an amount between any two months ( |
| The latest CPI month from BLS with the 12-month change for CPI-U, core CPI and CPI-W, the 1-month change and the year-to-date change. |
| Annual-average and December-to-December inflation for any year since 1914, plus the latest 12-month rate for the current year. |
| Nominal raise, inflation, real raise, the pay needed to keep pace and the gain or shortfall. |
| The COLA from Q3 CPI-W with the statutory formula, with the index values behind it. |
Every result has structured JSON, a plain-English summary, data_status (live or bundled, latest month), as_of, source (the BLS series) and more (a pay raise calculator on statewage.com).
Related MCP server: Inflation By Api Ninjas
What it knows that your model does not
CPI index values through September 2026 (CPI-U 336.940), with a live check for anything newer.
Inflation was 3.7% over the 12 months to September 2026 (CPI-U, not seasonally adjusted). Core CPI was 2.6%.
BLS published no October 2025 CPI. Data were not collected during the 2025 lapse in appropriations. The tools say so instead of inventing a value, and still use the official 2025 annual average (321.943, 2.6% inflation).
The 2027 Social Security COLA is 3.6%. The tool reproduces it from Q3 2026 CPI-W (average 328.746 against 317.265), and also reproduces 2023 to 2026.
Install
Claude.ai custom connector or ChatGPT developer mode
Add a custom connector and paste the URL. No token is needed.
https://cpi-inflation-calculator-mcp.lipmichal.workers.dev/mcpClaude Code
claude mcp add --transport http cpi-inflation https://cpi-inflation-calculator-mcp.lipmichal.workers.dev/mcpOr run it locally:
claude mcp add cpi-inflation -- npx -y github:theluckystrike/cpi-inflation-calculator-mcpClaude Desktop
Add this to claude_desktop_config.json:
{
"mcpServers": {
"cpi-inflation": {
"command": "npx",
"args": ["-y", "github:theluckystrike/cpi-inflation-calculator-mcp"]
}
}
}Cursor
Add this to ~/.cursor/mcp.json:
{
"mcpServers": {
"cpi-inflation": {
"url": "https://cpi-inflation-calculator-mcp.lipmichal.workers.dev/mcp"
}
}
}VS Code
Add this to .vscode/mcp.json:
{
"servers": {
"cpi-inflation": {
"type": "http",
"url": "https://cpi-inflation-calculator-mcp.lipmichal.workers.dev/mcp"
}
}
}Node 20 or newer is needed for the local npx version. Optional: set BLS_API_KEY to a free BLS registration key for a higher live-data quota.
Example prompts
"What is $1,000 from 2000 worth today?"
"What is the current inflation rate, and what was core inflation?"
"What was inflation in 2025? Was any month missing?"
"My salary went from $60,000 in January 2025 to $63,000 now. Did I beat inflation?"
"How is the 2027 Social Security COLA calculated?"
"Convert $50 in 1970 to 2026 dollars using CPI-W."
Data sources
U.S. Bureau of Labor Statistics CPI series CUUR0000SA0, CWUR0000SA0 and CUUR0000SA0L1E, fetched from the BLS Public Data API on 2026-11-03, plus a live check on each call. The COLA rule is 42 U.S.C. 415(i). See DATA_SOURCES.md.
Limitations
General information, not financial advice.
U.S. city average, not seasonally adjusted. No regional or item-level indexes (food, rent, gas).
The keyless BLS API caps daily requests per IP address. When the cap is hit, the hosted server answers from bundled data through September 2026 and says so in
data_status.Periods with no annual average yet (the current year) use the latest month of that year, with a note.
More
Check a raise after taxes with the pay raise calculator and the Social Security tax calculator on statewage.com.
Part of the Zovo MCP collection: https://mcp.zovo.one
Development
npm install
npm run build
npm testsrc/core.ts holds the CPI math and has no I/O. src/data.ts is the bundled BLS data. src/live.ts checks the BLS API for newer months. src/stdio.ts is the local entry and src/worker.ts is the Cloudflare Worker entry. Both use the same tool registry in src/tools.ts.
License
MIT
More data servers from the same author
Each one is free, needs no API key and has a hosted URL you can paste into Claude or ChatGPT.
server | tools | hosted URL |
convert_ingredient, search_ingredients, scale_recipe, convert_oven_temperature |
| |
calculate_dscr, max_loan_for_target_dscr, rent_needed_for_target_dscr, compare_scenarios, amortization_summary |
| |
get_gold_price_per_gram, get_metal_prices, calculate_jewelry_value, convert_gold_units |
| |
search_lakes, get_lake_level, get_lake_history, compare_lakes |
| |
get_minimum_wage, list_upcoming_increases, compare_states, annual_income_at_minimum_wage |
| |
calculate_overtime_deduction, calculate_tips_deduction, calculate_senior_deduction, estimate_tax_savings, explain_eligibility |
| |
calculate_take_home_pay, compare_states_take_home, salary_to_hourly, hourly_to_salary, get_federal_tax_brackets |
| |
calculate_uk_take_home, get_uk_tax_bands, compare_salaries, marginal_rate_at_income |
| |
list_federal_holidays, is_business_day, add_business_days, count_business_days, invoice_due_date |
| |
calculate_sample_size, estimate_test_duration, test_ab_significance, fisher_exact_test, check_peeking_risk |
| |
get_federal_poverty_level, calculate_premium_tax_credit, check_subsidy_cliff, get_aptc_repayment_cap |
| |
get_ap_score_distribution, estimate_ap_percentile, compare_ap_exams, list_ap_exams, estimate_ap_score_from_composite |
| |
calculate_car_loan_interest_deduction, calculate_salt_deduction, get_tax_brackets_and_standard_deduction, calculate_child_tax_credit |
| |
get_exemption_amounts, calculate_estate_tax, check_gift, compare_years |
| |
get_mileage_rate, calculate_mileage_deduction, get_per_diem_rates, calculate_trip_per_diem, get_high_low_per_diem |
| |
lookup_ingredient_nutrition, calculate_recipe_nutrition, round_nutrition_label, scale_recipe_nutrition |
| |
get_contribution_limits, calculate_max_contribution, get_social_security_cola, compare_years |
| |
calculate_section_179, calculate_bonus_depreciation, get_vehicle_depreciation_limits, calculate_asset_loan_payment |
| |
calculate_rap_payment, compare_rap_vs_standard, get_federal_loan_limits, get_plan_transition_dates |
| |
find_subdomains, resolve_subdomains, get_certificate_history, summarize_attack_surface |
| |
calculate_statutory_sick_pay, calculate_statutory_maternity_pay, get_minimum_wage_rates, check_eligibility |
|
The paid back-office collection (invoices, VAT, PDFs, spreadsheets) is at https://mcp.zovo.one
More from zovo
All free zovo VS Code extensions - file viewers, database clients, formatters. Offline, no telemetry, no sign-up.
Full MCP server catalogue - local-first MCP servers for back-office work: invoices, VAT, PDFs, spreadsheets, payroll.
Hosted no-install MCP endpoints - paste a URL in Claude / Cursor, nothing to install.
Available Tools
5 toolscalculate_inflationInflation calculator (CPI, 1913 to latest month)ARead-onlyIdempotentInspect
Adjusts a dollar amount for inflation between any two periods from 1913 to the latest month the U.S. Bureau of Labor Statistics has published, using the official CPI-U (or CPI-W or core CPI). Checks the BLS Public Data API live for months newer than its bundled data (bundled through September 2026, fetched 2026-11-03), so it knows CPI figures newer than a model's training data. Handles the October 2025 gap: BLS published no October 2025 CPI because of the 2025 lapse in appropriations. Returns the adjusted amount, cumulative and average annual inflation, and the exact index values used.
Inputs: from (required), amount (required), to, series.
calculate_social_security_colaSocial Security COLA from CPI-WARead-onlyIdempotentInspect
Computes the Social Security cost-of-living adjustment for a year with the statutory formula: average CPI-W for July-September of the prior year over the same quarter a year earlier, rounded to 0.1%. Uses official BLS CPI-W values (live check). Reproduces the 3.6% COLA for 2027 that SSA announced in October 2026, and shows the Q3 index values behind it. Covers 1976 onward.
Inputs: cola_year (required).
compare_raise_to_inflationDid a pay raise beat inflation?ARead-onlyIdempotentInspect
Compares a pay change with CPI inflation over the same period using official BLS data through the latest published month (checked live). Returns the nominal raise, inflation, the real (inflation-adjusted) raise, the pay needed to keep pace, and the gain or shortfall. Works for salaries, hourly wages, rents or any recurring amount.
Inputs: from (required), new_pay (required), old_pay (required), to, +1 more.
get_inflation_rateAnnual inflation rate for a yearARead-onlyIdempotentInspect
Returns the official U.S. inflation rate for a calendar year from BLS CPI data: annual-average change (BLS annual averages, including the 2025 average published despite the missing October 2025 index), December-to-December change, and for the current year the latest 12-month rate. Years 1914 to the present for CPI-U and CPI-W, 1958 onward for core CPI.
Inputs: year (required), series.
get_latest_cpiLatest CPI release (live from BLS)ARead-onlyIdempotentInspect
Returns the most recent CPI index values published by the Bureau of Labor Statistics, checked live against the BLS Public Data API: the latest month, the 12-month inflation rate for headline CPI-U, CPI-W and core CPI (less food and energy), the not seasonally adjusted 1-month change, and the year-to-date change. Use it to answer 'what is inflation right now'. If the live check fails it says so and falls back to bundled BLS data (through September 2026).
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
The five tools cover distinct use cases: current CPI snapshot, historical dollar adjustment, annual inflation rate, raise comparison, and Social Security COLA. There is some conceptual overlap between calculate_inflation and compare_raise_to_inflation, and between get_latest_cpi and get_inflation_rate, but the descriptions make the boundaries reasonably clear.
All names use consistent snake_case with a verb_noun structure. The verbs vary appropriately (get, calculate, compare), though get_inflation_rate could arguably be named to distinguish it more sharply from get_latest_cpi.
Five tools is well-scoped for a focused CPI inflation calculator. Each tool corresponds to a clear user question or calculation, and there are no redundant or filler tools.
The surface covers the main workflows: current inflation, adjusting dollar amounts, annual rates, wage/raise comparison, and Social Security COLA. Minor gaps might include direct retrieval of CPI series by category or month, but the existing tools return index values and cover the stated domain well.
Related MCP Connectors
Automatic Brazilian monetary correction for AI: update any amount by IPCA, INPC, IGP-M, SELIC, TR an
BusCalc 1.8.0 exposes 33 public tool families: 26 calculations and seven attributed data lookups. Calculate business pricing, finance, uncertainty, lease economics and emergency dispatch margins. Look up metals, energy, exchange rates, weather, BLS, USDA, Census and selected emergency sources, including NOAA gauges and USGS flood-impact points. Calculations include unsigned replayable receipts. Lookup results include source and observation dates where available. Road and outage coverage varies by location. The public Streamable HTTP endpoint is https://buscalc.com/api/mcp. Direct access is anonymous and rate limited. Full guide: https://buscalc.com/for-ai/
SmartMoney77 MCP v0.6.0 — 14 public tools that turn financial questions into exact numbers and citable links. New: historical_investment_return and compare_investments, which compute "what if I had invested" results from real yearly price data. Also compound interest, FIRE number, credit-card payoff, emergency fund, inflation, latte factor, investment fees, cost of waiting, plus discovery/deep-link/share-pack tools for a catalog of calculators in 6 languages (he/en/ar/es/pt/in). Public, no login. Endpoint: https://smartmoney77.com/mcp
Loan & mortgage calculator, compound interest, ROI, crypto prices, FX conversion for AI agents.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables access to Bureau of Labor Statistics (BLS) economic data including Consumer Price Index, employment statistics, and other labor market indicators. Supports fetching data series, listing available datasets, and retrieving metadata through natural language queries.4MIT
- AlicenseAqualityDmaintenanceEnables access to current inflation data including monthly and annual inflation percentages using CPI (Consumer Price Index) or HICP (Harmonized Index of Consumer Prices) indicators through the API Ninjas Inflation API.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to query official Brazilian Central Bank economic data, including Selic, CDI, IPCA, IGP-M, INCC, exchange rates, and Focus projections, and to correct values for inflation or calculate returns by CDI/Selic percentages.MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to retrieve current and historical U.S. I bond rates, determine what a bond earns by issue month, and estimate current and redemption values with penalty adjustments.5MIT