{
  "slug": "inflation-calculator",
  "mcpServerUrl": "https://plugins-worker.demos.42a.ai/inflation-calculator/mcp",
  "interface": {
    "displayName": "Handy Inflation Calculator",
    "shortDescription": "Old money in today's dollars",
    "longDescription": "Find out what an amount of money from any year is worth today, using official consumer price index data built in: US CPI-U back to 1913, UK CPI and the long-run RPI back to 1800, Canada CPI back to 1914 and the euro area HICP back to 1996.\n\nAsk \"what is $100 in 1990 worth today\" or \"how much was a $40,000 salary in 2005 in 2025 dollars\" and the card shows the equivalent amount, the cumulative inflation, the average yearly rate and what today's money would have bought back then, with a chart of the value year by year and a table of decade milestones. Compare specific months too (January 2020 to January 2026). Move the from and to year sliders to explore. \"Today\" means the latest month published by the statistics office, and the current year uses its latest month rather than a partial average.\n\nData: US CPI-U: U.S. Bureau of Labor Statistics, CPI-U series CUUR0000SA0, through August 2026; UK CPI: Office for National Statistics, CPI series D7BT, through August 2026; UK RPI (long run): Office for National Statistics, long-run RPI series CDKO, through August 2026; Canada CPI: Statistics Canada, tables 18-10-0004-01 and 18-10-0005-01, through August 2026; Euro area HICP: Eurostat, HICP (prc_hicp_aind, prc_hicp_minr), through August 2026. Download the year-by-year values as CSV.",
    "category": "Finance",
    "defaultPrompt": [
      "What is $100 in 1990 worth today?",
      "How much would a $50,000 salary in 2000 be in 2025 dollars?",
      "What is £100 from 1970 worth now in the UK?"
    ],
    "capabilities": [
      "Official CPI data built in: US from 1913, UK from 1800, Canada from 1914, euro area from 1996",
      "Monthly precision where published, latest month for \"today\"",
      "Equivalent amount, cumulative and average yearly inflation",
      "Buying-power comparison in both directions",
      "Year-by-year chart, decade milestones and CSV download"
    ],
    "logo": "https://plugins-worker.demos.42a.ai/inflation-calculator/icon.svg",
    "websiteURL": "https://plugins-worker.demos.42a.ai/inflation-calculator/",
    "supportURL": "https://plugins-worker.demos.42a.ai/support",
    "privacyPolicyURL": "https://plugins-worker.demos.42a.ai/privacy",
    "termsOfServiceURL": "https://plugins-worker.demos.42a.ai/terms",
    "developerName": "42a"
  },
  "keywords": [
    "inflation calculator",
    "what is $100 in 1990 worth today",
    "value of a dollar over time",
    "CPI inflation calculator",
    "buying power calculator",
    "salary adjusted for inflation",
    "how much is 1980 money worth today",
    "UK inflation calculator"
  ],
  "tools": [
    {
      "name": "adjust_for_inflation",
      "title": "Adjust for inflation",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false,
        "idempotentHint": true
      }
    }
  ],
  "dataSources": [],
  "review": {
    "positiveTestCases": [
      {
        "description": "Classic: $100 in 1990 today",
        "prompt": "What is $100 in 1990 worth today?",
        "tools_triggered": [
          "adjust_for_inflation"
        ],
        "expected_behavior": "$256.30 in August 2026 dollars (CPI-U 130.7 to 334.980), +156.3% cumulative."
      },
      {
        "description": "A salary between two years",
        "prompt": "How much would a $50,000 salary in 2000 be in 2025 dollars?",
        "tools_triggered": [
          "adjust_for_inflation"
        ],
        "expected_behavior": "$93,479.38 using the 2000 and 2025 annual averages (172.2 to 321.943), +87.0%."
      },
      {
        "description": "Month to month",
        "prompt": "How much did prices rise from January 2020 to January 2026? What does $1,000 then equal now?",
        "tools_triggered": [
          "adjust_for_inflation"
        ],
        "expected_behavior": "$1,000 in January 2020 equals $1,260.81 in January 2026 (257.971 to 325.252): +26.08%."
      },
      {
        "description": "UK long run",
        "prompt": "What is £100 from 1970 worth now in the UK?",
        "tools_triggered": [
          "adjust_for_inflation"
        ],
        "expected_behavior": "Uses the long-run RPI (CPI starts 1988): £2,275.24 in August 2026 (73.1 to 1,663.2)."
      },
      {
        "description": "Current partial year",
        "prompt": "Canada: what is $20 from 1980 worth in 2026?",
        "tools_triggered": [
          "adjust_for_inflation"
        ],
        "expected_behavior": "2026 is partial, so August 2026 (169.8) is used and the card says so: C$77.18 (1980 average 44.0)."
      }
    ],
    "negativeTestCases": [
      {
        "prompt": "How much will $10,000 be worth in 20 years if I invest it at 7%?",
        "expected_behavior": "Does not call Handy Inflation Calculator: A future investment projection, not historical inflation."
      },
      {
        "prompt": "Convert 100 US dollars to euros.",
        "expected_behavior": "Does not call Handy Inflation Calculator: Currency conversion, not inflation."
      },
      {
        "prompt": "Why is inflation so high right now?",
        "expected_behavior": "Does not call Handy Inflation Calculator: An economics explanation, no amount to adjust."
      }
    ]
  }
}