# How to connect World Bank Data to Cursor

> Connect World Bank Data to Cursor with the Firecrawl MCP server. Use World Bank Data as an MCP tool in Cursor via Firecrawl Alexandria.

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

Cursor uses World Bank Data as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for World Bank 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 World Bank Data to Cursor?

### 1. Install the Firecrawl MCP server

Open the [install dialog in Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=firecrawl&config=eyJ1cmwiOiJodHRwczovL21jcC5maXJlY3Jhd2wuZGV2L3YyL21jcC1vYXV0aCJ9), check that the URL is Firecrawl's hosted server, then select Install.

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=firecrawl&config=eyJ1cmwiOiJodHRwczovL21jcC5maXJlY3Jhd2wuZGV2L3YyL21jcC1vYXV0aCJ9)

![Cursor's Install MCP server dialog with the Firecrawl hosted server URL](https://www.firecrawl.dev/images/blog/using-firecrawl-mcp-in-cursor/cursor-install-firecrawl-mcp-server.webp)

### 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](https://www.firecrawl.dev/images/blog/using-firecrawl-mcp-in-cursor/cursor-firecrawl-mcp-connected.webp)

### 3. Ask Cursor's agent for the data

In the agent chat, ask in plain language and mention World Bank Data or Firecrawl Alexandria. The agent finds the World Bank Data capability that fits and runs it. For example:

```text
Use Firecrawl to show Brazil’s annual GDP in current US dollars, indicator NY.GDP.MKTP.CD, for 2015–2024 and preserve missing values.
```

## What can Cursor do with World Bank Data?

World Bank Indicators API v2: database catalog, indicator discovery, economies and aggregates, reference lists, observations (classic and dimension paths including International Debt Statistics) and extended series/economy metadata. Keyless public API.

Cursor can run any of World Bank Data's 11 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **Concept values**: The values of one dimension of a database, paged: the series of IDS (source 6), the counterpart areas (creditors) of IDS, the countries of a source, or its time periods. Costs 5 Firecrawl credits per call.
- **Countries**: List economies and aggregates with ISO codes, region, admin region, income level, lending type, capital and coordinates. Filters `region`, `income_level` and `lending_type` (codes from `reference`) combine. `include_aggregates: false` drops regional and income groupings (region NA) from the page after fetching it. Costs 5 Firecrawl credits per call.
- **Country**: One economy or aggregate by ISO3, ISO2 or aggregate code (BRA, BR, WLD, HIC). Costs 5 Firecrawl credits per call.
- **Data**: Observations for one or more indicators and economies through the classic `country/{codes}/indicator/{ids}` path. `date` is a period or range in upstream syntax (2015:2024, 2023, 2023Q1:2024Q4, 2024M01:2024M06; quarterly and monthly periods exist only on sources such as 15 GEM). `mrv` returns the N most recent periods with a value instead (optional `gapfill`). Several indicators need `source_id`. Numbers are upstream's; `value` null means the period is listed without a value. A selection with no rows at all is a successful empty page with a warning. International Debt Statistics (source 6) series need `source_data`; upstream refuses them here. `indicator_ids` and `country_codes` may be one code or a comma-separated string; `date` and `source_id` may be numbers (a two-year list becomes 2015:2024). Unknown options are rejected by name. Costs 5 Firecrawl credits per call.
- **Indicator**: One indicator's metadata: name, unit, source, source note (definition), source organization and topics. Pass `source_id` when the code exists in several databases (SP.POP.TOTL is in 2 and 40). Costs 5 Firecrawl credits per call.
- **Indicators**: List or search indicators (series) in one database or one topic. Without `query` the upstream page is returned as is (server-side `page`/`per_page`). With `query` the whole scope is fetched once (up to 20,000 rows) and filtered client-side, because the API has no keyword search: every whitespace-separated word must appear in the indicator id or name, case-insensitively; paging then applies to the filtered list. Defaults to World Development Indicators (source 2) when neither `source_id` nor `topic_id` is given. Costs 5 Firecrawl credits per call.
- **Metadata**: Extended metadata attributes for one series (definition, aggregation method, periodicity, license type, statistical concept, ...) or one economy (currency, income group, national accounts base year, census years, ...) within a database. Attribute ids are upstream's `metatype` ids. Costs 5 Firecrawl credits per call.
- **Reference**: Reference lists that other inputs take codes from: topics (21), regions (43), income levels (7) and lending types (4). Pass `code` to look one up. Costs 5 Firecrawl credits per call.
- **Source concepts**: The dimensions (concepts) of one database: Country, Series and Time for most sources; International Debt Statistics adds Counterpart-Area. Concept ids are the values `concept_values` and `metadata` take. Costs 5 Firecrawl credits per call.
- **Source data**: Observations through the dimension path `sources/{source_id}/country/{c}/series/{s}[/counterpart-area/{x}]/time/{t}/data`, which serves every database including International Debt Statistics (source 6, which needs `counterpart_area`, e.g. WLD for all creditors). Time ids use upstream's dimension form (YR2022) or `all`. Each row carries every dimension value upstream lists plus the numeric value. Costs 5 Firecrawl credits per call.
- **Sources**: List the databases (sources) the World Bank Indicators API publishes, with code, vintage (`last_updated`) and whether data and metadata are available, or look one up by `source_id`. Source ids scope `indicators`, `data`, `source_data`, `source_concepts`, `concept_values` and `metadata`. Costs 5 Firecrawl credits per call.

## What should I ask Cursor?

Name World Bank Data or Firecrawl Alexandria in the prompt so Cursor reaches for it.

- [Use Firecrawl to show Brazil’s annual GDP in current US dollars, indicator NY.GDP.MKTP.CD, for 2015–2024 and preserve missing values.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20show%20Brazil%E2%80%99s%20annual%20GDP%20in%20current%20US%20dollars%2C%20indicator%20NY.GDP.MKTP.CD%2C%20for%202015%E2%80%932024%20and%20preserve%20missing%20values.)
- [Use Firecrawl to help with this: Explain World Bank indicator NY.GDP.MKTP.CD using its published definition, unit, source organization and topics.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20help%20with%20this%3A%20Explain%20World%20Bank%20indicator%20NY.GDP.MKTP.CD%20using%20its%20published%20definition%2C%20unit%2C%20source%20organization%20and%20topics.)
- [Use Firecrawl to list the first 20 individual high-income economies in the World Bank country catalog with ISO codes, capitals and region labels.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20list%20the%20first%2020%20individual%20high-income%20economies%20in%20the%20World%20Bank%20country%20catalog%20with%20ISO%20codes%2C%20capitals%20and%20region%20labels.)
- [Use Firecrawl to show the World Bank’s extended metadata for GDP indicator NY.GDP.MKTP.CD in World Development Indicators, source 2, including periodicity and aggregation method where available.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20show%20the%20World%20Bank%E2%80%99s%20extended%20metadata%20for%20GDP%20indicator%20NY.GDP.MKTP.CD%20in%20World%20Development%20Indicators%2C%20source%202%2C%20including%20periodicity%20and%20aggregation%20method%20where%20available.)

### For agents

Start with the `data-worldbank-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 can't Cursor find World Bank 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 World Bank Data in other AI apps

- [World Bank Data in ChatGPT](https://alexandria.firecrawl.dev/providers/data-worldbank-org/connect/chatgpt)
- [World Bank Data in Claude](https://alexandria.firecrawl.dev/providers/data-worldbank-org/connect/claude)
- [World Bank Data in Grok Bot](https://alexandria.firecrawl.dev/providers/data-worldbank-org/connect/grok-bot)
- [World Bank Data in Muse](https://alexandria.firecrawl.dev/providers/data-worldbank-org/connect/muse)

### Other data providers you can connect to Cursor

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

Full setup guide: [Firecrawl in Cursor](https://www.firecrawl.dev/integrations/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, World Bank 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 World Bank Data MCP server for Cursor?

Cursor reaches World Bank Data through Firecrawl's hosted MCP server, which serves World Bank 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 World Bank Data.

### What does connecting World Bank Data to Cursor unlock?

Cursor can run all 11 of World Bank Data's capabilities, including Concept values, Countries and Country, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to show Brazil’s annual GDP in current US dollars, indicator NY.GDP.MKTP.CD, for 2015–2024 and preserve missing values." In the same conversation, Cursor can combine World Bank Data with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own World Bank Data account or API key to use it in Cursor?

No. Cursor calls World Bank Data through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate World Bank Data account or API key.

### How much does it cost to use World Bank Data in Cursor?

Each World Bank 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 World Bank 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 World Bank 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 World Bank Data capabilities are available there. Keyless connections don't include Alexandria.
