glacier-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@glacier-mcpmove the western boundary 50 meters east"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
This server cannot be deployed
Maintenance
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.
Generate, edit, and deploy immersive 3D/WebGL web projects from any MCP assistant.
- geoOAuthco.thinair
Geocoding, routing, isochrones, traffic, weather, and place search for AI agents. 19 MCP tools.
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.125317GPL 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.67 npm6MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to perceive and control a live MapLibre GL map over MCP, allowing querying rendered features, reading popups, navigating, and toggling layers.1MIT
- FlicenseNot gradedqualityBmaintenanceMCP server that enables LLMs to create and control interactive MapLibre maps by placing markers, drawing paths, and rendering polygons directly in Claude Desktop.1-