mcp-commune-france
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., "@mcp-commune-france Get the postal codes for Bordeaux."
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.
mcp-commune-france
MCP server for French commune intelligence: geo.api.gouv.fr, postal codes, departments, regions, and dataset discovery.
Tools
Run the MCP and call commune_france_get_sources first to inspect source coverage. This server also exposes domain-specific tools for the topic described above.
Includes commune resolution, department commune lists, commune profiles, BAN address geocoding, and address-to-commune profiles.
Related MCP server: mcp-data-gouv-fr
Install
npm install
npm run build
npm test
npm run devClaude Desktop
{
"mcpServers": {
"commune-france": {
"command": "npx",
"args": ["mcp-commune-france"]
}
}
}Sources
geo.api.gouv.fr: https://geo.api.gouv.fr/
data.gouv.fr API: https://doc.data.gouv.fr/api/reference/
INSEE official statistics: https://www.insee.fr/
Publishing
See docs/publishing.md.
Glama / Docker
The repo includes Dockerfile and glama.json.
Build steps:
["npm install", "npm run build"]CMD arguments:
["node", "dist/index.js"]Safety
This MCP helps agents discover and summarize public sources. It is not an official authority. Verify decisions against the competent public service or original data producer.
License
MIT
Available Tools
5 toolscommune_france_fetch_source_excerptB
Fetch a short text excerpt from a curated source by index or title keyword.
Inputs: source_key (required), max_chars.
commune_france_find_communeA
Resolve French communes by name, INSEE code, or postal code using geo.api.gouv.fr.
Inputs: query (required), limit.
commune_france_get_sourcesA
List curated sources used by this MCP.
Inputs: no named parameters.
commune_france_list_department_communesB
List communes in a French department using geo.api.gouv.fr.
Inputs: department_code (required).
commune_france_profileB
Build a source-oriented commune profile with geo identity and suggested public-data queries.
Inputs: code_insee (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a distinct purpose: source list, source excerpt, commune resolution, department listing, and profile building. No overlap exists between finding a specific commune and listing all communes in a department, and the profile combines earlier data without redundancy.
All tools share the 'commune_france_' prefix and follow a verb_noun pattern (get, fetch, find, list, profile). The only deviation is 'profile' as a noun, but it functions as a verb-like action and remains uniform with the prefix, making the pattern predictable.
Five tools is well within the optimal range for a focused server. Each tool covers a discrete part of the domain—sources and commune data—without unnecessary expansion or redundancy.
The server covers its stated purpose completely: retrieving source metadata, fetching excerpts, resolving communes, listing department communes, and building a composite profile. There are no obvious missing operations for a read-only, data-retrieval service.
Maintenance
Related MCP Connectors
French open data: communes, parcels, risks, property sales, water, crime, planning.
French address quality, geocoding, routing, company lookup & catchment stats (BAN, INSEE, OSM).
Search 2.19M French street records, IRIS-level amenities and commune-level risk codes.
Independent platform exposing French official public territorial data through read-only MCP tools.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceProvides access to French public data through data.gouv.fr, IGN cartographic services (maps, tiles, geographic data), address geocoding, and administrative divisions with demographic information.6-
- AlicenseAqualityBmaintenanceEnables discovery and inspection of French public open data on data.gouv.fr, including datasets, resources, organizations, and dataservices via natural language.9MIT
- AlicenseAqualityBmaintenanceEnables discovery and navigation of French overseas territories public data across national and local open-data portals, with tools to search datasets, list territories and communes, and fetch source excerpts via official French government APIs.10MIT
- AlicenseBqualityBmaintenanceEnables discovery and summarization of public French transport data, including datasets, GTFS resources, regions, networks, and data-quality information, via transport.data.gouv.fr.5MIT