fred-economic-intelligence-mcp

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.

Category
Visit Server

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_check
  • search_series
  • get_series_metadata
  • get_series_observations
  • compare_series
  • latest_snapshot
  • calculate_growth_rate

Agentic intelligence

  • query_economic_graph
  • retrieve_economic_evidence
  • build_economic_digital_twin
  • simulate_economic_scenario
  • explain_economic_signal
  • run_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_change
  • unemployment_change
  • inflation_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

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured