GeoLens
v1.35.0Search a self-hosted GeoLens catalog and, with a map_author API key, create and style maps.
Values you need
| Variable | What it is | |
|---|---|---|
GEOLENS_INSTANCE | required | Base URL of the GeoLens instance, e.g. https://geolens.example.com (the /api suffix is appended automatically). |
GEOLENS_API_KEY | optional secret | API key, sent as X-Api-Key. Omit for public-only access. A map_author key also lets the map authoring tools create and style maps. |
GEOLENS_TOKEN | optional secret | JWT bearer token, used only when GEOLENS_API_KEY is unset. |
PyPI (uvx) verified
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add geolens -e 'GEOLENS_INSTANCE=<GEOLENS_INSTANCE>' -- uvx geolens-mcp==1.35.0Add to
claude_desktop_config.json{
"mcpServers": {
"geolens": {
"args": [
"geolens-mcp==1.35.0"
],
"command": "uvx",
"env": {
"GEOLENS_INSTANCE": "<GEOLENS_INSTANCE>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"geolens": {
"args": [
"geolens-mcp==1.35.0"
],
"command": "uvx",
"env": {
"GEOLENS_INSTANCE": "<GEOLENS_INSTANCE>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "GEOLENS_INSTANCE",
"id": "geolens-instance",
"password": true,
"type": "promptString"
}
],
"servers": {
"geolens": {
"args": [
"geolens-mcp==1.35.0"
],
"command": "uvx",
"env": {
"GEOLENS_INSTANCE": "${input:geolens-instance}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.geolens]
command = "uvx"
args = ["geolens-mcp==1.35.0"]
env = { "GEOLENS_INSTANCE" = "<GEOLENS_INSTANCE>" }For AI agents
- Ask the user for: GEOLENS_INSTANCE. 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: search_datasets, get_dataset_schema, get_features, list_maps, get_map, list_stories, get_story, aggregate, ….
- 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