# How to connect OECD Data Explorer SDMX API to Claude

> Connect OECD Data Explorer SDMX API to Claude with the Firecrawl connector. Use OECD Data Explorer SDMX API as an MCP tool in Claude via Firecrawl Alexandria.

To connect OECD Data Explorer SDMX API to Claude, add the Firecrawl connector to Claude, sign in on a Firecrawl team with Alexandria enabled, and ask for OECD Data Explorer SDMX API data in plain language. The connection works in Claude on the web, Claude Desktop and Cowork, and you set it up once.

Claude uses OECD Data Explorer SDMX API as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for OECD Data Explorer SDMX API.

Claude is Anthropic's AI assistant. Connectors give it tools from other services, and the Firecrawl connector adds web search, scraping and every data provider in Firecrawl Alexandria.

## How do I connect OECD Data Explorer SDMX API to Claude?

### 1. Add the Firecrawl connector

Open the [Firecrawl connector in Claude's connector directory](https://claude.ai/directory/connectors/firecrawl) and select Connect to Claude. In Claude Desktop you can also go to Customize, then Connectors, and search for Firecrawl.

[Add to Claude](https://claude.ai/directory/connectors/firecrawl)

![The Firecrawl connector in Claude's directory with the Connect to Claude button](https://www.firecrawl.dev/images/alexandria/connect/claude/add-connector.webp)

### 2. Connect your Firecrawl account

Claude opens Firecrawl in your browser. Sign in, choose a team with Alexandria enabled, and approve access. No account yet? You can create one for free in the same flow.

![Firecrawl's consent screen listing what claude.ai can do, including running Alexandria data providers](https://www.firecrawl.dev/images/alexandria/connect/claude/authorize.webp)

### 3. Turn on Firecrawl in a chat

In a new conversation, open the + menu, go to Connectors and switch on Firecrawl.

![Claude's + menu open on Connectors with the Firecrawl switch turned on](https://www.firecrawl.dev/images/alexandria/connect/claude/turn-on.webp)

### 4. Ask Claude for the data

Ask in plain language and mention OECD Data Explorer SDMX API or Firecrawl Alexandria. Claude finds the OECD Data Explorer SDMX API capability that fits, checks its inputs and runs it. For example:

```text
Use Firecrawl to run OECD Data Explorer SDMX API's Codelist get capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
```

## What can Claude do with OECD Data Explorer SDMX API?

OECD Data Explorer SDMX 2.1 REST API (sdmx.oecd.org/public/rest): any public OECD dataflow by country and period, including G20 international merchandise trade and balance-of-payments services trade (quarterly), Revenue Statistics (tax revenue by type, % of GDP), Social Expenditure (SOCX) and quarterly/annual sector accounts, plus financial market indicators. Dataflow catalogue, structures (dimensions and codes with data), codelists and observations as records. Select observations with `filters` (dimension id to code(s), e.g. REF_AREA USA) and start_period/end_period; the program places the codes in key order. Anonymous, no key.

Claude can run any of OECD Data Explorer SDMX API's 6 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **Codelist get**: Codes and labels of one SDMX codelist from GET codelist/{agency}/{id}/{version}: code, English name and parent code. Codelist references come from `structure_get` (dimensions[].codelist, attributes[].codelist). Paginated client-side. Costs 5 Firecrawl credits per call.
- **Dataflows list**: Find OECD dataflows by keyword: id, agency, version, name and the `dataflow_ref` every other function takes, from GET dataflow/{agency}/all/latest?detail=allstubs (about 1,500 public dataflows with `agency` = all). `q` filters by a case-insensitive substring of the name or id (e.g. `revenue statistics`, `social expenditure`, `sector accounts`, `merchandise trade`). Common dataflows: G20/OECD merchandise trade OECD.SDD.TPS:DSD_IMTS@DF_IMTS (REF_AREA incl. G20, G7, OECD; TRADE_FLOW X exports, M imports, TB balance; FREQ Q/M/A; UNIT_MEASURE USD_EXC); quarterly trade in services and goods from balance of payments OECD.SDD.TPS:DSD_BOP@DF_BOP (MEASURE S services, G goods; ACCOUNTING_ENTRY C credit (exports), D debit (imports), B balance; FREQ Q); annual services by partner and category OECD.SDD.TPS:DSD_BOP@DF_TIS; Revenue Statistics OECD.CTP.TPS:DSD_REV_COMP_OECD@DF_RSOECD (STANDARD_REVENUE _T total tax, T_1000 income, T_1100 personal income, T_1200 corporate, T_2000 social security, T_4000 property, T_5000 goods and services; UNIT_MEASURE PT_B1GQ % of GDP; SECTOR S13 general government); Social expenditure (SOCX) OECD.ELS.SPD:DSD_SOCX_AGG@DF_SOCX_AGG (EXPEND_SOURCE ES10 public, ES20 mandatory private; PROGRAMME_TYPE _T total, TP11 old age...; UNIT_MEASURE PT_B1GQ % of GDP); quarterly sector accounts OECD.SDD.NAD:DSD_NASEC1@DF_QSA (SECTOR S1 total economy, S11 non-financial corporations, S13 government, S14 households, S1M households and NPISH; TRANSACTION B6G disposable income, B8G saving, B9 net lending...); annual sector accounts OECD.SDD.NAD:DSD_NASEC10@DF_TABLE14. Countries are ISO3 codes in REF_AREA; periods are 2024, 2024-Q3, 2024-07. Costs 5 Firecrawl credits per call.
- **Records get**: One observation by its source identity: dataflow, full series key (no wildcards, no `+`) and TIME_PERIOD, from GET data/{flow}/{series key}?startPeriod=P&endPeriod=P as SDMX-CSV. not_found when OECD has no observation for that series and period. Costs 5 Firecrawl credits per call.
- **Records list**: Observations of one dataflow selected by country, other dimension codes and period, as records. Give `filters` (dimension id to code(s); REF_AREA is the country) or a raw `key`, plus optional start_period/end_period. Unknown dimensions or codes without data fail with invalid_input listing the valid ones; a combination with no data is not_found. Selections above 50,000 observations are rejected: add filters or a period range. One data download per page (OECD allows about 60 per hour); rows are sorted canonically and the cursor pins the dataflow version and segment hash, so a publication change fails with upstream_error `publication_changed` instead of mixing data. Each record carries every dimension and attribute code, obs_value, time_period, series_key, source_record_id and source_url; Revenue Statistics and financial market rows also get a typed `mapped` view. Common dataflows: merchandise trade incl. G20 aggregate OECD.SDD.TPS:DSD_IMTS@DF_IMTS, quarterly services/goods trade (balance of payments) OECD.SDD.TPS:DSD_BOP@DF_BOP, Revenue Statistics OECD.CTP.TPS:DSD_REV_COMP_OECD@DF_RSOECD, SOCX OECD.ELS.SPD:DSD_SOCX_AGG@DF_SOCX_AGG, quarterly sector accounts OECD.SDD.NAD:DSD_NASEC1@DF_QSA; structure_get and dataflows_list list their key codes. Costs 5 Firecrawl credits per call.
- **Source status**: Cheap check of one selection (`filters` or `key`) of a dataflow from GET availableconstraint/{flow}/{key}?mode=exact (cached 2 h upstream): resolved dataflow version, obs_count, time range and the codes present per dimension, plus the segment's data file URL. With `include_hash` the SDMX-CSV segment is downloaded once and hashed canonically (the same hash records_list pins in its cursor). Useful to see which codes and periods exist for a country before collecting. Costs 5 Firecrawl credits per call.
- **Structure get**: Describe one dataflow: dimension ids in key order, the codelist of each, the codes that actually carry data per dimension, attributes, total obs_count and time range (stub, data structure definition and whole-flow availability). Use it to choose `filters` for records_list; code labels come from codelist_get. Common dataflows: G20/OECD merchandise trade OECD.SDD.TPS:DSD_IMTS@DF_IMTS (REF_AREA incl. G20, G7, OECD; TRADE_FLOW X exports, M imports, TB balance; FREQ Q/M/A; UNIT_MEASURE USD_EXC); quarterly trade in services and goods from balance of payments OECD.SDD.TPS:DSD_BOP@DF_BOP (MEASURE S services, G goods; ACCOUNTING_ENTRY C credit (exports), D debit (imports), B balance; FREQ Q); annual services by partner and category OECD.SDD.TPS:DSD_BOP@DF_TIS; Revenue Statistics OECD.CTP.TPS:DSD_REV_COMP_OECD@DF_RSOECD (STANDARD_REVENUE _T total tax, T_1000 income, T_1100 personal income, T_1200 corporate, T_2000 social security, T_4000 property, T_5000 goods and services; UNIT_MEASURE PT_B1GQ % of GDP; SECTOR S13 general government); Social expenditure (SOCX) OECD.ELS.SPD:DSD_SOCX_AGG@DF_SOCX_AGG (EXPEND_SOURCE ES10 public, ES20 mandatory private; PROGRAMME_TYPE _T total, TP11 old age...; UNIT_MEASURE PT_B1GQ % of GDP); quarterly sector accounts OECD.SDD.NAD:DSD_NASEC1@DF_QSA (SECTOR S1 total economy, S11 non-financial corporations, S13 government, S14 households, S1M households and NPISH; TRANSACTION B6G disposable income, B8G saving, B9 net lending...); annual sector accounts OECD.SDD.NAD:DSD_NASEC10@DF_TABLE14. Countries are ISO3 codes in REF_AREA; periods are 2024, 2024-Q3, 2024-07. Costs 5 Firecrawl credits per call.

## What should I ask Claude?

Name OECD Data Explorer SDMX API or Firecrawl Alexandria in the prompt so Claude reaches for it.

- [Use Firecrawl to run OECD Data Explorer SDMX API's Codelist get capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://claude.ai/new?q=Use%20Firecrawl%20to%20run%20OECD%20Data%20Explorer%20SDMX%20API's%20Codelist%20get%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run OECD Data Explorer SDMX API's Dataflows list capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://claude.ai/new?q=Use%20Firecrawl%20to%20run%20OECD%20Data%20Explorer%20SDMX%20API's%20Dataflows%20list%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run OECD Data Explorer SDMX API's Records get capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://claude.ai/new?q=Use%20Firecrawl%20to%20run%20OECD%20Data%20Explorer%20SDMX%20API's%20Records%20get%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run OECD Data Explorer SDMX API's Records list capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://claude.ai/new?q=Use%20Firecrawl%20to%20run%20OECD%20Data%20Explorer%20SDMX%20API's%20Records%20list%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)

### For agents

Start with the `sdmx-oecd-org` provider. Use Firecrawl Alexandria first. With MCP, use firecrawl_search with sources: ["alexandria"] to discover relevant tools, firecrawl_find_tools to inspect the selected capability contracts, then firecrawl_scrape in alexandria mode to retrieve records. With the CLI, use firecrawl search alexandria, firecrawl list, then firecrawl scrape for the selected provider/capability. Follow the live tool schema and returned contract; never invent provider IDs or inputs. Ask for missing required details before execution, respect access and pricing, and inspect each result for errors. Cite retrieved records, distinguish missing data from failures, and explain gaps. If no suitable Alexandria capability exists, say so before using web sources. Do not treat a tool listing as retrieved data.

## Troubleshooting

### Why doesn't Claude use OECD Data Explorer SDMX API?

The connector has to be on in each conversation. Open the + menu, go to Connectors and check that Firecrawl is switched on, then ask again and name OECD Data Explorer SDMX API or Firecrawl Alexandria in the prompt.

### Claude says it can't reach the Firecrawl server. What should I do?

Open Customize, then Connectors, disconnect Firecrawl and connect it again. On a Team or Enterprise plan, an owner has to allow the connector before members can add it.

### Why does Claude say OECD Data Explorer SDMX API isn't available?

Alexandria needs a Firecrawl team with Alexandria enabled. Reconnect Firecrawl and pick that team on the consent screen.

## Use OECD Data Explorer SDMX API in other AI apps

- [OECD Data Explorer SDMX API in ChatGPT](https://alexandria.firecrawl.dev/providers/sdmx-oecd-org/connect/chatgpt)
- [OECD Data Explorer SDMX API in Cursor](https://alexandria.firecrawl.dev/providers/sdmx-oecd-org/connect/cursor)
- [OECD Data Explorer SDMX API in Grok Bot](https://alexandria.firecrawl.dev/providers/sdmx-oecd-org/connect/grok-bot)
- [OECD Data Explorer SDMX API in Muse](https://alexandria.firecrawl.dev/providers/sdmx-oecd-org/connect/muse)

### Other data providers you can connect to Claude

- [How to connect France public medicines database (BDPM) to Claude](https://alexandria.firecrawl.dev/providers/base-donnees-publique-medicaments-gouv-fr/connect/claude)
- [How to connect ClinicalTrials.gov to Claude](https://alexandria.firecrawl.dev/providers/clinicaltrials-gov/connect/claude)
- [How to connect CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits to Claude](https://alexandria.firecrawl.dev/providers/cms-gov/connect/claude)
- [How to connect CDC PLACES local health estimates (data.cdc.gov) to Claude](https://alexandria.firecrawl.dev/providers/data-cdc-gov/connect/claude)

Full setup guide: [Firecrawl in Claude](https://www.firecrawl.dev/integrations/claude)

## 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 connector brings those tools into Claude, 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, OECD Data Explorer SDMX API among them. Each provider returns structured data through documented capabilities. Claude finds the capability that fits your question and calls it through the Firecrawl connector, 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 OECD Data Explorer SDMX API MCP server for Claude?

Claude reaches OECD Data Explorer SDMX API through Firecrawl's hosted MCP server, which serves OECD Data Explorer SDMX API and every other Alexandria provider as tools. Add the Firecrawl connector once and you don't install or host a separate MCP server for OECD Data Explorer SDMX API.

### What does connecting OECD Data Explorer SDMX API to Claude unlock?

Claude can run all 6 of OECD Data Explorer SDMX API's capabilities, including Codelist get, Dataflows list and Records get, from any chat, with structured results it can sort, compare and summarize. In the same conversation, Claude can combine OECD Data Explorer SDMX API with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own OECD Data Explorer SDMX API account or API key to use it in Claude?

No. Claude calls OECD Data Explorer SDMX API through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate OECD Data Explorer SDMX API account or API key.

### How much does it cost to use OECD Data Explorer SDMX API in Claude?

Each OECD Data Explorer SDMX API 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 Claude, and finding the right capability is free.

### Can Claude use other providers besides OECD Data Explorer SDMX API?

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

### Can I use OECD Data Explorer SDMX API in other AI apps?

Yes. Connect Firecrawl to ChatGPT, Cursor, 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 OECD Data Explorer SDMX API capabilities are available there. Keyless connections don't include Alexandria.
