Bamwor MCP Server

MCP server for world geographic data — 261 countries, 13.4M cities. Powered by Bamwor.

Local serverstdio

What is the Bamwor MCP Server?

MCP server for world geographic data — 261 countries, 13.4M cities. Powered by Bamwor.

The tools it exposes

The server publishes 8 tools. What each one is for:

  • get_country — Get detailed data about a country by name, slug, or ISO code. Returns population, area, capital, region, coordinates, and 20+ statistics
  • search_countries — Search for countries by name or keyword. Returns matching countries with basic data
  • search_cities — Search for cities worldwide by name from a database of 13.4M cities
  • list_cities_by_country — List cities in a specific country, sorted by population or name. Supports minimum population filter
  • compare_countries — Compare two countries side by side across all available metrics: population, area, GDP, HDI, life expectancy, and more
  • get_rankings — Get country rankings by metric. Available metrics: population, area, gdp, hdi, life-expectancy, and 9 Bamwor proprietary indices (ibeu, ibcp, ibda
  • get_city — Get detailed information about a specific city by its GeoNames ID. Returns coordinates, population, elevation, timezone, and province
  • get_nearby_cities — Find cities near a specific city using PostGIS radius search. Returns nearby cities with distance in km

Recorded tools

  • get_country — Get detailed data about a country by name, slug, or ISO code. Returns population, area, capital, region, coordinates, and 20+ statistics.
  • search_countries — Search for countries by name or keyword. Returns matching countries with basic data.
  • search_cities — Search for cities worldwide by name from a database of 13.4M cities.
  • list_cities_by_country — List cities in a specific country, sorted by population or name. Supports minimum population filter.
  • compare_countries — Compare two countries side by side across all available metrics: population, area, GDP, HDI, life expectancy, and more.
  • 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.
  • get_city — Get detailed information about a specific city by its GeoNames ID. Returns coordinates, population, elevation, timezone, and province.
  • get_nearby_cities — Find cities near a specific city using PostGIS radius search. Returns nearby cities with distance in km.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_country
search_countries
search_cities
list_cities_by_country
compare_countries
get_rankings
get_city
get_nearby_cities

How to install the Bamwor MCP Server

{
  "mcpServers": {
    "bamwor-world-data": {
      "command": "npx",
      "args": [
        "-y",
        "bamwor-mcp-server"
      ],
      "env": {
        "BAMWOR_API_KEY": "YOUR_BAMWOR_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
BAMWOR_API_KEYDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Bamwor to get country.”
  • “Use Bamwor to search countries.”
  • “Use Bamwor to search cities.”

Frequently asked questions

MCP server for world geographic data — 261 countries, 13.4M cities. Powered by Bamwor. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.