Bamwor MCP server
io.github.bamwor-dev/bamwor-mcp-server·v0.2.2·2 starsWorld geographic data for AI agents: 261 countries, 5.2M cities, rankings, and 9 indexes.
2 stars53 downloads/wk
Reviews
Write oneNobody has reviewed Bamwor yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Bamwor tools (8)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
compare_countriesCompare two countries side by side across all available metrics: population, area, GDP, HDI, life expectancy, and more.
get_cityGet detailed information about a specific city by its GeoNames ID. Returns coordinates, population, elevation, timezone, province, and country.
get_countryGet detailed data about a country by name, slug, or ISO code. Returns population, area, capital, region, coordinates, and 20+ statistics.
get_nearby_citiesFind cities near a specific city using PostGIS radius search. Returns nearby cities with distance in kilometers.
get_rankingsGet country rankings by metric. Available: population, area, gdp, hdi, life-expectancy, and 9 Bamwor indices (ibeu, ibcp, ibda, ibcx, ibee, ibfm, ibdi, ibed, ibsa). Omit metric to list all.
list_cities_by_countryList cities in a specific country, sorted by population or name. Supports minimum population filter. Covers 13.4M cities globally.
search_citiesSearch for cities worldwide by name. Returns matching cities from a database of 13.4M cities with population and country.
search_countriesSearch for countries by name or keyword, with optional region filter. Returns a list of matching countries with basic data.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan25 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 117 days ago8/15
- Maintainer identityregistry namespace matches repository owner6/10
How Bamwor compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 69/100
- higher than 33% of 48,255 servers
- Tools
- 8
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 2
- more than 75% of 28,688 servers
- Downloads a week
- 53
- more than 44% of 12,191 servers with a package
What its tools let an agent do: 8 read
Install Bamwor in Claude Code, Cursor or VS Code
Runs npx -y bamwor-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add bamwor-mcp-server -- npx -y bamwor-mcp-server
What the publisher says
From the Bamwor repository's README, as published. We do not edit it. Read it on GitHub
bamwor-mcp-server
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.
Quick Start
npx bamwor-mcp-serverOr install globally:
npm install -g bamwor-mcp-server
bamwor-mcp-serverConfiguration
Claude Desktop
Add to your claudedesktopconfig.json:
{
"mcpServers": {
"bamwor-world-data": {
"command": "npx",
"args": ["-y", "bamwor-mcp-server"],
"env": {
"BAMWOR_API_KEY": "your_api_key"
}
}
}
}Cursor / Windsurf
Add to your MCP settings:
{
"bamwor-world-data": {
"command": "npx",
"args": ["-y", "bamwor-mcp-server"],
"env": {
"BAMWOR_API_KEY": "your_api_key"
}
}
}Environment Variables
Available Tools (8)
get_country
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_countries
Search for countries by name or keyword. Returns matching countries with basic data.
Input: { "query": "south", "limit": 10 }search_cities
Search for cities worldwide by name from a database of 13.4M cities.
Input: { "query": "Tokyo", "limit": 5 }listcitiesby_country
List cities in a specific country, sorted by population or name. Supports minimum population filter.
Input: { "country": "brazil", "min_population": 1000000, "limit": 10 }compare_countries
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_rankings
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_city
Get detailed information about a specific city by its GeoNames ID. Returns coordinates, population, elevation, timezone, and province.
Input: { "city_id": 1850147 }getnearbycities
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 Coverage
- 261 countries and territories with 20+ statistics each
- 13.4 million cities with coordinates, population, elevation, timezone
- 9 proprietary indices (IBEU, IBCP, IBDA, IBCX, IBEE, IBFM, IBDI, IBED, IBSA)
- Rankings by any metric
- Country comparisons — 67,860 combinations
- 4 languages — English, Spanish, Portuguese, Italian
Data sourced from CIA World Factbook, GeoNames, UNDP, and World Bank.
Links
- API Documentation
- Get Free API Key
- API Playground
- Pricing
- GitHub
License
MIT
Nothing above is checked by us. What we check is on the safety report.
Bamwor: common questions
- Is Bamwor MCP server safe?
- With care: it is graded C, so read the findings first (69/100). Read the Bamwor safety report
- How do I install Bamwor?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Bamwor need an API key?
- Yes. The registry entry asks for
BAMWOR_API_KEY. - Is Bamwor maintained?
- The last commit was 155 days ago (2026-06-02). The latest release is v0.2.2.
- How does Bamwor compare with other MCP servers?
- safety score 69/100 (higher than 33% of 48,255 servers); tools 8 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.