What is MCP-FREDAPI used for?
It enables AI assistants to query economic time series from the Federal Reserve’s FRED database directly within MCP-compatible environments like Cursor.
@Jaldekoa
Basic information
FRED (Federal Reserve Economic Data) API integration with Model Context Protocol (MCP)
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-fredapi": {
"command": "uv",
"args": [
"run",
"--with",
"mcp",
"--with",
"httpx",
"mcp",
"run",
"server.py"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
MCP-FREDAPI is an MCP server that provides access to economic data from the Federal Reserve Bank of St. Louis (FRED) through the Model Context Protocol. It integrates with the official FRED API, focusing on the series_observations endpoint to retrieve time series data for economic indicators. This server is designed for AI assistants like Claude, enabling them to fetch FRED data directly when used with Cursor or other MCP-compatible environments.
Installation is done via pip (with mcp, httpx, python-dotenv) or uv (recommended). After cloning the repository, set your FRED API key in a .env file. For Cursor, add the server to ~/.cursor/mcp.json using the uv run command. Use the tool @mcp-fredapi:get_fred_series_observations within Claude to query series. Note that only certain parameters currently work: series_id, sort_order, units, frequency, aggregation_method, and output_type. Other parameters like observation_start, limit, and vintage_dates are not working due to MCP limitations.
.env file and mcp.jsonIt enables AI assistants to query economic time series from the Federal Reserve’s FRED database directly within MCP-compatible environments like Cursor.
You can obtain a free API key from the FRED API website (https://fred.stlouisfed.org/docs/api/api_key.html). Set it in the `FRED_API_KEY` environment variable in a `.env` file.
Only `series_id`, `sort_order`, `units`, `frequency`, `aggregation_method`, and `output_type` are functional. Parameters like `realtime_start`, `realtime_end`, `limit`, `offset`, `observation_start`, `observation_end`, and `vintage_dates` are not working.
Add a configuration entry to `~/.cursor/mcp.json` using the `uv` command pointing to your local repository directory. The README provides a full JSON example.
Examples include `GDP` (Gross Domestic Product), `CPIAUCSL` (Consumer Price Index), `UNRATE` (Unemployment Rate), `FEDFUNDS` (Federal Funds Rate), and `A191RL1Q225SBEA` (Real GDP). The README lists several common IDs.

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi

Connect your AI assistant to your own YOUB endurance training account. Read recorded activities with full analysis, planned sessions, race goals, wellness (HRV, sleep, resting HR) and your athletic profile. Create or mov
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40
PickFu MCP is a Model Context Protocol (MCP) server that connects AI assistants, developers, marketers, product managers, and AI agents to PickFu's consumer research platform. It enables users to create surveys, conduct
Painless E2E Automation for Mobile and Web
Comments