World geographic data for AI agents. 261 countries, 13.4M cities.
{
"mcpServers": {
"io-github-bamwor-dev-bamwor-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
World geographic data for AI agents. 261 countries, 13.4M cities.
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Last commit 8 days ago.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
Context cost
8 tools. ~900 tokens (0.5% of 200K).
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
get_countryGet detailed data about a country by name, slug, or ISO code. Returns population, area, capital, region, coordinates, and 20+ statistics.
search_countriesSearch for countries by name or keyword. Returns matching countries with basic data.
search_citiesSearch for cities worldwide by name from a database of 13.4M cities.
list_cities_by_countryList cities in a specific country, sorted by population or name. Supports minimum population filter.
compare_countriesCompare two countries side by side across all available metrics: population, area, GDP, HDI, life expectancy, and more.
get_rankingsGet country rankings by metric. Available metrics: population, area, gdp, hdi, life-expectancy, and 9 Bamwor proprietary indices (ibeu, ibcp, ibda, ibcx, ibee, ibfm, ibdi, ibed, ibsa). Omit metric to list all available.
get_cityGet detailed information about a specific city by its GeoNames ID. Returns coordinates, population, elevation, timezone, and province.
get_nearby_citiesFind cities near a specific city using PostGIS radius search. Returns nearby cities with distance in km.
This server is missing a description.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Dynamic problem-solving through sequential thought chains
A Model Context Protocol server for searching and analyzing arXiv papers
An open-source AI agent that brings the power of Gemini directly into your terminal.
The official Python SDK for Model Context Protocol servers and clients
MCP Security Weekly
Get CVE alerts and security updates for io.github.bamwor-dev/bamwor-mcp-server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
MCP Server for world geographic data — 261 countries, 13.4M cities. Connect AI agents to real country and city data.
Works with Claude Desktop, Cursor, Windsurf, and any MCP-compatible client.
npx bamwor-mcp-server
Or install globally:
npm install -g bamwor-mcp-server
bamwor-mcp-server
Add to your claude_desktop_config.json:
{
"mcpServers": {
"bamwor-world-data": {
"command": "npx",
"args": ["-y", "bamwor-mcp-server"],
"env": {
"BAMWOR_API_KEY": "your_api_key"
}
}
}
}
Add to your MCP settings:
{
"bamwor-world-data": {
"command": "npx",
"args": ["-y", "bamwor-mcp-server"],
"env": {
"BAMWOR_API_KEY": "your_api_key"
}
}
}
| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| BAMWOR_API_KEY | No | (anonymous) | API key for full access. Get one free at bamwor.com/en/developers/quickstart |
| BAMWOR_API_URL | No | https://bamwor.com/api/v1 | API base URL override |
| BAMWOR_REQUEST_TIMEOUT | No | 15000 | Request timeout in ms |
Get detailed data about a country by name, slug, or ISO code. Returns population, area, capital, region, coordinates, and 20+ statistics.
Input: { "query": "Japan" }
Search for countries by name or keyword. Returns matching countries with basic data.
Input: { "query": "south", "limit": 10 }
Search for cities worldwide by name from a database of 13.4M cities.
Input: { "query": "Tokyo", "limit": 5 }
List cities in a specific country, sorted by population or name. Supports minimum population filter.
Input: { "country": "brazil", "min_population": 1000000, "limit": 10 }
Compare two countries side by side across all available metrics: population, area, GDP, HDI, life expectancy, and more.
Input: { "country_a": "France", "country_b": "Germany" }
Get country rankings by metric. Available metrics: population, area, gdp, hdi, life-expectancy, and 9 Bamwor proprietary indices (ibeu, ibcp, ibda, ibcx, ibee, ibfm, ibdi, ibed, ibsa). Omit metric to list all available.
Input: { "metric": "population", "limit": 10, "countries_only": true }
Get detailed information about a specific city by its GeoNames ID. Returns coordinates, population, elevation, timezone, and province.
Input: { "city_id": 1850147 }
Find cities near a specific city using PostGIS radius search. Returns nearby cities with distance in km.
Input: { "city_id": 1850147, "radius": 50, "limit": 10 }
Data sourced from CIA World Factbook, GeoNames, UNDP, and World Bank.
MIT