mcp-commune-france
mcp-commune-france
用于法国市镇信息的 MCP 服务器:geo.api.gouv.fr、邮政编码、省、大区以及数据集发现。
工具
运行 MCP 并首先调用 commune_france_get_sources 以检查数据源覆盖范围。该服务器还提供针对上述主题的领域专属工具。
Related MCP server: mcp-data-gouv-fr
安装
npm install
npm run build
npm test
npm run devClaude Desktop
{
"mcpServers": {
"commune-france": {
"command": "npx",
"args": ["mcp-commune-france"]
}
}
}数据源
geo.api.gouv.fr: https://geo.api.gouv.fr/
data.gouv.fr API: https://doc.data.gouv.fr/api/reference/
INSEE 官方统计:https://www.insee.fr/
发布
Glama / Docker
该仓库包含 Dockerfile 和 glama.json。
构建步骤:
["npm install", "npm run build"]CMD 参数:
["node", "dist/index.js"]安全
此 MCP 帮助智能体发现并总结公共数据源。它并非官方权威机构。请以主管公共服务部门或原始数据生产者的信息为准来核验自己的判断。
许可证
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