FRED (Federal Reserve Economic Data) API

How to connect FRED (Federal Reserve Economic Data) to Cursor

Add the Firecrawl MCP server to Cursor once and it can call the FRED (Federal Reserve Economic Data) API and every other provider in Firecrawl Alexandria, with no FRED (Federal Reserve Economic Data) integration code.

Open Markdown

To connect FRED (Federal Reserve Economic Data) to Cursor, add the Firecrawl MCP server to Cursor, sign in on a Firecrawl team with Alexandria enabled, and ask for FRED (Federal Reserve Economic Data) data in plain language. The connection works in Cursor's agent and chat, and you set it up once.

Cursor uses FRED (Federal Reserve Economic Data) as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for FRED (Federal Reserve Economic Data).

Cursor is an AI code editor. Its agent uses MCP servers for outside tools, and the Firecrawl MCP server adds web search, scraping and every data provider in Firecrawl Alexandria.

How do I connect FRED (Federal Reserve Economic Data) to Cursor?

  1. Install the Firecrawl MCP server

    Open the install dialog in Cursor, check that the URL is Firecrawl's hosted server, then select Install.

    Cursor's Install MCP server dialog with the Firecrawl hosted server URL
  2. Connect your Firecrawl account

    Use the server's sign-in option in Cursor's MCP settings. Firecrawl opens in your browser: sign in, choose a team with Alexandria enabled, and approve access. A green dot next to Firecrawl means it's connected.

    Cursor's MCP list showing Firecrawl connected with its tools enabled
  3. Ask Cursor's agent for the data

    In the agent chat, ask in plain language and mention FRED (Federal Reserve Economic Data) or Firecrawl Alexandria. The agent finds the FRED (Federal Reserve Economic Data) capability that fits and runs it. For example:

    Use Firecrawl to find five FRED series matching unemployment rate, with their series IDs, units and observation date ranges.

What can Cursor do with FRED (Federal Reserve Economic Data)?

FRED (Federal Reserve Economic Data), the St. Louis Fed's database of US and international economic time series: headline US indicators such as the monthly unemployment rate (UNRATE), CPI inflation (CPIAUCSL), GDP (GDP, GDPC1), nonfarm payrolls (PAYEMS), the federal funds rate (FEDFUNDS) and Treasury yields (DGS10), plus 800,000+ other series, including the BLS producer price indexes (PPI) for steel: iron and steel (WPU101), hot-rolled steel sheet / HRC (WPU10170301, discontinued after 2022), hot-rolled bars and plates (WPU101704) and cold-rolled sheet (WPU101707), with latest level and month-over-month and year-over-year change in one call (an index, not a cash HRC quote). Search series by text, browse categories, releases, sources and tags, read one series' metadata (units, frequency, seasonal adjustment, source, notes, date range, last update) and fetch its observations (daily, weekly, monthly, quarterly or annual values) with date window, frequency aggregation and transformation, paginated, from the site's keyless JSON, CSV and HTML endpoints.

