glacier-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
glacier-mcp
MCP server for interactive glacier mapping.
Renders a GeoTIFF in OpenLayers, lets you draw and edit polygons with the mouse, and exposes every vertex to an AI agent via MCP tools (get / move / add / delete). Exports the final geometry to a shapefile with a correct .prj.
Why
Existing GIS tools (ArcGIS Pro, QGIS) can be automated via MCP, but none of them give an AI agent direct, per-vertex control over geometry while you edit the same geometry with your mouse. This project fills that gap: the map and the agent share the same polygon state.
Related MCP server: lunar
Architecture
+----------------+ WebSocket +-------------------+ MCP +-------+
| OpenLayers UI | <----------------> | FastAPI backend | <----------> | Agent |
| (your mouse) | | (state + geom) | | (LLM) |
+----------------+ +-------------------+ +-------+Backend: Python 3.11, FastAPI,
mcpSDK, uvicorn, shapely, pyproj.Frontend: OpenLayers 10, vanilla JS.
I/O: rasterio (GeoTIFF), geopandas (shapefile).
Bridge: WebSocket (frontend <-> backend), MCP streamable-http (agent <-> backend).
Two ports, one process:
http://localhost:8765- interactive map (open in browser)http://localhost:8766- MCP endpoint (connect your MCP client here)
Both share one PolygonState instance, so a vertex moved by the agent appears in the browser and vice versa.
Quick start
pip install -r requirements.txt
python -m glacier_mcpThen:
Draw a polygon with the mouse (OpenLayers Draw interaction)
Drag a vertex (OpenLayers Modify interaction)
Connect your MCP client (Claude Desktop / Cursor / DeepSeek++ / etc.) to http://localhost:8766
Ask the agent: "move the western boundary 50 meters east"
The polygon in the browser updates as the agent edits.
MCP tools
Tool | What it does |
| Return current polygon as GeoJSON |
| Return vertex list with indices |
| Move a vertex by index and offset (dx, dy) |
| Insert a vertex at a position |
| Remove a vertex by index |
| Move the whole polygon by (dx, dy) |
| Apply smoothing to the boundary |
| Step through the edit history |
| Save to |
Status
Commit 1: skeleton, README, LICENSE, pyproject, CI
Commit 2: geometry + state (shapely, undo/redo)
Commit 3: MCP server with 9 tools
Commit 4: FastAPI map server + WebSocket bridge + OpenLayers UI
Commit 5: GeoTIFF loading, shapefile export with
.prj
License
MIT - see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Geospatial AI MCP server — satellite imagery, embeddings, weather, GNS governance
Ask in plain English, get a rendered, shareable map from live public data. 24 geospatial tools.
Geodata for any place, inside your agent: map data, terrain, routes, satellite images, GIS files.
Generate, edit, and deploy immersive 3D/WebGL web projects from any MCP assistant.
Related MCP Servers
- AlicenseCqualityAmaintenanceAn MCP server that enables AI assistants to directly control QGIS for tasks like layer management, feature editing, and map rendering. It provides a suite of 50 tools to execute processing algorithms and manage GIS projects through natural language commands.125411GPL 2.0
- AlicenseNot gradedqualityDmaintenanceBrowser-based geometry processing server that enables AI agents to create geometry, run analysis and operators, inspect results, and take screenshots via MCP.48 npm6MIT
- FlicenseNot gradedqualityCmaintenanceMCP server that enables LLMs to create and control interactive MapLibre maps by placing markers, drawing paths, and rendering polygons directly in Claude Desktop.1-

mcp-server-gis-helperofficial
FlicenseAqualityDmaintenanceEnables users to draw GIS geometry on an interactive map and get clean, validated GeoJSON to hand off to other GIS MCP servers such as FEMA flood screening and USGS hydrography.3-