World Geographic Data for AI Agents
Give your AI agent real-time access to structured geographic data. 261 countries. 13.4 million cities. 20+ statistics per country. One command to install.
npx bamwor-mcp-serverWhat is MCP?
The Model Context Protocol (MCP) is an open standard that allows AI assistants like Claude, GPT, and others to call external tools directly. Instead of the AI guessing or hallucinating data, it queries real APIs and returns verified facts.
Why Bamwor for AI?
| Source | Cities | Countries | MCP | API |
|---|---|---|---|---|
| REST Countries | 0 | 250 | No | Free |
| CountryStateCity | 151K | 250 | No | No |
| API Ninjas | 5M | โ | No | Paid |
| Bamwor | 13.4M | 261 | Yes | Free + Paid |
Available Tools
get_countryGet detailed data about a country including population, area, GDP, HDI, life expectancy, and 20+ statistics.
{ query: "Brazil" }search_countriesSearch countries by name or keyword. Returns matching countries with region and population.
{ query: "south", limit: 10 }search_citiesSearch cities worldwide from a database of 13.4M cities. Returns name, population, country, and coordinates.
{ query: "Springfield", limit: 10 }list_cities_by_countryList cities in a country sorted by population or name. Filter by minimum population.
{ country: "germany", min_population: 500000 }compare_countriesCompare two countries side by side across all metrics: population, area, GDP, HDI, and more.
{ country_a: "France", country_b: "Germany" }Installation
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"bamwor-world-data": {
"command": "npx",
"args": ["-y", "bamwor-mcp-server"],
"env": {
"BAMWOR_API_KEY": "bw_live_your_key_here"
}
}
}
}Cursor / Windsurf
{
"bamwor-world-data": {
"command": "npx",
"args": ["-y", "bamwor-mcp-server"],
"env": {
"BAMWOR_API_KEY": "bw_live_your_key_here"
}
}
}What you can ask your AI
FAQ
Do I need an API key?โผ
Which AI clients are supported?โผ
Is the data real-time?โผ
What languages are supported?โผ
Is there a rate limit?โผ
Is this open source?โผ
Open Datasets
Download curated subsets of the Bamwor database for offline analysis and model training:
World Countries 2026
261 countries โ population, area, region, coordinates, ISO codes
Ready to start?
Get a free API key and connect your AI agent in under 5 minutes.