fred-economic-intelligence-mcp
An MCP server that provides economic intelligence using FRED data, including series search, metadata, observations, comparisons, and a curated macroeconomic knowledge graph with GraphRAG, digital twin simulation, and explainability.
README
FRED Agentic Economic Intelligence MCP
An open-source, MCP-native economic intelligence server built on the Federal Reserve Economic Data API. The project combines deterministic FRED tools with a curated economic knowledge graph, graph-enhanced retrieval, explainability, an Economic Digital Twin, scenario simulation, and a LangGraph-compatible multi-agent workflow.
Capabilities
- FRED series search, metadata, observations, comparison, snapshots, and calendar-aware growth calculations
- MCP tools for economic graph queries and evidence retrieval
- Curated macroeconomic knowledge graph with transparent edges and confidence metadata
- Lightweight GraphRAG using graph traversal plus local evidence retrieval
- Economic Digital Twin with growth, inflation, labor, policy, housing, and financial-condition states
- Directional scenario simulation with propagation traces and explicit limitations
- Explainability through data provenance, domain attribution, graph paths, and citations
- Supervisor-led multi-agent workflow compatible with LangGraph
- Deterministic fallback mode that does not require an LLM API key
Important scope statement
This is a research-grade decision-support project. The digital twin and scenario engine are transparent directional models, not validated causal macroeconomic forecasts or investment advice.
Install
uv sync
Create a .env file locally:
FRED_API_KEY=your_fred_api_key
Never commit the .env file.
Run
uv run python -m fred_economic_intelligence_mcp.server
Or:
uv run fred-economic-intelligence-mcp
Main MCP tools
FRED data
health_checksearch_seriesget_series_metadataget_series_observationscompare_serieslatest_snapshotcalculate_growth_rate
Agentic intelligence
query_economic_graphretrieve_economic_evidencebuild_economic_digital_twinsimulate_economic_scenarioexplain_economic_signalrun_agent_workflow
Normalized signal convention
Digital-twin inputs use values from -1.0 to 1.0:
- positive: indicator increased or strengthened
- negative: indicator decreased or weakened
- zero: neutral or unavailable
The twin applies indicator-specific interpretation. For example, increases in unemployment or initial claims contribute negatively to labor-market strength.
Example:
{
"CPIAUCSL": 0.25,
"UNRATE": 0.40,
"PAYEMS": -0.10,
"HOUST": -0.30,
"T10Y2Y": -0.50
}
Scenario shocks
Supported MVP shocks:
policy_rate_changeunemployment_changeinflation_change
Example:
{
"policy_rate_change": -0.5
}
Test
uv run pytest -v --cov=fred_economic_intelligence_mcp --cov-report=term-missing
Open-source release
Before publishing, ensure .env, .venv, .coverage, caches, and Git internals are excluded from the archive and repository.
<!-- mcp-name: io.github.prithvi1029/fred-economic-intelligence -->
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.