geolens-mcp

स्व-होस्टेड GeoLens भू-स्थानिक कैटलॉग तक केवल-पढ़ने की पहुंच: डेटासेट खोज, स्कीमा, GeoJSON फीचर्स, सहेजे गए मानचित्र, और PostGIS पर सैंडबॉक्स्ड केवल-पढ़ने वाला SQL।

दस्तावेज़

geolens-mcp

Apache-2.0 read-only Model Context Protocol server for GeoLens.

Point a coding agent (Claude Code, Cursor, Codex, …) at a GeoLens instance so it can discover datasets, inspect schemas, read features and maps, and run read-only SQL from inside a dev session. It has no write, ingest or admin tools, and every call is scoped to the caller's access.

Install

pip install geolens-mcp        # or: uvx geolens-mcp

The server reads GEOLENS_INSTANCE and, for non-public data, GEOLENS_API_KEY from the environment. Client setup, the tool list and the credential rules are in the MCP guide.

Develop

cd mcp
uv run --extra dev python -m pytest -v