World Bank Data API

How to connect World Bank Data to Muse

Add the Firecrawl MCP server to Muse once and it can call the World Bank Data API and every other provider in Firecrawl Alexandria, with no World Bank Data integration code.

Open Markdown

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

Muse 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.

Muse is Meta's personal AI agent. It can set up MCP servers for itself, and the Firecrawl MCP server adds web search, scraping and every data provider in Firecrawl Alexandria.

How do I connect World Bank Data to Muse?

  1. Ask Muse to install Firecrawl

    Open a Muse chat that asks it to install the Firecrawl MCP server by following Firecrawl's agent setup guide, then send the message.

  2. Connect your Firecrawl account

    Muse 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.

  3. Ask Muse for the data

    Once Muse confirms Firecrawl is set up, ask in plain language and mention World Bank Data or Firecrawl Alexandria. For example:

    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 Muse 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.

Muse 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.

See all 11 capabilities and their inputs on the World Bank Data API page.

What should I ask Muse?

Name World Bank Data or Firecrawl Alexandria in the prompt so Muse reaches for it. Each example opens in Muse with the prompt filled in.

Troubleshooting

Why can't Muse find World Bank Data?

A keyless Firecrawl connection doesn't include Alexandria. Ask Muse to finish the Firecrawl sign-in, and choose a team with Alexandria enabled.

Use World Bank Data in other AI apps

The same Firecrawl account reaches World Bank Data from other AI apps. Pick one for its setup steps:

Other data providers you can connect to Muse

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 Muse, 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. Muse 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 Muse?

Muse 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 Muse unlock?

Muse 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, Muse 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 Muse?

No. Muse 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 Muse?

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 Muse, and finding the right capability is free.

Can Muse 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, Cursor, Grok Bot 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.

//
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