CAT
/MCP
SkillsMCPMarketplacesDigestToolsAdvertise

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by Category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP Servers by Category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by Category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control

Cross AI Tools

Discover Claude Code plugins, extensions, and tools. Automatically updated directory of Anthropic Claude AI marketplaces with development tools, productivity plugins, and integrations.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Marketplaces
  • Plugins Reference

Community

  • About
  • Tools
  • Feedback
  • Privacy Policy
  • Advertise

Built for the Claude Code community with Claude Code by @mertduzgun

Independent project, not affiliated with Anthropic

Worldbank Mcp Server

cyanheads/worldbank-mcp-server
27 toolsSTDIO, HTTPregistry active
Summary

Wraps the World Bank Open Data API with seven tools that let Claude search and query 29,500+ development indicators across 200+ countries and 60+ years of records. You can list topics and sources, search indicators by keyword or theme, pull country metadata with income levels and coordinates, and fetch time series data with flexible filtering by date range or most recent values. The data retrieval tool handles single countries, regional aggregates, or all entities at once, and explicitly surfaces null observations so you see gaps in the data. Built on the mcp-ts-core framework and available via stdio, streamable HTTP, or a public hosted endpoint at worldbank.caseyjhand.com/mcp. Reach for this when you need Claude to analyze economic indicators, compare development metrics across regions, or answer questions that require official World Bank statistics.

Install to Claude Code

verified
claude mcp add --transport http worldbank https://worldbank.caseyjhand.com/mcp

Run in your terminal. Add --scope user to make it available in every project.

Review the command, arguments, and environment values before installing — MCP servers run with your local permissions.

CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →

Tools

Verified live against the running server on Jun 10, 2026.

verified live7 tools
worldbank_list_topicsLists all 21 World Bank thematic topics (Economy & Growth, Health, Education, etc.) with descriptions. Use to browse the indicator space or find a topic_id for worldbank_search_indicators.

Lists all 21 World Bank thematic topics (Economy & Growth, Health, Education, etc.) with descriptions. Use to browse the indicator space or find a topic_id for worldbank_search_indicators.

No parameters — call it with no arguments.

worldbank_list_sourcesLists the 70+ World Bank data sources (datasets) such as World Development Indicators, IDS, and Doing Business. Returns source IDs and names for use as source_id in worldbank_search_indicators. Supports pagination.2 params

Lists the 70+ World Bank data sources (datasets) such as World Development Indicators, IDS, and Doing Business. Returns source IDs and names for use as source_id in worldbank_search_indicators. Supports pagination.

Parameters* required
pageinteger
Pagination page number (1-based).default: 1
per_pageinteger
Results per page (default: server default, max: 100).
worldbank_list_countriesLists countries and regional aggregates with metadata: ISO codes, region, income level, capital, and coordinates. Filterable by region code (e.g. EAS, SSF, NAC) and income level (LIC, LMC, UMC, HIC). By default, excludes regional/income-group aggregate entries and returns indi...5 params

Lists countries and regional aggregates with metadata: ISO codes, region, income level, capital, and coordinates. Filterable by region code (e.g. EAS, SSF, NAC) and income level (LIC, LMC, UMC, HIC). By default, excludes regional/income-group aggregate entries and returns indi...

Parameters* required
pageinteger
Pagination page number (1-based).default: 1
regionstring
Filter by World Bank region code. Valid codes: EAS (East Asia & Pacific), ECS (Europe & Central Asia), LCN (Latin America & Caribbean), MEA (Middle East & North Africa), NAC (North America), SAS (South Asia), SSF (Sub-Saharan Africa).
per_pageinteger
Results per page (default: server default, max: 300).
income_levelstring
Filter by income group code: LIC (Low income), LMC (Lower middle income), UMC (Upper middle income), HIC (High income).
include_aggregatesboolean
When true, includes regional, income-group, and world aggregate entries alongside individual countries. Default false (individual countries only).default: false
worldbank_get_countryFetches full metadata for a specific country or aggregate entity: region, income level, capital, coordinates, and lending type. Accepts ISO2 codes (US, DE), ISO3 codes (USA, DEU), or World Bank aggregate codes (EAS, HIC, WLD).1 params

Fetches full metadata for a specific country or aggregate entity: region, income level, capital, coordinates, and lending type. Accepts ISO2 codes (US, DE), ISO3 codes (USA, DEU), or World Bank aggregate codes (EAS, HIC, WLD).

