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
Related MCP server: WorldBank GDP & Employment MCP Server
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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceA Model Context Protocol server that provides access to Federal Reserve Economic Data (FRED), enabling users to retrieve, analyze, and compare economic indicators and time series data through natural language.Last updated2
- Flicense-qualityDmaintenanceAn MCP server that interfaces with the WorldBank API to retrieve economic and labor market data such as GDP and employment indicators. It allows LLMs to query global development statistics including unemployment rates, labor force participation, and sectoral employment data.Last updated
- Flicense-qualityDmaintenanceAn MCP server that wraps the Federal Reserve Economic Data (FRED) API, providing access to over 800,000 economic time series like GDP and unemployment. It enables AI agents to search for data, retrieve metadata, and fetch historical observations directly from the St. Louis Fed.Last updated
- FlicenseAqualityCmaintenanceA local MCP server that gives Claude and other MCP clients access to Federal Reserve Economic Data (FRED) — 800,000+ economic time series covering GDP, inflation, employment, interest rates, and more.Last updated31
Related MCP Connectors
Fetch US Bureau of Labor Statistics data — CPI, unemployment, wages, JOLTS, and more via MCP.
Macro data for AI agents: GDP, inflation, unemployment and more (World Bank, US BLS). No keys.
MCP server for US Treasury Fiscal Data — debt, interest rates, exchange rates, and spending.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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