datagouv/datagouv-mcp
Official data.gouv.fr Model Context Protocol (MCP) server that allows AI chatbots to search, explore, and analyze datasets from the French national Open Data platform, directly through conversation.
Python · ★ 702 · Fork 54 · 在 GitHub 查看
在手机上浏览源码、订阅每日 AI 趋势日报与项目架构深度解读:获取 CopoHub 客户端(iOS & HarmonyOS)→
GitHub Trending 上榜记录
datagouv/datagouv-mcp 已在 GitHub Trending 每日榜单上榜 2 天,最高排名第 13,首次上榜 2026-02-28,最近一次上榜 2026-03-01。
| 日期 | 排名 | Star | 当日增长 |
|---|---|---|---|
| 2026-03-01 | #13 | 702 | +115 |
| 2026-02-28 | #13 | 634 | +122 |
同期上榜的项目
- moeru-ai/airi – 💖🧸 Self hosted, you-owned Grok Companion, a container of souls of waifu, cyber livings to bring them into our worlds, wishing to achieve Neuro-sama's altitude. Capable of realtime voice chat, Minecraft, Factorio playing. Web / macOS / Windows supported.
- ruvnet/wifi-densepose – WiFi DensePose turns commodity WiFi signals into real-time human pose estimation, vital sign monitoring, and presence detection — all without a single pixel of video.
- ruvnet/ruflo – 🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
- anthropics/claude-code – Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
- microsoft/markitdown – Python tool for converting files and office documents to Markdown.
- tukaani-project/xz – XZ Utils
datagouv-mcp 项目深度剖析与商业评估报告
datagouv-mcp 项目深度剖析与商业评估报告
1. 核心定位与商业落地价值
根本痛点:数据发现与消费之间存在巨大的认知鸿沟。data.gouv.fr 作为法国国家级开放数据平台,承载超过 40 万个数据集,传统基于浏览器的检索方式要求用户具备精确的元数据知识、理解平台 API 结构,并具备数据格式转换能力。datagouv-mcp 通过 Model Context Protocol 将这一复杂链路压缩为自然语言交互,本质上解决了"数据民主化"的最后一公里问题。
商业落地场景: 公共部门智能化:法国各级政府机构可将其嵌入内部助手,实现政策制定前的数据快速检索与交叉分析,显著降低数据素养门槛。 金融与地产行业:针对房价、人口、企业注册(Sirene API)等高频数据集,提供会话式数据获取通道,可集成至内部 BI 或风控系统。 媒体与新闻机构:数据新闻团队可快速验证数据可用性、预览数据结构,缩短事实核查周期。 教育科研:降低学生与研究人员接触真实政府数据的门槛,尤其适合社会科学领域的量化研究入门。
竞品差异化与护城河: 官方身份背书:由 data.gouv.fr 官方团队(Etalab 部门)维护,与平台 API 的同步更新具有天然优势,这是任何第三方封装无法复制的信任资产。 生态位卡位:在 MCP 生态中,官方数据平台自建 MCP Server 的案例极少。该项目是"公共数据基础设施 + AI 协议"融合的标杆性实践,为其他国家级开放数据平台提供了可复制的范式。 零认证设计:仅暴露只读工具,无需 API Key,极大降低了集成门槛。这种"默认开放"的策略在政务服务场景中极具政治正确性与合规安全性。
2. 核心架构设计与技术深度
模块拆解思想:项目采用轻量级单体架构,以 FastMCP(Python SDK)为核心框架,按数据源类型横向切分工具模块: 数据集层(Datasets):封装 data.gouv.fr 主 API 的搜索、元数据、资源列表三大操作。 第三方 API 目录层(Dataservices):针对平台上注册的第三方 API 提供搜索、元数据、OpenAPI 规范摘要三级能力。 数据查询层(Tabular API):直接对 CSV/XLSX 资源执行行级查询,这是架构中最具技术含量的模块。 指标层(Metrics):提供数据集/资源的访问量、下载量月度统计。
核心链路数据流向: 用户自然语言 → MCP Client → Streamable HTTP → FastMCP Router → 工具函数 → data.gouv.fr API (REST) → 结构化 JSON → 工具函数裁剪/聚合 → MCP Response
在 README 中展示上榜徽章
[](https://github.fq6825.top/repo/datagouv/datagouv-mcp)