Skip to content
Skillpedia
βœ“ Official Β· GeoLens● Free and open sourceπŸ’» LocalπŸ”‘ Needs an API keyData and databases

GeoLens

Lets your AI agent search a self-hosted spatial data catalog, read datasets and features and run sandboxed SQL.

291 stars on GitHubby GeoLensLicense Apache-2.0Updated 18 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add geolens -e GEOLENS_INSTANCE="<your value>" -- uvx geolens-mcp

What to fill in

NameWhat it isRequired
GEOLENS_INSTANCEBase URL of the GeoLens instance, e.g. https://geolens.example.com (the /api suffix is appended automatically).Yes
GEOLENS_API_KEYAPI key, sent as X-Api-Key. Omit for public-only access.No
GEOLENS_TOKENJWT bearer token, used only when GEOLENS_API_KEY is unset.No

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Search the catalog for volcanic eruptions.
Show features from the earthquake dataset with magnitude above 6.

What it is

GeoLens is a self-hosted catalog and map builder for spatial data. It records where each dataset came from and serves data through OGC API and STAC. The MCP server gives agents read-only access to the catalog, datasets, features, maps and sandboxed SQL.

What it can do

  • Search the spatial data catalog
  • Read datasets and their metadata
  • Read features from datasets
  • Read maps
  • Run sandboxed SQL
  • Use OGC API Features, OGC API Records and STAC through the API

When to use

  • β€ΊWhen you want your agent to find a dataset in your team's spatial catalog
  • β€ΊWhen you want to check where a dataset came from and how fresh it is
  • β€ΊWhen you want to ask questions about map data with SQL

What you need

A running GeoLens instance. The install needs Git, curl and Docker with the Compose plugin. The demo at demo.getgeolens.com needs no account to browse.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes, it is licensed under Apache 2.0 and sends no telemetry.

Can the agent change data?

The MCP server is described as read-only.

Do I need to host it myself?

Yes, it runs on your own servers with Docker Compose. A public demo exists, and its data may be wiped.

Which formats can it hold?

Shapefile, GeoPackage, GeoJSON, GeoParquet, FlatGeobuf, KML, CSV, Excel, GeoTIFF and others.

Does it need AI keys?

No. AI features stay off until an administrator sets up a provider.

Which tools can read it?

QGIS, ArcGIS, scripts, Python and TypeScript SDKs and AI agents.

If it does not work

  • β€ΊCheck that Docker with the Compose plugin is installed and the stack is running.
  • β€ΊThe generated admin password is in the .env file as GEOLENS_ADMIN_PASSWORD.
  • β€ΊOpen http://localhost:8080 to confirm the server responds.

5 new skills a week. 1 minute to read.