npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

world-bank-mcp-server

v0.1.0

Published

MCP server for World Bank Open Data — development indicators, country profiles, time-series analysis

Downloads

124

Readme


Quick Start

With npx (recommended)

npx world-bank-mcp-server

MCP Client Configuration

Add to your MCP client config (Claude Desktop, VS Code, etc.):

{
  "mcpServers": {
    "world-bank": {
      "command": "npx",
      "args": ["-y", "world-bank-mcp-server"]
    }
  }
}

VS Code Extension

For an integrated experience with automatic start/stop/restart, install the companion World Bank MCP Server extension.

Global Install

npm install -g world-bank-mcp-server
world-bank-mcp-server

Tools

| Tool | Description | |------|-------------| | wb_get_indicator | Get indicator metadata (description, source, topics) | | wb_search_indicators | Search indicators by keyword | | wb_get_country | Get country profile with quick stats (GDP, population, etc.) | | wb_list_countries | List countries filtered by region/income level | | wb_get_data | Get indicator data for a country (year range or most recent) | | wb_get_timeseries | Long-range time-series data with sparkline trends | | wb_compare_countries | Compare 2–6 countries side-by-side on any indicator | | wb_list_topics | List all data topics (health, education, economy, …) | | wb_get_topic_indicators | Get indicators under a specific topic | | wb_get_regional_data | Regional/income-group aggregate data |

Example Queries

"What is India's GDP growth over the last 10 years?"
→ wb_get_timeseries { country: "IN", indicator: "NY.GDP.MKTP.KD.ZG" }

"Compare life expectancy between Japan, Brazil, and Nigeria"
→ wb_compare_countries { countries: ["JP", "BR", "NG"], indicator: "SP.DYN.LE00.IN" }

"Show me education spending indicators"
→ wb_search_indicators { query: "education expenditure" }

Configuration

Configure via environment variables:

| Variable | Default | Description | |----------|---------|-------------| | WORLDBANK_MCP_BASE_URL | https://api.worldbank.org/v2 | API base URL | | WORLDBANK_MCP_CACHE_TTL_MS | 3600000 | Cache TTL in ms (1 hour) | | WORLDBANK_MCP_CACHE_MAX_SIZE | 200 | Max cached entries | | WORLDBANK_MCP_TIMEOUT_MS | 15000 | Request timeout in ms | | WORLDBANK_MCP_PER_PAGE | 100 | Results per API page | | WORLDBANK_MCP_MRV | 5 | Most recent values count |

Example:

WORLDBANK_MCP_TIMEOUT_MS=30000 WORLDBANK_MCP_CACHE_TTL_MS=7200000 npx world-bank-mcp-server

License

MIT