fred-economic-intelligence-mcp
Click on "Deploy 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., "@fred-economic-intelligence-mcp What is the current unemployment rate?"
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.
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
Related MCP server: mcp-fred
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 syncCreate a .env file locally:
FRED_API_KEY=your_fred_api_keyNever commit the .env file.
Run
uv run python -m fred_economic_intelligence_mcp.serverOr:
uv run fred-economic-intelligence-mcpMain 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-missingOpen-source release
Before publishing, ensure .env, .venv, .coverage, caches, and Git internals are excluded from the archive and repository.
Available Tools
12 toolsbuild_economic_digital_twinB
Build an explainable economic-state digital twin from normalized signals.
Inputs: signals (required), as_of_date. Returns: object
calculate_growth_rateA
Calculate absolute and percentage change for a FRED series.
The comparison observation is selected by calendar date rather
than only by list position, which avoids off-by-one errors when
observations contain missing values.
Examples:
CPIAUCSL with periods=12 for year-over-year change.
GDP with periods=1 for quarter-over-quarter change.
UNRATE with periods=1 for month-over-month change.
Inputs: series_id (required), periods. Returns: object
compare_seriesA
Retrieve and compare multiple FRED economic series.
This tool fetches metadata and observations for each requested
series concurrently.
Example series IDs:
["GDP", "UNRATE", "CPIAUCSL", "FEDFUNDS"]
Inputs: series_ids (required), limit, observation_end, observation_start. Returns: object
explain_economic_signalC
Explain domain scores, series contributions, uncertainty, and methodology.
Inputs: signals (required). Returns: object
get_series_metadataA
Retrieve metadata for a FRED economic series.
Examples of series IDs:
GDP, CPIAUCSL, UNRATE, FEDFUNDS.
Inputs: series_id (required). Returns: object
get_series_observationsC
Retrieve observations for a FRED economic series.
Examples of series IDs:
GDP, CPIAUCSL, UNRATE, FEDFUNDS.
Inputs: series_id (required), limit, observation_end, observation_start. Returns: object
health_checkA
Check whether the FRED MCP server is running.
Inputs: no named parameters. Returns: object
latest_snapshotC
Return the latest valid observation for multiple FRED series.
Inputs: series_ids (required). Returns: object
query_economic_graphC
Query the curated macroeconomic knowledge graph.
Inputs: query (required), max_depth. Returns: object
run_agent_workflowC
Run the supervisor-led multi-agent economic intelligence workflow.
Inputs: question (required), shocks, signals. Returns: object
search_seriesC
Search FRED for economic data series using keywords.
Examples:
unemployment rate, inflation, consumer price index,
mortgage rates, housing starts, retail sales.
Inputs: search_text (required), limit. Returns: object
simulate_economic_scenarioC
Propagate transparent directional shocks through the economic digital twin.
Inputs: shocks (required), signals (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools have clearly distinct purposes, but there is slight potential for confusion between advanced tools like 'simulate_economic_scenario' and 'build_economic_digital_twin' or 'explain_economic_signal' and 'query_economic_graph'. Overall, an agent can differentiate them with careful description reading.
All tool names follow a consistent verb_noun pattern in snake_case, e.g., 'search_series', 'get_series_observations', 'simulate_economic_scenario'. This makes the set predictable and easy to navigate.
With 12 tools, the server is well-scoped. It covers data retrieval, analysis, and advanced simulation without being overwhelming. Each tool contributes meaningfully to the economic intelligence domain.
The tool set is comprehensive for a FRED-based economic intelligence server. It includes search, metadata, observations, multiple series operations, growth rates, and advanced features like digital twin, scenario simulation, and agent workflows. No obvious gaps are present.
Maintenance
Related MCP Connectors
Hosted MCP server for SEC, FRED, Polymarket, Deribit, OKX, and FMP.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
MCP server for building and testing AI agents with multi-model experimentation and insights.
One MCP and REST API giving AI agents sourced figures on economics, markets, companies and calendars
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA 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.2-
- AlicenseNot gradedqualityBmaintenanceAn 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.Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEconomic 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.MIT
- FlicenseAqualityDmaintenanceMCP server that enables semantic search over macroeconomic data using the Lambda Capture API.110-