MCP Server for pymdurs
Provides tools for fetching IGN geospatial datasets such as buildings, roads, and water bodies, with results usable as GeoJSON summaries or visual outputs for urban analysis.
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.
mcp_pymdurs
Urban geometry for AI agents — an HTTP MCP server that wraps pymdurs collectors (buildings, DEM, LCZ, cadastre, roads, water) behind Robyn JSON-RPC.
Inspired by mcp_pymdu, rebuilt for uv · Python 3.14 · Robyn · pymdurs.
Robyn MCP is experimental. Transport is HTTP JSON-RPC on
/mcp(not FastMCP stdio). All tools are async.
Why
Need | What you get |
Give Claude / agents French urban layers | One MCP endpoint, nine tools |
Plotly HTML maps |
|
Typed contracts | Same Pydantic models for MCP |
Interactive maps | Plotly HTML via |
Default study area: La Rochelle[-1.152704, 46.181627, -1.139893, 46.18699] (WGS84) → collectors reproject to EPSG:2154.
Related MCP server: Proto OS
Quick start
uv sync
uv run python -m mcp_pymdurs
# or: uv run mcp-pymdursListen |
|
Health | |
Defaults | |
MCP | |
Docs |
Smoke test:
bash examples/curl_mcp.shcurl -sS -X POST http://localhost:8080/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'Architecture
┌──────────────┐ JSON-RPC ┌─────────────┐ pymdurs ┌─────────────┐
│ Claude / curl│ ───────────────▶ │ Robyn :8080│ ───────────────▶ │ IGN / gouv │
│ mcp-remote │ POST /mcp │ async tools│ Building, Dem… │ data.gouv │
└──────────────┘ └──────┬──────┘ └─────────────┘
│
POST /api/* (Pydantic → 422 on bad body)Schemas live in mcp_pymdurs/schemas.py.
Note: app.py must keep real (non-stringified) type annotations — no from __future__ import annotations — so Robyn can detect BaseModel params.
MCP tools
Tool | Returns |
| Square WGS84 bbox from |
| Buildings JSON summary, or Plotly HTML if |
| DEM / MNT TIFF + mask paths |
| Local Climate Zones (data.gouv zip + pymdurs) |
| Cadastre parcels |
| IGN roads |
| IGN water bodies |
| Buildings Plotly HTML |
| LCZ Plotly HTML via pymdurs |
Also registered:
Resource
pymdurs://defaults/bbox— default bbox / CRS / output pathPrompt
urban_explore— suggested agent workflow
REST mirrors
Same payloads, Pydantic-validated (robyn[pydantic]):
POST /api/bbox · /api/buildings · /api/dem · /api/lcz · /api/cadastre · /api/roads · /api/water
Claude Desktop
Claude Desktop config is stdio-only. Do not put a "url" field in claude_desktop_config.json (it can wipe mcpServers). Bridge with mcp-remote:
Start the server:
uv run python -m mcp_pymdursEdit config
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Merge:
{
"mcpServers": {
"pymdurs": {
"command": "npx",
"args": ["-y", "mcp-remote", "http://127.0.0.1:8080/mcp"]
}
}
}Fully quit and reopen Claude Desktop (needs Node.js /
npx).
Alternative with mcp-proxy:
{
"mcpServers": {
"pymdurs": {
"command": "uvx",
"args": [
"mcp-proxy",
"--transport",
"streamablehttp",
"http://127.0.0.1:8080/mcp"
]
}
}
}Clients with native HTTP MCP (e.g. Claude Code) can use "type": "http" + "url": "http://127.0.0.1:8080/mcp" — no bridge.
Requirements
Python 3.14
Network access to IGN / data.gouv.fr for live fetches
License
GPL-3.0-or-later — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
OpenStreetMap queries, maps/styles, search, routing, terrain, analysis, pipelines, and rendering.
Geospatial AI MCP server — satellite imagery, embeddings, weather, GNS governance
Verifiable geospatial tools: distances, topology, isochrones, Overture Maps, with sources.
Geocode, reverse geocode, and run Overpass spatial queries on OpenStreetMap data.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server generated from an OpenAPI Specification, exposing tools via HTTP. It allows clients to invoke API operations using JSON-RPC 2.0 requests.MIT
- AlicenseAqualityDmaintenanceProvides a JSON-RPC MCP server that exposes policy-governed agent tools, including paid tools, tool muxing, and OpenAPI-to-MCP conversion, enabling agents to discover, coordinate, and execute tasks within the ProtoOS ecosystem.51Apache 2.0
- FlicenseBqualityCmaintenanceEnables LLM agents to programmatically inspect hardware resources, run in-memory inference benchmarks, list supported fMRI studies, and retrieve cortical and subcortical atlas region indices via JSON-RPC 2.0.4-
- AlicenseNot gradedqualityCmaintenanceServes MCP tools and resources over a Streamable HTTP endpoint, letting clients invoke methods such as echo through JSON-RPC 2.0 requests. Its methods are generated from an OpenAPI Specification file and can be customized via environment variables for port and API URL.MIT