Cursor can run any of FRED (Federal Reserve Economic Data)'s 11 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

  • Category: Browse the FRED category tree from the site's category pages (server-rendered HTML). Without `category_id` (or with 0) it lists the top-level categories; with an id it returns that category's name, breadcrumb path, child categories (with FRED's printed series count) and the series listed on one page (50 per page, `pageID` pagination via `page`/`next_page`), each with id, title, the attributes line as printed (units, frequency, seasonal adjustment) and the observation range as printed. An unknown category id is `not_found`. Costs 5 Firecrawl credits per call.
  • Release: One FRED release from its site page (/release?rid=): name, publishing source, the release's website link, its release tables (element ids with FRED's printed record counts, for the site's /release/tables view) and one 50-row page of the series in the release (id, group title, attributes line split into units / frequency / seasonal adjustment when FRED's vocabulary allows, observation range as printed), with `page`/`next_page`. An unknown release id is `not_found`. Costs 5 Firecrawl credits per call.
  • Releases: List FRED data releases (e.g. Gross Domestic Product, Employment Situation) from the site's /releases page: alphabetical, 50 per page with `page`/`next_page`; `total` is the count FRED prints ("Releases 1 - 50 of 332"). A page past the end is `not_found`. Costs 5 Firecrawl credits per call.
  • Series: Metadata for one FRED economic time series (e.g. UNRATE unemployment rate, CPIAUCSL consumer price index, GDP) from the site's series JSON (graph/api/series): title, units, frequency, seasonal adjustment, source, notes, first and last observation date, last update, the transformations (units codes) and aggregation frequencies FRED offers for it. An unknown series id is `not_found`. Costs 5 Firecrawl credits per call.
  • Series observations: The data points of one FRED economic time series, e.g. the monthly US unemployment rate (UNRATE), CPI inflation (CPIAUCSL), quarterly GDP, nonfarm payrolls (PAYEMS), the federal funds rate (FEDFUNDS) or the 10-year Treasury yield (DGS10), from the site's keyless CSV export (graph/fredgraph.csv): date/value rows, optionally windowed by date, aggregated to a lower frequency and transformed (percent change, change from year ago, ...). The full CSV is fetched once and paginated client-side with `limit`/`offset`; `count` is the total number of rows FRED returned for the request. Values FRED leaves blank (not yet published, missing) are `value: null` with `raw: "."`, matching the FRED API's missing-value marker. The CSV is always FRED's current vintage, identified by `last_updated` / `vintage_date` (the series' last update, from the response's Last-Modified header, in FRED's US Central clock) with `realtime_start` / `realtime_end` as the period the vintage is known to have been current (vintage date to fetch date); past vintages (as-of values) are not available keyless (the CSV ignores `vintage_date` / `revision_date`). An unknown series id is `not_found`. Costs 5 Firecrawl credits per call.
  • Series search: Search FRED series by free text through the site's series autocomplete (graph/api/series/sitesearch). Returns matching series with id, title, observation date range, frequency, units and seasonal adjustment; at most `limit` results (the site answers with a bounded suggestion list, so there is no further page). A query with no match is an empty result. Costs 5 Firecrawl credits per call.
  • Source: One FRED data source from its site page (/source?soid=): name and the releases it publishes (id, name, url). An unknown source id is `not_found`. Costs 5 Firecrawl credits per call.
  • Sources: List FRED data sources (statistical agencies, central banks, researchers) from the site's /sources page: alphabetical, 50 per page with `page`/`next_page`; `total` is the count FRED prints. A page past the end is `not_found`. Costs 5 Firecrawl credits per call.
  • Steel ppi: Latest level, month-over-month and year-over-year change of the US steel producer price indexes (BLS PPI, republished by FRED), each with its FRED source URL https://fred.stlouisfed.org/series/{id}. Default basket: WPU101 iron and steel, WPU1017 steel mill products, WPU10170301 hot-rolled steel sheet and strip (HRC; BLS stopped publishing it after February 2022, so it is flagged `discontinued` with a note naming the current proxies), WPU101704 hot-rolled bars, plates and structural shapes, WPU101707 cold-rolled steel sheet and strip, and PCU331110331110 iron and steel mills and ferroalloy manufacturing (industry PPI). Any other FRED series id can be passed in `series_ids`. For each series: title, units (index base), frequency, seasonal adjustment, last update, the latest non-missing observation, the observation one month earlier (`mom_pct`) and twelve months earlier (`yoy_pct`), percent changes rounded to 0.01. These are BLS producer price index levels, not a cash HRC price, spot quote or CME HRC futures settlement. An unknown series id is `not_found`. Costs 5 Firecrawl credits per call.
  • Tag series: Series carrying every one of the given tags, from the site's /tags/series page: 50 per page in FRED's popularity order with `page`/`next_page`; `total` is the count in the page title ("9,767 Series"); `tags` echoes the tags FRED applied (machine name and display name). Each series carries id, group title, the attributes line (units / frequency / seasonal adjustment split out when FRED's vocabulary allows) and the observation range as printed. A tag FRED does not know is `not_found` (the site would otherwise ignore it and list the whole catalogue). Costs 5 Firecrawl credits per call.

See all 11 capabilities and their inputs on the FRED (Federal Reserve Economic Data) API page.

What should I ask Cursor?

Name FRED (Federal Reserve Economic Data) or Firecrawl Alexandria in the prompt so Cursor reaches for it. Each example opens in Cursor with the prompt filled in.

Troubleshooting

Why can't Cursor find FRED (Federal Reserve Economic Data)?

If Firecrawl's tools in Cursor stop at search, scrape and parse, the connection is keyless and doesn't include Alexandria. Finish the sign-in from Cursor's MCP settings, or add an API key from a team with Alexandria enabled.

Firecrawl shows a red dot in Cursor. What should I do?

Open Cursor's MCP settings, sign in to Firecrawl again, and restart the agent chat so it loads the tools.

Use FRED (Federal Reserve Economic Data) in other AI apps

The same Firecrawl account reaches FRED (Federal Reserve Economic Data) from other AI apps. Pick one for its setup steps:

Other data providers you can connect to Cursor

Frequently Asked Questions

What is Firecrawl?

Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl MCP server brings those tools into Cursor, along with every data provider in Firecrawl Alexandria.

What is Firecrawl Alexandria?

Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, FRED (Federal Reserve Economic Data) among them. Each provider returns structured data through documented capabilities. Cursor finds the capability that fits your question and calls it through the Firecrawl MCP server, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.

Is there a FRED (Federal Reserve Economic Data) MCP server for Cursor?

Cursor reaches FRED (Federal Reserve Economic Data) through Firecrawl's hosted MCP server, which serves FRED (Federal Reserve Economic Data) and every other Alexandria provider as tools. Add the Firecrawl MCP server once and you don't install or host a separate MCP server for FRED (Federal Reserve Economic Data).

What does connecting FRED (Federal Reserve Economic Data) to Cursor unlock?

Cursor can run all 11 of FRED (Federal Reserve Economic Data)'s capabilities, including Category, Release and Releases, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to find five FRED series matching unemployment rate, with their series IDs, units and observation date ranges." In the same conversation, Cursor can combine FRED (Federal Reserve Economic Data) with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

Do I need my own FRED (Federal Reserve Economic Data) account or API key to use it in Cursor?

No. Cursor calls FRED (Federal Reserve Economic Data) through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate FRED (Federal Reserve Economic Data) account or API key.

How much does it cost to use FRED (Federal Reserve Economic Data) in Cursor?

Each FRED (Federal Reserve Economic Data) call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to Cursor, and finding the right capability is free.

Can Cursor use other providers besides FRED (Federal Reserve Economic Data)?

Yes. The same Firecrawl MCP server reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.

Can I use FRED (Federal Reserve Economic Data) in other AI apps?

Yes. Connect Firecrawl to ChatGPT, Claude, Grok Bot, Muse signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same FRED (Federal Reserve Economic Data) capabilities are available there. Keyless connections don't include Alexandria.

//
Get started
//
Ready to build?
Start getting web context for free and scale seamlessly as your project expands. No credit card needed.
Are you an AI agent? See setup options