MCP Server Studio
Search a self-hosted GeoLens catalog and, with a map_author API key, create and style maps.
Registry name: io.github.geolens-io/geolens
Add to claude_desktop_config.json:
{
"mcpServers": {
"geolens": {
"command": "uvx",
"args": [
"geolens-mcp==1.35.0"
],
"env": {
"GEOLENS_INSTANCE": "<GEOLENS_INSTANCE>",
"GEOLENS_API_KEY": "<GEOLENS_API_KEY>",
"GEOLENS_TOKEN": "<GEOLENS_TOKEN>"
}
}
}
}Run in your terminal:
claude mcp add geolens -e GEOLENS_INSTANCE='<GEOLENS_INSTANCE>' -e GEOLENS_API_KEY='<GEOLENS_API_KEY>' -e GEOLENS_TOKEN='<GEOLENS_TOKEN>' -- uvx geolens-mcp==1.35.0Add to .cursor/mcp.json:
{
"mcpServers": {
"geolens": {
"command": "uvx",
"args": [
"geolens-mcp==1.35.0"
],
"env": {
"GEOLENS_INSTANCE": "<GEOLENS_INSTANCE>",
"GEOLENS_API_KEY": "<GEOLENS_API_KEY>",
"GEOLENS_TOKEN": "<GEOLENS_TOKEN>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"geolens": {
"type": "stdio",
"command": "uvx",
"args": [
"geolens-mcp==1.35.0"
],
"env": {
"GEOLENS_INSTANCE": "<GEOLENS_INSTANCE>",
"GEOLENS_API_KEY": "<GEOLENS_API_KEY>",
"GEOLENS_TOKEN": "<GEOLENS_TOKEN>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"geolens": {
"command": "uvx",
"args": [
"geolens-mcp==1.35.0"
],
"env": {
"GEOLENS_INSTANCE": "<GEOLENS_INSTANCE>",
"GEOLENS_API_KEY": "<GEOLENS_API_KEY>",
"GEOLENS_TOKEN": "<GEOLENS_TOKEN>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
GEOLENS_INSTANCE | Yes | Base URL of the GeoLens instance, e.g. https://geolens.example.com (the /api suffix is appended automatically). |
GEOLENS_API_KEY | No | 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 | No | JWT bearer token, used only when GEOLENS_API_KEY is unset. |