Parameters* required
country_code*string
Country code. Accepts ISO2 (US), ISO3 (USA), or aggregate code (EAS, HIC, WLD). Use worldbank_list_countries to browse valid codes.
worldbank_search_indicatorsSearches the 29,500+ World Bank indicator catalog by keyword, topic, or source. Returns indicator IDs and metadata for chaining into worldbank_get_data. At least one of query, topic_id, or source_id must be provided. When combined with topic_id or source_id, keyword filtering...5 params

Searches the 29,500+ World Bank indicator catalog by keyword, topic, or source. Returns indicator IDs and metadata for chaining into worldbank_get_data. At least one of query, topic_id, or source_id must be provided. When combined with topic_id or source_id, keyword filtering...

Parameters* required
pageinteger
Pagination page number (1-based).default: 1
querystring
Keyword search terms. At least one of query, topic_id, or source_id must be provided.
per_pageinteger
Results per page (default: server default, max: 100).
topic_idstring
Filter by topic ID (e.g. "1" for Agriculture, "3" for Economy & Growth). Use worldbank_list_topics to browse valid IDs.
source_idstring
Filter by data source ID (e.g. "2" for World Development Indicators). Use worldbank_list_sources to browse valid IDs.
worldbank_get_indicatorFetches complete metadata for a single World Bank indicator by its ID: name, description, source dataset, source organization, unit, and thematic topics. Use worldbank_search_indicators to discover indicator IDs if you only know the concept.1 params

Fetches complete metadata for a single World Bank indicator by its ID: name, description, source dataset, source organization, unit, and thematic topics. Use worldbank_search_indicators to discover indicator IDs if you only know the concept.

