geolens-mcp
About
Read-only access to a self-hosted GeoLens geospatial catalog: dataset search, schemas, GeoJSON features, saved maps, and sandboxed read-only SQL over PostGIS.
Details
- Author
- geolens-io
- Categories
- Database, Other
Jump to
Setup
Install geolens-mcp in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/geolens-io/geolens
Follow the installation instructions in the repository README, then restart your MCP client.
Apache-2.0 read-onlyModel Context Protocolserver forGeoLens.
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.
Read-only by design.No writes, ingest, or admin. The discovery tools areGETs against existing API endpoints;queryis aPOSTmechanically but executes inside the server's READ ONLY SQL sandbox, so it cannot modify anything. Calls are scoped to the caller's access: with an API key, the agent sees the datasets that key's user can see; with no credential it sees only public/published data (queryadditionally requires a credential whose user holds the AI-chat permission —read_onlyAPI keys work, via a route-specific server-side carve-out).
pip install geolens-mcp # or: uvx geolens-mcp
The server reads its target instance and credentials from the environment (same names as thegeolensCLI):
claude mcp add geolens -e GEOLENS_INSTANCE=https://geolens.example.com -e GEOLENS_API_KEY=... -- uvx geolens-mcp
Cursor / Codex / any client that reads anmcpServersblock:
{ "mcpServers": { "geolens": { "command": "uvx", "args": ["geolens-mcp"], "env": { "GEOLENS_INSTANCE": "https://geolens.example.com", "GEOLENS_API_KEY": "your-api-key" } } } }
cd mcp uv run --extra dev python -m pytest -v
A read-only MCP server by CData that enables LLMs to query live data from EnterpriseDB databases.
Expert-level PostgreSQL database analysis MCP server for AI assistants.
An MCP server for querying a PostgreSQL database in read-only mode.
Provides read-only access to PostgreSQL databases, enabling schema inspection and query execution.
Provides read-only access to PostgreSQL databases, allowing LLMs to inspect schemas and execute queries.
Provides read-only access to PostgreSQL databases, allowing LLMs to inspect schemas and execute queries.
Transforms PostgreSQL databases from "I have tables and I don't know what they do" into "I understand the entire database structure, relationships, and best practices"
A read-only MCP server for PostgreSQL, enabling LLMs to query live data from PostgreSQL databases.
Read-only MCP server for PostgreSQL, MySQL, and SQL Server with schema introspection, SQL query execution, EXPLAIN/optimization, anomaly detection, PII scanning, and N+1 query detection.
Official MCP server for dbt (data build tool) providing integration with dbt Core/Cloud CLI, project metadata discovery, model information, and semantic layer querying capabilities.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





