Mcp Reunion

io.github.Hug0x0由 GitHub 账号 Hug0x0 发布v1.4.0更新于 Oct 28, 2026

MCP server for Réunion open data (data.regionreunion.com)

概览

AI 生成的概览

面向留尼汪(La Réunion)公共开放数据的 MCP 服务器,约 270 个数据集,可让助手查询当地统计、地理、交通、旅游与选举信息。

可以做什么
  • 搜索、查看结构并查询区域开放数据目录中的任意数据集,支持原始筛选条件
  • 查询市镇、EPCI、IRIS 等参考图层,生成市镇画像并做多市镇对比
  • 获取人口、住房、就业、健康、教育、环境、文化、社会补助等主题统计
  • 查询交通、旅游、天气、电信与城市规划数据,并可按坐标做周边检索
  • 获取全国选举结果(2022 与 2024)及公共采购公告
  • 把自然语言问题映射到可能适用的工具,并读取静态参考资源
适用场景
适合处理与留尼汪相关的问题,例如当地人口、市政服务、住房、交通、旅游、环境或选举,并希望答案基于官方开放数据而非泛泛常识。
运行要求
以 stdio 方式在本机运行,通常通过 npx 启动,需要 Node.js 20 或更高版本。无需认证、API 密钥或环境变量。需要能访问区域开放数据门户与国家级表格数据 API。源数据多为法语。
安装前请注意
仅对公开数据集做只读查询,不索取任何凭据。可选的本地遥测默认关闭;启用后会把工具调用记录写入本地 JSONL 文件,路径可覆盖。目录通用查询接受原始筛选条件,结果正确性取决于助手是否正确构造条件。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mcp Reunion,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

mcp-reunion

[license] [mcp-reunion MCP server]

MCP server for La Réunion public open data, exposed over stdio for Claude Desktop and other MCP clients.

What it covers

Primary source: the OpenDataSoft Explore v2.1 API at data.regionreunion.com. A small National elections module also queries tabular-api.data.gouv.fr for the 2024 anticipated legislative + European results that the regional portal doesn't carry. Currently 108 tools across 26 modules. A catalog module lets the client reach any of the ~270 datasets at data.regionreunion.com that aren't wired to a dedicated tool yet.