Parameters* required
indicator_id*string
Indicator code (e.g. NY.GDP.PCAP.CD, SP.POP.TOTL). Use worldbank_search_indicators to find valid IDs.
worldbank_get_dataQueries World Bank indicator values for one or more countries across a time range. The primary data-access tool — use worldbank_search_indicators to find indicator_id values. Returns observations with null values when data is not available for a country×year cell (common for s...6 params

Queries World Bank indicator values for one or more countries across a time range. The primary data-access tool — use worldbank_search_indicators to find indicator_id values. Returns observations with null values when data is not available for a country×year cell (common for s...

Parameters* required
mrvinteger
Return the N most recent available values (1–10). Mutually exclusive with date_range.
pageinteger
Pagination page number (1-based).default: 1
per_pageinteger
Results per page (default: server default, max: 1000). Use higher values for "all" country queries.
countries*value
Country codes. Accepts: ISO2 (US, CN), ISO3 (USA, CHN), regional aggregate codes (EAS, LCN, MEA, SAS, SSF, ECS, NAC), income group codes (HIC, UMC, LMC, LIC), world code (WLD), or "all" for all 266 entries (use pagination). Pass a single string or an array of codes for multi-country queries.
date_rangestring
Year or year range in YYYY or YYYY:YYYY format (e.g. "2020" or "2010:2023"). Mutually exclusive with mrv.
indicator_id*string
Indicator code to query (e.g. NY.GDP.PCAP.CD, SP.POP.TOTL). Use worldbank_search_indicators to find valid IDs.

@cyanheads/worldbank-mcp-server

Query 29,500+ World Bank development indicators for 200+ countries across 60+ years via MCP. STDIO or Streamable HTTP.

7 Tools • 2 Resources

Version License MCP SDK npm TypeScript Bun

Install in Claude Desktop Install in Cursor Install in VS Code

Framework

Public Hosted Server: https://worldbank.caseyjhand.com/mcp


Tools

7 tools for browsing and querying the World Bank Open Data API:

ToolDescription
worldbank_list_topicsList all 21 World Bank thematic topics with descriptions
worldbank_list_sourcesList 70+ World Bank data sources (datasets) with pagination
worldbank_list_countriesList countries and regional aggregates with ISO codes, region, income level, and coordinates
worldbank_get_countryFetch full metadata for a specific country or aggregate by ISO2, ISO3, or aggregate code
worldbank_search_indicatorsSearch the 29,500+ indicator catalog by keyword, topic, or source
worldbank_get_indicatorFetch complete metadata for a single indicator: name, description, source, unit, and topics
worldbank_get_dataQuery indicator values for one or more countries across a time range or most-recent N values

worldbank_list_topics

List all 21 World Bank thematic topic categories.

  • No input required — returns the complete fixed taxonomy
  • Topics include Agriculture, Economy & Growth, Education, Energy & Mining, Environment, Financial Sector, Health, Infrastructure, Poverty, Private Sector, Public Sector, Science & Technology, Social Development, Social Protection & Labor, Trade, Urban Development, and more
  • Returns topic IDs used to filter worldbank_search_indicators

worldbank_list_sources

List the 70+ World Bank data sources (datasets).

  • Paginated with configurable page size (up to 100 per page)
  • Each source includes ID, name, short code, last-updated date, and data/metadata availability status
  • Source IDs used to filter worldbank_search_indicators by dataset origin (e.g. "2" for World Development Indicators, "6" for IDS)

worldbank_list_countries

List countries and regional aggregates with metadata.

  • Returns ISO codes, World Bank region, income level, capital city, and coordinates
  • Filterable by region code (EAS, ECS, LCN, MEA, NAC, SAS, SSF) and income level (LIC, LMC, UMC, HIC)
  • By default returns individual countries only; set include_aggregates=true to include regional, income-group, and world aggregate entities
  • Paginated with up to 300 entries per page

worldbank_get_country

Fetch full metadata for a single country or aggregate entity.

  • Accepts ISO2 (US), ISO3 (USA), or World Bank aggregate codes (EAS, HIC, WLD)
  • Returns region, income level, lending type, capital city, and coordinates
  • Structured error with recovery hint when code is not found

worldbank_search_indicators

Search the 29,500+ World Bank indicator catalog.

  • Keyword search, topic filter, source filter — at least one required
  • When topic_id or source_id is combined with a keyword query, client-side filtering is applied (the upstream API ignores searchterm when a topic/source filter is active)
  • Returns indicator IDs, names, source dataset, and thematic topics
  • Indicator IDs (e.g. NY.GDP.PCAP.CD, SP.POP.TOTL) feed directly into worldbank_get_data
  • Paginated with up to 100 results per page

worldbank_get_indicator

Fetch complete metadata for a known indicator ID.

  • Returns full description, unit of measurement, source dataset, source organization, and thematic topics
  • Structured error with recovery hint when ID is not found

worldbank_get_data

Query indicator values for countries across time. The primary data-access tool.

  • Single country, array of countries, regional codes (EAS, LCN, …), income codes (HIC, LMC, …), world code (WLD), or "all" for all ~266 entries
  • Time filtering: date_range for historical analysis (YYYY or YYYY:YYYY format), or mrv for the N most recent available values (1–10). Mutually exclusive.
  • Returns observations with null values when data is not available for a country×year cell — common for sparse series
  • Includes nullCount per page to surface data sparsity
  • Output grouped by country for readability; isAggregate flag distinguishes regional aggregates from individual countries
  • Paginated with up to 1000 entries per page

Resources

TypeNameDescription
Resourceworldbank://indicator/{indicatorId}Indicator metadata by ID — name, description, source, unit, and topics
Resourceworldbank://country/{countryCode}Country metadata by ISO2, ISO3, or aggregate code — region, income level, capital, coordinates

Features

Built on @cyanheads/mcp-ts-core:

  • Declarative tool definitions — single file per tool, framework handles registration and validation
  • Unified error handling across all tools
  • Pluggable auth (none, jwt, oauth)
  • Swappable storage backends: in-memory, filesystem, Supabase, Cloudflare KV/R2/D1
  • Structured logging with optional OpenTelemetry tracing
  • Runs locally (stdio/HTTP) or on Cloudflare Workers from the same codebase

World Bank-specific:

  • Full World Bank Open Data API v2 coverage — topics, sources, countries, indicators, and observations
  • 60+ years of development data across 29,500+ indicators for 200+ countries and regional aggregates
  • Client-side topic/source + keyword compound filtering (works around upstream API limitation)
  • Null-value transparency — null observations and nullCount surfaced rather than silently dropped
  • isAggregate flag on every country/data row to distinguish individual countries from aggregate entities

Agent-friendly output:

  • Tool cross-references woven into descriptions — e.g. worldbank_search_indicators names worldbank_list_topics for topic IDs, worldbank_get_data names worldbank_search_indicators for indicator discovery
  • Structured error contracts with typed reason codes and actionable recovery hints on every tool
  • Consistent pagination metadata (page, pages, total) across all list/search/data tools

Getting started

Self-Hosted / Local

Add the following to your MCP client configuration file.

{
  "mcpServers": {
    "worldbank-mcp-server": {
      "type": "stdio",
      "command": "bunx",
      "args": ["@cyanheads/worldbank-mcp-server@latest"],
      "env": {
        "MCP_TRANSPORT_TYPE": "stdio",
        "MCP_LOG_LEVEL": "info"
      }
    }
  }
}

Or with npx (no Bun required):

{
  "mcpServers": {
    "worldbank-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@cyanheads/worldbank-mcp-server@latest"],
      "env": {
        "MCP_TRANSPORT_TYPE": "stdio",
        "MCP_LOG_LEVEL": "info"
      }
    }
  }
}

