Skip to main content
Glama
mcp-local-risk-france

mcp-local-risk-france

by Hug0x0

mcp-local-risk-france

MCP server for French local natural, technological, and industrial risk discovery.

Scope

French commune-level risk intelligence using Géorisques, administrative references, and open risk datasets.

Related MCP server: mcp-gouv-fr

Tools

  • local_risk_france_get_sources

  • local_risk_france_search_data_gouv

  • local_risk_france_get_dataset

  • local_risk_france_fetch_source_excerpt

  • local_risk_france_explain_scope

  • local_risk_france_list_reference_items

  • local_risk_france_find_commune

  • local_risk_france_get_georisques_links

  • local_risk_france_search_risk_datasets

  • local_risk_france_commune_brief

  • local_risk_france_get_radon

  • local_risk_france_get_seismic_zoning

Install

npm install
npm run build
npm test
npm run dev

Claude Desktop

{
  "mcpServers": {
    "local-risk-france": {
      "command": "npx",
      "args": ["mcp-local-risk-france"]
    }
  }
}

Sources

Example Prompts

  • "Find official risk sources for commune 97411."

  • "Search data.gouv.fr for PPR and flood-risk datasets."

  • "Explain how to combine Géorisques and commune codes."

Safety

This MCP helps agents discover and summarize public sources. It is not an official authority. For emergency, legal, or administrative decisions, follow the competent public service.

Glama / Docker

The repo includes Dockerfile and glama.json.

Publishing notes: docs/publishing.md.

Build steps:

["npm install", "npm run build"]

CMD arguments:

["node", "dist/index.js"]

License

MIT

Available Tools

12 tools
local_risk_france_commune_briefA

Create a source-oriented local-risk brief for a commune: geo.api identity, Géorisques links, and data.gouv search queries to run next.

Inputs: code_insee (required).

local_risk_france_explain_scopeA

Explain what this MCP is useful for and how an agent should combine its sources.

Inputs: no named parameters.

local_risk_france_fetch_source_excerptA

Fetch a short text excerpt from one curated source URL. Use source_key as a number, title keyword, or URL fragment from get_sources.

Inputs: source_key (required), max_chars.

local_risk_france_find_communeA

Resolve a French commune by name, INSEE code, or postal code using geo.api.gouv.fr. Useful before querying local risk sources.

Inputs: query (required), limit.

local_risk_france_get_datasetA

Inspect one data.gouv.fr dataset by slug or id using the official public API.

Inputs: dataset (required).

local_risk_france_get_radonA

Fetch official Géorisques v1 radon potential for a commune INSEE code. v1 endpoints are public without token.

Inputs: code_insee (required).

local_risk_france_get_seismic_zoningA

Fetch official Géorisques v1 seismic zoning for a commune INSEE code. v1 endpoints are public without token.

Inputs: code_insee (required).

local_risk_france_get_sourcesA

List curated official and high-value sources for local risk France.

Inputs: no named parameters.

local_risk_france_list_reference_itemsB

List built-in reference items for this MCP, when available.

Inputs: no named parameters.

local_risk_france_search_data_gouvC

Search public datasets on data.gouv.fr using the official public API.

Inputs: query, page_size.

local_risk_france_search_risk_datasetsB

Search data.gouv.fr for local-risk datasets, combining a risk topic and optional commune/departement context.

Inputs: place, topic, page_size.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 12 tools

    Disambiguation4/5

    Tools are mostly distinct: one for sources, two for data.gouv search/inspect, one for fetching excerpts, one for scope explanation, one for reference items, and several for commune-specific risk lookups (find, links, radon, seismic, brief). Slight overlap between search_data_gouv and search_risk_datasets — the latter adds topic+context but they could be confused.

    Naming Consistency4/5

    All tools share the 'local_risk_france_' prefix, which creates a strong brand and pattern, and most verbs are clear (get, search, find, fetch, list, explain). Minor inconsistency: 'get_georisques_links' vs 'get_seismic_zoning' vs 'get_radon' — the last two target specific data types while the first returns links, but verbs are uniform enough.

    Tool Count5/5

    12 tools is well within the sweet spot for a domain-specific MCP. Each tool covers a distinct need: navigation, data retrieval, lookup, and briefing. None feel redundant; a few are meta (explain_scope, list_reference_items) but useful for agent onboarding.

    Completeness4/5

    The surface covers essential workflows: discover sources, search datasets, inspect datasets, resolve communes, fetch official links and specific data (radon, seismic), and generate a brief. Minor gaps: no direct tool to fetch data from a data.gouv dataset (only inspect metadata) and no tool to fetch full source content beyond a short excerpt, but agents can combine tools to achieve this.

    Maintenance

    ActivityActive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      F
      maintenance
      An experimental MCP server providing spatial context for LLMs by interfacing with French Geoplateforme services. It enables tasks such as geocoding, altitude lookups, and querying administrative, cadastral, or urban planning data.
      18 npm
      4
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server for exploring French public open data via APIs like data.gouv.fr, geo.api.gouv.fr, INSEE Sirene, and Radio France.
      11
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      A French administration MCP server that enables AI agents to access official public data including communes, geocoding, property risks, and energy performance certificates (DPE) for real estate evaluation.
      4
      35 PyPI
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      MCP server for the French open-data catalogue data.gouv.fr, enabling dataset search and retrieval, organization lookup, and reuse discovery via natural language queries.
      101 npm
      MIT