Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

GeoLens

by geolens-ioversion 1.32.0i★ 303 (Stars for the whole repo)iRuns on your computerOfficial site ↗
Registry nameio.github.geolens-io/geolens

How to install

What it does

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

  • Connects Runs on your computer
  • Account or key Needs GEOLENS_API_KEY, GEOLENS_TOKEN · 1 setting to fill in (GEOLENS_INSTANCE)
  • Category Travel, maps & weather

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity27/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score39/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: 14 (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install GeoLens. Follow https://mcp.popnx.com/i/geolens-io-geolens.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 17, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a GeoLens key (create it on the maker’s site) · 1 setting(s) to fill in (GEOLENS_INSTANCE) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server GeoLens for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "geolens": { "command": "uvx", "args": [ "geolens-mcp" ], "env": { "GEOLENS_INSTANCE": "your-value", "GEOLENS_API_KEY": "your-value", "GEOLENS_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For GEOLENS_API_KEY, GEOLENS_TOKEN, GEOLENS_INSTANCE, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the GeoLens tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Sign up and create a GeoLens key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the GeoLens site ↗

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • GEOLENS_INSTANCE Base URL of the GeoLens instance, e.g. https://geolens.example.com (the /api suffix is appended automatically).

    Descriptions are as written by the maker.

  4. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  5. Paste these settings and save the file

    {
      "mcpServers": {
        "geolens": {
          "command": "uvx",
          "args": [
            "geolens-mcp"
          ],
          "env": {
            "GEOLENS_INSTANCE": "your-value",
            "GEOLENS_API_KEY": "your-value",
            "GEOLENS_TOKEN": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Quit Claude and open it again

  7. Try it

    Use GeoLens and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using GeoLens or shows a GeoLens tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect GeoLens yet

GeoLens runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect GeoLens

  • You need a GeoLens key (create it on the maker’s site) · 1 setting(s) to fill in (GEOLENS_INSTANCE) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a GeoLens key (create it on the maker’s site) · 1 setting(s) to fill in (GEOLENS_INSTANCE) · Install Python (uv) on your computer first (one time)
  • You need a GeoLens key (create it on the maker’s site) · 1 setting(s) to fill in (GEOLENS_INSTANCE) · Install Python (uv) on your computer first (one time)
  • You need a GeoLens key (create it on the maker’s site) · 1 setting(s) to fill in (GEOLENS_INSTANCE) · Install Python (uv) on your computer first (one time)

B · Others in Travel, maps & weather that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a GeoLens key (create it on the maker’s site) · 1 setting(s) to fill in (GEOLENS_INSTANCE) · Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server GeoLens for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user geolens --env GEOLENS_INSTANCE=your-value --env GEOLENS_API_KEY=your-value --env GEOLENS_TOKEN=your-value -- uvx geolens-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For GEOLENS_API_KEY, GEOLENS_TOKEN, GEOLENS_INSTANCE, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the GeoLens tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Sign up and create a GeoLens key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the GeoLens site ↗

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • GEOLENS_INSTANCE Base URL of the GeoLens instance, e.g. https://geolens.example.com (the /api suffix is appended automatically).

    Descriptions are as written by the maker.

  4. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  5. Paste this command and press Enter

    claude mcp add --scope user geolens --env GEOLENS_INSTANCE=your-value --env GEOLENS_API_KEY=your-value --env GEOLENS_TOKEN=your-value -- uvx geolens-mcp

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Type /mcp in Claude Code

    You should see GeoLens listed as connected

  7. Try it

    Use GeoLens and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using GeoLens or shows a GeoLens tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a GeoLens key (create it on the maker’s site) · 1 setting(s) to fill in (GEOLENS_INSTANCE) · Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server GeoLens for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "geolens": { "command": "uvx", "args": [ "geolens-mcp" ], "env": { "GEOLENS_INSTANCE": "your-value", "GEOLENS_API_KEY": "your-value", "GEOLENS_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For GEOLENS_API_KEY, GEOLENS_TOKEN, GEOLENS_INSTANCE, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the GeoLens tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Sign up and create a GeoLens key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the GeoLens site ↗

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • GEOLENS_INSTANCE Base URL of the GeoLens instance, e.g. https://geolens.example.com (the /api suffix is appended automatically).

    Descriptions are as written by the maker.

  4. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  5. Fill in your key

    In the GeoLens settings, GEOLENS_API_KEY, GEOLENS_TOKEN, GEOLENS_INSTANCE is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in Cursor in Agent mode

  7. Try it

    Use GeoLens and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using GeoLens or shows a GeoLens tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a GeoLens key (create it on the maker’s site) · 1 setting(s) to fill in (GEOLENS_INSTANCE) · Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server GeoLens for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "geolens": { "type": "stdio", "command": "uvx", "args": [ "geolens-mcp" ], "env": { "GEOLENS_INSTANCE": "your-value", "GEOLENS_API_KEY": "your-value", "GEOLENS_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For GEOLENS_API_KEY, GEOLENS_TOKEN, GEOLENS_INSTANCE, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the GeoLens tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Sign up and create a GeoLens key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the GeoLens site ↗

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • GEOLENS_INSTANCE Base URL of the GeoLens instance, e.g. https://geolens.example.com (the /api suffix is appended automatically).

    Descriptions are as written by the maker.

  4. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  5. Fill in your key

    In the GeoLens settings, GEOLENS_API_KEY, GEOLENS_TOKEN, GEOLENS_INSTANCE is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in VS Code in Agent mode

  7. Try it

    Use GeoLens and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using GeoLens or shows a GeoLens tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use GeoLens💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user geolens --env GEOLENS_INSTANCE=your-value --env GEOLENS_API_KEY=your-value --env GEOLENS_TOKEN=your-value -- uvx geolens-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "geolens": {
      "command": "uvx",
      "args": [
        "geolens-mcp"
      ],
      "env": {
        "GEOLENS_INSTANCE": "your-value",
        "GEOLENS_API_KEY": "your-value",
        "GEOLENS_TOKEN": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "geolens": {
      "command": "uvx",
      "args": [
        "geolens-mcp"
      ],
      "env": {
        "GEOLENS_INSTANCE": "your-value",
        "GEOLENS_API_KEY": "your-value",
        "GEOLENS_TOKEN": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "geolens": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "geolens-mcp"
      ],
      "env": {
        "GEOLENS_INSTANCE": "your-value",
        "GEOLENS_API_KEY": "your-value",
        "GEOLENS_TOKEN": "your-value"
      }
    }
  }
}

Values you fill in

  • GEOLENS_INSTANCE required env
    Base URL of the GeoLens instance, e.g. https://geolens.example.com (the /api suffix is appended automatically).
  • GEOLENS_API_KEY secret required env
    API 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_TOKEN secret required env
    JWT bearer token, used only when GEOLENS_API_KEY is unset.

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

GitHub starsi
303 (Stars for the whole repo)
This repo holds several MCP listings; its stars count once in rankings
Downloads per weeki
404/wk
Licencei
Apache-2.0
Connection
Runs on your computer
Latest versioni
1.32.0
Published to registryi
Nov 17, 2026
Code last changedi
Nov 18, 2026
Maker
geolens-io
Packages
pypi: geolens-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account geolens-io, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✓ Pass

    Has a licence

    Uses Apache-2.0

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/geolens-io-geolens.svg)](https://mcp.popnx.com/en/servers/geolens-io-geolens)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Travel, maps & weatheri

  • More stars than 99% of the other 1998 servers in this category
  • Published to the registry more recently than 93% of the other 1998 servers in this category
  • Basic checks equal to or better than 99% of the other 1998 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is GeoLens safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: GEOLENS_API_KEY, GEOLENS_TOKEN

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (1.32.0) reached the registry 2 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: Mu, Award Travel Finder, Killbottleneck, Whimsical, HasData Google Maps

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Mu

News, web search, mail, markets, weather, places, files, calendar, contacts. 67 tools, one endpoint.

by microGrowing★ 440Updated 4 months ago

Runs in the cloud✓ micro.mu

Killbottleneck

Free-to-self-host goal and process maps for humans and AI agents, with REST API and MCP.

by tengolabsEarly↓ 328/wk★ 14Updated 12 days ago

Runs on your computer✓ service owner · killbottleneck.com

Whimsical

Create and edit flowcharts, mind maps, wireframes, and docs in Whimsical, or search your workspace.

by WhimsicalCodeEarly★ 11Updated 2 months ago

Runs in the cloud✓ service owner · whimsical.com

HasData Google Maps

Google Maps places, reviews, contributor history, photos and posts as JSON. No Google Cloud.

by HasDataEarly↓ 107/wk★ 10Updated 2 months ago

Computer or cloud✓ service owner · hasdata.com
Compared with similar ones
This one
GeoLens
MuAward Travel FinderKillbottleneckWhimsicalHasData Google Maps
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installInstalls on your computerRuns in the cloud, nothing to installCloud or install on your computer
Needs a keyYesNoNoYesNoYes
Add with + in ClaudeNoNoNoNoYesNo
Basic checks3/34/43/33/34/45/5
LicenseApache-2.0AGPL-3.0MITMITMITMIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

geolens-mcp

Apache-2.0 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. With a map_author API key it can also create private maps and add, style and frame their layers. It has no ingest, delete, sharing 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.

Tools

These tools read and are scoped to the caller's access.

  • search_datasets, get_dataset_schema, get_features: find datasets, read their columns and page through features.
  • list_maps, get_map: saved maps and their layers.
  • list_stories, get_story: published stories and their chapters. Drafts are never read. Against a server that predates chapter counts, chapter_count is null.
  • aggregate: exact counts, statistics, histograms, group-bys and row pages over one dataset.
  • query: one sandboxed SELECT. Use aggregate for counts and summaries.
list_stories(search="skyline", limit=10)

get_story(story_id=" ") aggregate(dataset_id=" ", request={"op": "group_by", "group_column": "borough", "stat": "count", "limit": 5})

aggregate keeps the route's limits. A too_wide refusal means the bbox holds over 500,000 rows, so narrow it. A query_busy refusal means two aggregates are already running for you, so retry after a short pause.

Map authoring

These tools need a map_author API key in GEOLENS_API_KEY. Create one in Settings under API Keys with the Map author scope. The key reads what a read-only key reads, and it can change only the maps it created: it can't edit a map made in the app or by another key, delete anything, rename a map or layer, or share a map. These tools refuse to run with any other credential, including a full or publish key or GEOLENS_TOKEN, and say so; the read tools keep working with it.

  • create_map: a private map with an optional description and basemap. Returns its id and app URL.
  • add_layer: adds a dataset as a layer, with an optional style and popup fields. Each new layer is drawn beneath the layers already on the map and the key can't reorder them, so add the layer you want on top first.
  • update_layer_style: restyles a layer or changes its popup fields.
  • set_camera, set_basemap: the view the map opens at and its basemap.

A style is a single colour, a colour per value of a text, boolean or integer column, or a colour per class of a numeric column (equal interval, quantile, natural breaks, standard deviation or your own breaks). Colours come from a named ramp or a list of hex colours, and the map builder opens the layer with the same settings.

create_map(name="Street trees", basemap="blank")

add_layer(map_id=" ", dataset_id=" ", style={"type": "categories", "column": "species"}, popup_fields=["species", "planted"]) update_layer_style(map_id=" ", layer_id=" ", style={"type": "classes", "column": "dbh", "method": "quantile", "colors": "Greens"}) set_camera(map_id=" ", center=[-73.97, 40.78], zoom=13)

Develop

cd mcp

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