
Bamwor Mcp Server
io.github.bamwor-devPublished by GitHub account bamwor-devv0.2.2Updated Oct 24, 2026
World geographic data for AI agents: 261 countries, 5.2M cities, rankings, and 9 indexes.
Overview
A local MCP server that gives an assistant world geographic data: country profiles, city search, rankings, comparisons and nearby-city lookups.
- What you can do
- Look up and search countries by name, slug or ISO code, with population, area, capital and statistics, and compare two countries side by side across metrics such as GDP, HDI and life expectancy. Search cities worldwide or list cities in a country filtered by minimum population. Retrieve a city's details by GeoNames ID, including coordinates, elevation and timezone, and find cities within a radius of it. Get country rankings by population, area, GDP, HDI, life expectancy or nine proprietary Bamwor indices.
- When to use it
- Useful when an assistant needs factual country or city data for research, comparisons, rankings or location context, without building its own geographic dataset. It fits analysis and writing tasks that involve places rather than live maps or routing.
- Requirements
- Runs locally via npx or a global npm install, so Node.js is needed. It calls the Bamwor API over the network; an optional BAMWOR_API_KEY raises access and rate limits, and the API base URL and request timeout can be overridden by environment variables.
Installation
In SourceWeft
- Open Bamwor Mcp Server in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
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
Or install globally:
Configuration
Claude Desktop
Add to your claude_desktop_config.json:
Cursor / Windsurf
Add to your MCP settings:
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.
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.
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
License
MIT
Source: README.md at commit 8ce0b15
Tools
0Version history
1- v0.2.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts