MCP Server Studio

GeoLens MCP server

Search a self-hosted GeoLens catalog and, with a map_author API key, create and style maps.

Registry name: io.github.geolens-io/geolens

Publisher
geolens-io
Runs
Runs locally
Package
PyPI
Version
1.35.0
Category
Data & analytics
Updated
2026-11-28

Source code on GitHub

Set up GeoLens (run locally)

Claude Desktop

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>"
      }
    }
  }
}

Claude Code

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.0

Cursor

Add 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>"
      }
    }
  }
}

VS Code

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>"
      }
    }
  }
}

Windsurf

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>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
GEOLENS_INSTANCEYesBase URL of the GeoLens instance, e.g. https://geolens.example.com (the /api suffix is appended automatically).
GEOLENS_API_KEYNoAPI 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_TOKENNoJWT bearer token, used only when GEOLENS_API_KEY is unset.

More data & analytics MCP servers