econstats-mcp
Economic data MCP server that connects FRED, BLS, BEA, IMF, World Bank, and ECB to any MCP-compatible client, with built-in methodology rules to guide LLMs in selecting appropriate economic indicators.
README
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-mcp
Setup
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 |
|---|---|---|
FRED_API_KEY |
Yes | https://fred.stlouisfed.org/docs/api/api_key.html (free) |
BLS_API_KEY |
Optional | https://data.bls.gov/registrationEngine/ (free, higher rate limits) |
BEA_API_KEY |
Optional | https://apps.bea.gov/API/signup/ (free, for GDP detail) |
IMF, World Bank, and ECB need no keys.
Tools (11)
| Tool | Description |
|---|---|
fred_search |
Search FRED series by keyword |
fred_get_series |
Fetch FRED data with transformations (YoY%, change, etc.) |
bls_get_series |
Fetch BLS data with pre-computed YoY% and monthly changes |
bls_series_lookup |
Find BLS series IDs by keyword |
bea_get_data |
BEA national accounts (GDP components, state data) |
imf_get_data |
IMF International Financial Statistics (190 countries) |
worldbank_get_data |
World Bank development indicators (200+ countries) |
worldbank_search |
Search World Bank indicators |
ecb_get_data |
ECB data (euro area rates, HICP, money supply) |
inflation_adjust |
Convert dollar amounts between dates using CPI-U |
check_release_calendar |
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.