mcp-commune-france
mcp-commune-france
Servidor MCP para inteligencia de comunas francesas: geo.api.gouv.fr, códigos postales, departamentos, regiones y descubrimiento de conjuntos de datos.
Herramientas
Ejecute el MCP y llame a commune_france_get_sources primero para inspeccionar la cobertura de fuentes. Este servidor también expone herramientas específicas de dominio para el tema descrito anteriormente.
Related MCP server: mcp-data-gouv-fr
Instalación
npm install
npm run build
npm test
npm run devClaude Desktop
{
"mcpServers": {
"commune-france": {
"command": "npx",
"args": ["mcp-commune-france"]
}
}
}Fuentes
geo.api.gouv.fr: https://geo.api.gouv.fr/
data.gouv.fr API: https://doc.data.gouv.fr/api/reference/
Estadísticas oficiales de INSEE: https://www.insee.fr/
Publicación
Ver docs/publishing.md.
Glama / Docker
El repositorio incluye Dockerfile y glama.json.
Pasos de compilación:
["npm install", "npm run build"]Argumentos de CMD:
["node", "dist/index.js"]Seguridad
Este MCP ayuda a los agentes a descubrir y resumir fuentes públicas. No es una autoridad oficial. Verifique las decisiones contra el servicio público competente o el productor de datos original.
Licencia
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 public open data (data.gouv.fr) cross-referenced by commune, EPCI and department.
French addresses, routing, companies, catchment stats, email & phone checks (BAN, INSEE, OSM).
French cadastre, PLU zoning and administrative boundaries from APICarto for AI assistants.
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-
- AlicenseAqualityCmaintenanceEnables discovery and inspection of French public open data on data.gouv.fr, including datasets, resources, organizations, and dataservices via natural language.9MIT
- AlicenseAqualityCmaintenanceEnables 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
- AlicenseBqualityCmaintenanceEnables discovery and summarization of public French transport data, including datasets, GTFS resources, regions, networks, and data-quality information, via transport.data.gouv.fr.5MIT