geo-explorer-mcp
v0.1.0Country facts, administrative boundaries and regional statistics, for interactive geography.
Values you need
| Variable | What it is | |
|---|---|---|
RESTCOUNTRIES_API_KEY | required secret | Free API key from https://restcountries.com/sign-up, used for country facts. |
GEO_EXPLORER_CONTACT | optional | A contact URL or email placed in the User-Agent sent to Wikidata. Wikimedia rejects requests without one. |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add geo-explorer-mcp -e 'RESTCOUNTRIES_API_KEY=<RESTCOUNTRIES_API_KEY>' -- uvx geo-explorer-mcp==0.1.0Add to
claude_desktop_config.json{
"mcpServers": {
"geo-explorer-mcp": {
"args": [
"geo-explorer-mcp==0.1.0"
],
"command": "uvx",
"env": {
"RESTCOUNTRIES_API_KEY": "<RESTCOUNTRIES_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"geo-explorer-mcp": {
"args": [
"geo-explorer-mcp==0.1.0"
],
"command": "uvx",
"env": {
"RESTCOUNTRIES_API_KEY": "<RESTCOUNTRIES_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "RESTCOUNTRIES_API_KEY",
"id": "restcountries-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"geo-explorer-mcp": {
"args": [
"geo-explorer-mcp==0.1.0"
],
"command": "uvx",
"env": {
"RESTCOUNTRIES_API_KEY": "${input:restcountries-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.geo-explorer-mcp]
command = "uvx"
args = ["geo-explorer-mcp==0.1.0"]
env = { "RESTCOUNTRIES_API_KEY" = "<RESTCOUNTRIES_API_KEY>" }For AI agents
- Ask the user for: RESTCOUNTRIES_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: get_country_profile, get_map_data, get_region_details.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json