econstats-mcp
Click on "Install 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., "@econstats-mcpAdjust $100 from 2020 to today using CPI"
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.
econstats-mcp
Economic data MCP server with an economist's methodology guide. Connects FRED, BLS, BEA, IMF, World Bank, and ECB to any MCP-compatible client.
What makes it different
Not just data access — the server includes methodology rules that teach LLMs which series to pick:
CPI vs PCE for inflation (and why they diverge)
Prime-age EPOP vs headline unemployment for labor market tightness
YoY % change for CPI/PPI indexes, monthly change for employment
BLS direct on release day (FRED lags 30-60 minutes)
Real wages: explains which of 4 measures it's using and why
Quick Start
# Install Bun if needed
curl -fsSL https://bun.sh/install | bash
# Run (get a free FRED API key at https://fred.stlouisfed.org/docs/api/api_key.html)
FRED_API_KEY=your-key bunx econstats-mcpSetup
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"econstats": {
"command": "bunx",
"args": ["econstats-mcp"],
"env": { "FRED_API_KEY": "your-key" }
}
}
}Claude Code
Add to ~/.claude/.mcp.json:
{
"mcpServers": {
"econstats": {
"type": "stdio",
"command": "bunx",
"args": ["econstats-mcp"],
"env": { "FRED_API_KEY": "your-key" }
}
}
}OpenBB
Connect as an MCP server in the OpenBB workspace AI settings.
API Keys
Key | Required | Get it |
| Yes | |
| Optional | https://data.bls.gov/registrationEngine/ (free, higher rate limits) |
| Optional | https://apps.bea.gov/API/signup/ (free, for GDP detail) |
IMF, World Bank, and ECB need no keys.
Caching
The server now uses a two-layer cache:
L1: in-process memory cache for hot repeated queries in a single MCP process
L2: optional shared Redis cache for cross-process or hosted deployments
If you are running a shared MCP endpoint for OpenBB users, set these optional env vars:
Key | Required | Purpose |
| Optional | Shared cache backend URL |
| Optional | Shared cache backend token |
| Optional | Cache prefix, defaults to |
| Optional | Set to |
TTL policy is source-aware:
Hot FRED series like
PAYEMS,UNRATE,CPIAUCSL,CPILFESL,PCEPILFE: 15 minutesStandard FRED series: 6 hours
BLS / BEA: 6-12 hours
IMF / ECB: 24 hours
World Bank and BLS lookup catalogs: days to weeks
Release calendar: 15 minutes
The cache layer also deduplicates in-flight requests, so a burst of identical OpenBB tool calls only triggers one upstream API request.
Startup prefetch is disabled by default because short-lived stdio clients can create unnecessary upstream traffic. Turn it on only when you are running a persistent shared MCP service.
Tools (11)
Tool | Description |
| Search FRED series by keyword |
| Fetch FRED data with transformations (YoY%, change, etc.) |
| Fetch BLS data with pre-computed YoY% and monthly changes |
| Find BLS series IDs by keyword |
| BEA national accounts (GDP components, state data) |
| IMF International Financial Statistics (190 countries) |
| World Bank development indicators (200+ countries) |
| Search World Bank indicators |
| ECB data (euro area rates, HICP, money supply) |
| Convert dollar amounts between dates using CPI-U |
| Check if today is a data release day |
Data Sources
All data comes from free, public government APIs. We attribute all data to its source agency (Federal Reserve, BLS, BEA, IMF, World Bank, ECB). No data is redistributed — each query fetches directly from the source.
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/joshfwaldman1/econstats-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server