canli-mcp / Economic data

How can an AI agent get economic data like inflation and unemployment?

canli-mcp's economic_series tool reads official statistics such as CPI, unemployment and GDP at the source, with year-on-year and other changes computed for you. economic_calendar lists the releases coming up and world_economy covers other countries.

Free and MIT-licensed. No account and no API key. Or run claude mcp add canli -- npx -y canli-mcp in Claude Code.

Ask it

What has US inflation been over the last year?

The agent finds the tool through canli-mcp's find_tool and runs it through run_tool. This is the call:

{
  "name": "economic_series",
  "arguments": {
    "series": "CPIAUCSL",
    "transform": "yoy",
    "last": 12
  }
}

What came back

Recorded from canli-mcp 0.11.1 on 2026-10-25, with no API key set. The model read 1,060 characters.

What economic_series returned, the latest rows
datevalues
2026-02-010.02434
2026-03-010.03286
2026-04-010.037792
2026-05-010.041666
2026-06-010.034635
2026-07-010.033039
2026-08-010.03353
2026-09-010.037173
The result economic_series sent back, in full form
{
  "ref": "r14",
  "series": "CPIAUCSL",
  "title": "Consumer Price Index for All Urban Consumers: All Items in U.S. City Average (CPIAUCSL)",
  "transform": "yoy",
  "count": 12,
  "latest": {
    "date": "2026-09-01",
    "value": 0.037173
  },
  "dates": [
    "2025-09-01",
    "2025-11-01",
    "2025-12-01",
    "2026-01-01",
    "2026-02-01",
    "2026-03-01",
    "…"
  ],
  "values": [
    0.030226,
    0.026964,
    0.026533,
    0.023912,
    0.02434,
    0.03286,
    "…"
  ],
  "source": "https://fred.stlouisfed.org/series/CPIAUCSL",
  "limits": [
    "Federal Reserve Bank of St. Louis (FRED) as published; recent values of many series are revised later.",
    "Some series are copyrighted by their sources; see the source page before republishing.",
    "Not investment advice."
  ]
}

Prices, filings and statistics are as the sources published them on that day; run the call again for today's. Nothing here is investment advice.

The tools behind the answer

From canli-mcp's tool index
ToolPackWhat it does
economic_seriesmarketsAny FRED economic series (inflation, unemployment, GDP, payrolls, rates, credit spreads, oil, FX, money supply, recession indicators) by id or plain words, as dates and values, optionally as changes or year-over-year rates. Feed values straight into analysis tools.
economic_calendarmarketsThe US economic calendar from the agencies' own schedules: when BLS (jobs, CPI, PPI, JOLTS), BEA (GDP, personal income and PCE, trade), the Census Bureau (retail sales, housing starts, durable goods) and the Fed (FOMC decisions) release, with times in US Eastern and the market-moving releases flagged.
world_economymarketsAny country's or region's economy from the World Bank's World Development Indicators (200+ countries, the euro area, the world, income groups): GDP and growth, inflation, unemployment, government debt and deficits, the current account, trade, reserves, interest rates, population and more, by plain words or indicator code, as a year-by-country table with each country's latest value.

Add canli-mcp

Claude Code
claude mcp add canli -- npx -y canli-mcp
Cursor, Claude Desktop or any MCP client
{ "mcpServers": { "canli": { "command": "npx", "args": ["-y", "canli-mcp"] } } }
claude.ai, ChatGPT or any client that takes a URL
https://canlicapital.com/mcp/canli

Everything canli-mcp does · How it compares with other finance MCP servers

Related questions