← roxyapi.com
INDIVIDUAL MCP TOOL
get_location_countries_iso2
Returns all cities for a specific country, identified by ISO 3166-1 alpha-2 code (e.
Input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- No write-capable action terms were found; this is not proof that invocation has no side effects.
Parent endpoint
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.roxy-location]
url = "https://roxyapi.com/mcp/location"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"roxy-location": {
"type": "http",
"url": "https://roxyapi.com/mcp/location"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: roxy-location
Remote MCP URL: https://roxyapi.com/mcp/location
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"roxy-location": {
"url": "https://roxyapi.com/mcp/location"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"roxy-location": {
"type": "http",
"url": "https://roxyapi.com/mcp/location"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "roxy-location",
"transport": "streamable-http",
"url": "https://roxyapi.com/mcp/location"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
get_location_search— City autocomplete and geocoding search across 23,000+ locations in 240+ countries, including deep coverage of Indian tier-2 and tier-3 cities.get_location_countries— Returns every country with ISO 3166-1 alpha-2 and alpha-3 codes, plus the number of searchable cities per country.