Modules

  • Administration — public-admin local counters (annuaire), RNA associations registry, elected officials, 2022 presidential & legislative results per polling station (rounds 1 & 2 for legislative), BOAMP public-procurement notices, QPV priority neighborhoods, baby names since 2000.
  • Commune — composite tools that join several datasets in parallel: `reunion_find_commune` (fuzzy resolver to canonical INSEE code), `reunion_commune_profile` (population + QPV + schools + businesses + accidents + museums in one call), `reunion_compare_communes` (side-by-side on 2-5 communes), `reunion_iris_profile` (IRIS metadata + 2014 income/poverty/inequality indicators).
  • Culture — Musées de France directory, Joconde collection search, public libraries, festivals, annual museum attendance.
  • Economy — SIRENE v3 establishment search, INSEE monthly CPI, FEDER 2014-2020 beneficiaries, coworking spaces, IRIS-level income/poverty indicators.
  • Education — middle-school & lycée IPS, Génération 2024 label, Parcoursup programs, geolocated school directory, REP/REP+ priority-education schools, higher-ed enrollment, training orgs/CFA.
  • Employment (demandeurs-d-emploi-…-a-la-reunion) — Pôle emploi jobseeker counts by age/sex and by commune.
  • Environment — OpenAQ air-quality, household waste tonnage, RGE eco-renovation companies, ZNIEFF protected zones, Parc national perimeters, petroleum-product consumption, water-management points of interest.
  • Facilities (base-permanente-des-equipements-geolocalisee-la-reunion, equipements-sportifs) — INSEE BPE facilities and the national sport-equipment inventory, filtered to Réunion.
  • Geography (ban-lareunion, bal-la-possession, communes-millesime-france, cantons-millesime-france, intercommunalites-millesime-france, iris-millesime-france, les-20-quartiers-villesaintdenis) — BAN/BAL addresses and the official communes / cantons / EPCI / IRIS / Saint-Denis quarters reference layers.
  • Health — CNAM health-professional directory, COVID stats, pathologies, FINESS, Possession health pros.
  • Heritage — UNESCO World Heritage perimeters and Outstanding Universal Value criterion-vii contribution areas for La Réunion National Park.
  • Hospitality (etablissements-touristiques-lareunion-wssoubik, hebergements-classespublic, localisation-potentielle-ecolodge-lareunion) — tourism establishments, classified accommodations, ecolodge zones.
  • Insights — high-level composite dashboards for public services by commune and tourism.
  • National elections (tabular-api.data.gouv.fr — Ministère de l'Intérieur) — 2024 anticipated legislative results (rounds 1 & 2) per Réunion circonscription, and 2024 European results aggregated for département 974. Complements the 2022 results carried by the regional portal.
  • Nearby — radius-based search around coordinates for schools, Car Jaune stops, and official museums.
  • Housing (logements-et-logements-sociaux-…, couts-et-surfaces-moyens-…) — departmental housing atlas and social-housing costs.
  • Possession (donnees-essentielles-marches-publics-…, subventions-attribuees-…) — La Possession public procurement contracts and association grants.
  • Router — reunion_find_relevant_tools, a deterministic helper that maps natural-language questions to likely tools, datasets, and query flows.
  • Social — CAF beneficiaries and prestation amounts, childcare facilities (Saint-Denis + Possession).
  • Telecom (sites-mobiles-5g-a-la-reunion, arcep_regions) — 5G cell sites per operator and FttH deployment coverage.
  • Territory — DVF real-estate transactions, INSEE commune population, La Poste postal codes, potentiel foncier land reserves, Sitadel residential construction permits.
  • Tourism — family trails, canyoning routes, SIT Soubik landmarks & cultural POIs, hiking circuits, coastal trail, pools, monthly tourism frequentation since 2017.
  • Transport — TMJA road traffic, functional road classification, Car Jaune GTFS stops/routes and planning context, regional cycle network, road accidents (2016-2019), vehicle technical-inspection prices, daily flow & speed limits on national roads.
  • Urbanism (base-permanente-des-plu-de-la-reunion, liste-des-permis-de-constuire-…) — PLU zoning and non-residential building permits (Sitadel).
  • Weather (donnees-synop-essentielles-ommpublic) — Météo France SYNOP observations for Réunion stations: temperature, humidity, wind, pressure, rainfall; plus a station-listing tool.
  • Catalog (meta) — search_catalog, inspect_dataset, query_dataset. Lets the agent discover and query any of the ~270 datasets not covered by a dedicated module, with a raw ODSQL where clause as escape hatch.
  • Resources — static MCP resources for commune, EPCI, IRIS, catalog, and popular dataset reference data.

The data.regionreunion.com catalog exposes ~270 datasets. More modules can be added incrementally — see Extending below.

For a generated module-by-module view of dataset and tool coverage, see COVERAGE.md.

Reaching datasets that aren't wired yet

The dedicated modules above cover the most-asked topics, but the portal has ~270 datasets in total. Instead of writing a new module for every long-tail question, the catalog module gives the MCP client three generic tools that together act as an escape hatch onto the whole portal:

  1. reunion_search_catalog — keyword / theme / publisher search across all datasets. Returns dataset IDs, titles, descriptions, record counts.
  2. reunion_inspect_dataset — given a dataset ID, returns its full schema (field names + types) so the agent knows what it can filter on.
  3. reunion_query_dataset — fetches records from any dataset with a raw ODSQL where clause, select, order_by, limit.

Typical flow when the user asks about something no dedicated module covers (e.g. volcanology, elections, library attendance, …):

reunion_search_catalog({ query: "volcan" })  → returns e.g. dataset_id "suivi-volcanologique-piton-fournaise"reunion_inspect_dataset({ dataset_id: "suivi-volcanologique-piton-fournaise" })  → returns fields like date, type_evenement, magnitude, profondeur…reunion_query_dataset({  dataset_id: "suivi-volcanologique-piton-fournaise",  where: "type_evenement = 'éruption' AND date >= date'2023-01-01'",  order_by: "date DESC",  limit: 20})

Net effect: the agent can answer questions backed by any of the ~270 datasets without anyone having to code a new module first. Datasets that turn out to be popular via query_dataset are candidates for being promoted into their own dedicated module with curated field names.

Install

bash
npm installnpm run buildnpm testnpm run dev

Claude Desktop

json
{  "mcpServers": {    "reunion": {      "command": "npx",      "args": ["mcp-reunion"]    }  }}

Examples

Prompt recipes live in examples/:

MCP resources

The server also exposes reference resources:

  • reunion://communes
  • reunion://epci
  • reunion://iris
  • reunion://datasets/catalog
  • reunion://datasets/popular

Extending

Each module lives in src/modules/ and wires an OpenDataSoft dataset to one or more MCP tools via the shared ReunionClient (src/client.ts). To add a module:

  1. Identify the dataset ID at https://data.regionreunion.com/api/explore/v2.1/catalog/datasets?limit=100.
  2. Inspect its fields (/catalog/datasets/<id>) to know what to expose.
  3. Write a module following the pattern in src/modules/weather.ts or transport.ts.
  4. Register it in src/modules/index.ts and bump TOOL_COUNT.

Production notes

  • Runtime: Node.js 20+
  • Transport: stdio
  • Upstream API: https://data.regionreunion.com/api/explore/v2.1
  • Authentication: none
  • Language of source data: mostly French

Maintenance checks

Optional local telemetry

Tool-call telemetry is disabled by default. To debug local usage patterns without sending anything to a remote service:

bash
MCP_REUNION_TELEMETRY=local npx -y mcp-reunion

This writes JSONL records to .mcp-reunion-telemetry.jsonl by default. Override the path with MCP_REUNION_TELEMETRY_PATH.

License

MIT — adapted from lacausecrypto/mcp-new-caledonia.

来源:README.md,提交 81b4169

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.4.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分