Lets agents query global economic and development indicators from the World Bank Open Data API.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add world-bank --env YOUR_API_KEY='<YOUR_API_KEY>' -- npx -y worldbank-mcp~/.codex/config.toml
[mcp_servers.world-bank]
command = "npx"
args = ["-y", "worldbank-mcp"]
env = { YOUR_API_KEY = "<YOUR_API_KEY>" }
# codex mcp add world-bank --env YOUR_API_KEY='<YOUR_API_KEY>' -- npx -y worldbank-mcp~/.cursor/mcp.json
{
"mcpServers": {
"world-bank": {
"command": "npx",
"args": [
"-y",
"worldbank-mcp"
],
"env": {
"YOUR_API_KEY": "<YOUR_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"world-bank": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"worldbank-mcp"
],
"env": {
"YOUR_API_KEY": "<YOUR_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"world-bank": {
"command": "npx",
"args": [
"-y",
"worldbank-mcp"
],
"env": {
"YOUR_API_KEY": "<YOUR_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"world-bank": {
"command": "npx",
"args": [
"-y",
"worldbank-mcp"
],
"env": {
"YOUR_API_KEY": "<YOUR_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"world-bank": {
"command": "npx",
"args": [
"-y",
"worldbank-mcp"
],
"env": {
"YOUR_API_KEY": "<YOUR_API_KEY>"
}
}
}
}Environment variables
YOUR_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.