For Streamable HTTP, set the transport and start the server:

MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 bun run start:http
# Server listens at http://localhost:3010/mcp

Prerequisites

  • Bun v1.3.0 or higher (or Node.js ≥24.0.0).
  • No API key required — the World Bank Open Data API is public and unauthenticated.

Installation

  1. Clone the repository:
git clone https://github.com/cyanheads/worldbank-mcp-server.git
  1. Navigate into the directory:
cd worldbank-mcp-server
  1. Install dependencies:
bun install

Configuration

All configuration is validated at startup via Zod schemas in src/config/server-config.ts. Environment variables:

VariableDescriptionDefault
MCP_TRANSPORT_TYPETransport: stdio or httpstdio
MCP_HTTP_PORTHTTP server port3010
MCP_HTTP_HOSTHTTP server hostname127.0.0.1
MCP_HTTP_ENDPOINT_PATHHTTP endpoint path where the MCP server is mounted/mcp
MCP_PUBLIC_URLPublic origin override for TLS-terminating reverse-proxy deploymentsnone
MCP_AUTH_MODEAuthentication: none, jwt, or oauthnone
MCP_LOG_LEVELLog level (debug, info, warning, error)info
STORAGE_PROVIDER_TYPEStorage backend: in-memory, filesystem, supabase, cloudflare-kv/r2/d1in-memory
OTEL_ENABLEDEnable OpenTelemetryfalse
OTEL_EXPORTER_OTLP_ENDPOINTOTLP exporter endpointnone
WORLDBANK_API_BASE_URLWorld Bank API base URL overridehttps://api.worldbank.org/v2
WORLDBANK_DEFAULT_PER_PAGEDefault page size for list/search/data operations50

Running the server

Local development

  • Build and run the production version:

    # One-time build
    bun run rebuild
    
    # Run the built server
    bun run start:http
    # or
    bun run start:stdio
    
  • Run checks and tests:

    bun run devcheck  # Lints, formats, type-checks, and more
    bun run test      # Runs the test suite
    

Project structure

DirectoryPurpose
src/mcp-server/toolsTool definitions (*.tool.ts). Seven tools covering topics, sources, countries, indicators, and data.
src/mcp-server/resourcesResource definitions. Indicator and country metadata resources.
src/services/worldbankWorld Bank API service layer — API client and domain types.
src/configServer-specific environment variable parsing and validation with Zod.
tests/Unit and integration tests, mirroring the src/ structure.

Development guide

See CLAUDE.md for development guidelines and architectural rules. The short version:

  • Handlers throw, framework catches — no try/catch in tool logic
  • Use ctx.log for logging, ctx.state for storage
  • Register new tools and resources in the createApp() arrays

Contributing

Issues and pull requests are welcome. Run checks and tests before submitting:

bun run devcheck
bun run test

License

This project is licensed under the Apache 2.0 License. See the LICENSE file for details.

Featured
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →

Configuration

MCP_LOG_LEVELdefault: info

Minimum log level for output: 'debug', 'info', 'notice', 'warning', 'error'.

WORLDBANK_API_BASE_URLdefault: https://api.worldbank.org/v2

World Bank API base URL override.

WORLDBANK_DEFAULT_PER_PAGEdefault: 50

Default page size for list, search, and data operations.

MCP_HTTP_HOSTdefault: 127.0.0.1

The hostname for the HTTP server.

MCP_HTTP_PORTdefault: 3010

The port to run the HTTP server on.

MCP_HTTP_ENDPOINT_PATHdefault: /mcp

The endpoint path for the MCP server.

MCP_AUTH_MODEdefault: none

Authentication mode: 'none', 'jwt', or 'oauth'.

Registryactive
Package@cyanheads/worldbank-mcp-server
TransportSTDIO, HTTP
Tools verifiedJun 10, 2026
UpdatedJun 4, 2026
View on GitHub