GeoLens logo

GeoLens

Read-only MCP access to a self-hosted GeoLens catalog for datasets, features, maps, and sandboxed SQL.

Install GeoLens

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for GeoLens, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

GeoLens MCP server exposes a self-hosted GeoLens spatial catalog to AI agents through read-only tools. Agents can inspect datasets, retrieve features and maps, and run sandboxed SQL against catalog data. GeoLens catalogs data from sources such as files, PostGIS, web services, and STAC catalogs, making it suitable for spatial discovery and analysis without granting write access.

Use cases

  • Find datasets matching a geographic or thematic question
  • Inspect feature records from a self-hosted spatial catalog
  • Run read-only SQL against cataloged spatial data
  • Review dataset provenance and metadata
  • Retrieve map information for an AI-assisted geographic workflow

Key features

  • Read-only dataset access
  • Feature retrieval
  • Map access
  • Sandboxed SQL queries
  • Spatial catalog metadata
  • Provenance-aware data discovery

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

8/8 checks healthy over the last 40d

Supply-chain signal

2 high-severity advisories on record for this package. Most advisories affect transitive dependencies and may not be exploitable in this server's actual usage — this is a directional signal, not a security audit.

Critical 0High 2Medium 0Low 1

Scanned 14d ago via OSV.dev

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars278Stargazers on the source repository.
Last commitTodayMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How GeoLens works

What GeoLens MCP server does

GeoLens MCP server gives AI agents read-only access to a GeoLens spatial catalog. The catalog brings together datasets from file storage, PostGIS tables, ArcGIS and WFS services, OGC API Features services, and remote STAC assets. Each dataset can include metadata, provenance, source information, freshness status, geometry details, coordinate reference information, feature counts, and version history.

The MCP interface is intended for agents that need to find and inspect geographic data rather than administer the catalog. It exposes catalog content alongside the maps built in GeoLens, allowing an agent to work with the same spatial resources available through GeoLens’s open APIs.

How it works

An agent sends read requests through MCP to the GeoLens deployment. The server reads from the connected catalog and returns information about available datasets, map resources, and geographic features. Queries can also be expressed as sandboxed SQL, which supports data exploration while constraining the operation to a read-only execution context.

GeoLens itself runs on infrastructure controlled by the deploying team. Its catalog can reference data held in external systems, including existing PostGIS databases and remote STAC assets, as well as data uploaded into GeoLens. This makes the MCP layer useful when an agent needs catalog-aware access instead of direct connections to each underlying source.

Setup and configuration

GeoLens is designed for self-hosting with Docker Compose. Deploy the GeoLens application and connect it to the spatial data sources that should appear in the catalog. The MCP server is then used against that self-hosted catalog, keeping access tied to the organization’s GeoLens instance rather than a shared hosted service.

The project also exposes OGC API and STAC interfaces for software such as QGIS, scripts, and other geospatial clients. Those interfaces complement MCP access but are separate ways to consume the same catalog and data resources.

Tools and capabilities

  • Browse and inspect catalog datasets.
  • Retrieve geographic features from the catalog.
  • Access maps managed in GeoLens.
  • Execute sandboxed SQL for read-only spatial queries.
  • Work with dataset metadata and recorded provenance.
  • Query data that may originate from files, PostGIS, web services, or STAC catalogs.

Limitations and notes

Access through this server is read-only. It is intended for querying and inspection, not for uploading datasets, editing metadata, changing maps, managing users, or restoring dataset versions.

SQL execution is sandboxed, so it should be treated as a constrained query facility rather than unrestricted database access. The available results depend on the datasets and sources configured in the connected GeoLens deployment.

GeoLens can also serve imagery and other spatial resources through its catalog and open APIs, but the MCP interface described here is centered on catalog reads, features, maps, and sandboxed SQL.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about GeoLens

GeoLens is an MCP server that connects AI agents to a self-hosted GeoLens spatial catalog. Its main tools provide read-only access to datasets, geographic features, maps, and sandboxed SQL, covering data gathered from sources such as files, PostGIS, web services, and STAC catalogs.

Deploy GeoLens on your own infrastructure with Docker Compose, then use the MCP server with that self-hosted catalog. The catalog can be connected to files, PostGIS tables, web services, and remote STAC assets.

No. GeoLens MCP access is read-only. It supports inspecting datasets and features, accessing maps, and running sandboxed SQL, but it is not intended for uploads, metadata edits, map changes, or other write operations.

You can query catalog datasets, geographic features, maps, metadata, provenance, and sandboxed SQL results. The available content depends on the data sources configured in the connected GeoLens deployment.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGeoLens AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/geolens?style=directory)](https://allmcps.com/mcp/geolens)
HTML Embed
<a href="https://allmcps.com/mcp/geolens"><img src="https://allmcps.com/api/badge/geolens?style=directory" alt="GeoLens on AllMCPs" /></a>