Geographic data API: 250+ countries, 150K+ cities, IP geolocation, 161 live FX rates.
MCP (Model Context Protocol) server for ApogeoAPI — geographic data, live exchange rates, and IP geolocation for Claude Desktop, Cursor, and any MCP-compatible AI assistant.
This server exposes ApogeoAPI's REST endpoints as tools that AI assistants can call directly. Ask Claude "What is the current USD rate for Argentina?" or "Geolocate IP 8.8.8.8" and it will call the right tool automatically.
| Tool | Description | Plan required |
|---|---|---|
get_country | Full country data by ISO2/ISO3 code — name, capital, region, population, currency, live USD rate, timezones, phone code | Free |
list_countries | Paginated list of all 250+ countries | Free |
search_countries | Search countries by partial name | Free |
get_states | All states/provinces for a country | Basic+ |
get_cities | All cities for a state by numeric state ID | Basic+ |
get_currency_rate | Live USD exchange rate for a country's currency (updated every 4 hours) | Basic+ |
geolocate_ip | Country, region, city, coordinates, timezone, and EU membership for any IPv4/IPv6 | Basic+ |
global_search | Search across countries, states, and cities in one query | Free |
Add the following to your claude_desktop_config.json:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"apogeoapi": {
"command": "npx",
"args": ["-y", "@apogeoapi/mcp"],
"env": {
"APOGEOAPI_KEY": "apogeoapi_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}
}
}
Restart Claude Desktop after saving the file. The ApogeoAPI tools will appear in Claude's tool list.
Add the same block under mcpServers in Cursor's MCP configuration file (~/.cursor/mcp.json).
git clone https://github.com/APOGEOAPI/apogeoapi-mcp.git
cd apogeoapi-mcp
npm install
npm run build
Then reference the built file directly:
{
"mcpServers": {
"apogeoapi": {
"command": "node",
"args": ["/absolute/path/to/mcp-server/dist/index.js"],
"env": {
"APOGEOAPI_KEY": "apogeoapi_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}
}
}
APOGEOAPI_KEY environment variable aboveNo credit card required for the Free plan (1,000 req/month).
| Feature | Free | Basic ($19/mo) | Starter ($29/mo) | Professional ($79/mo) |
|---|---|---|---|---|
| Countries (list, search, get) | Yes | Yes | Yes | Yes |
| Global search | Yes | Yes | Yes | Yes |
| States & cities | No | Yes | Yes | Yes |
| Live currency rates | No | Yes | Yes | Yes |
| IP geolocation | No | Yes | Yes | Yes |
| Monthly requests | 1,000 | 15,000 | 100,000 | 500,000 |
Upgrade at app.apogeoapi.com/dashboard/billing.
| Variable | Required | Description |
|---|---|---|
APOGEOAPI_KEY | Yes | Your API key from the dashboard |
APOGEOAPI_BASE_URL | No | Override the API base URL (default: https://api.apogeoapi.com) |
MIT
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y @apogeoapi/mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"com-apogeoapi-apogeoapi-mcp": {
"command": "npx",
"args": [
"-y",
"@apogeoapi/mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup reference@apogeoapi/mcpnpmcom.apogeoapi/apogeoapi-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.