limen-agents-mcp
OfficialProvides tools to retrieve NASA FIRMS satellite fire detections for a given area, enabling fire monitoring from space.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@limen-agents-mcp check landslides and rainfall near 38.91N, 16.05E over the last day"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
limen-agents
The AI module of Limen, an open early-warning system for landslides, floods and wildfires in Italy. It contains:
the language model providers behind one interface, with a spending cap;
the checks that keep a model's numbers honest;
the one MCP server of the project;
Limen as an A2A agent.
pip install "limen-agents[mcp]" # the MCP server over the open-data libraries
pip install "limen-agents[a2a]" # the A2A agent
pip install "limen-agents[providers]" # the Anthropic and OpenAI SDKsPython 3.12+. Apache-2.0.
Where it sits
The project is split by job:
The open-data libraries handle data and nothing else, and none of them has a server of its own. They are dpc-radar, rainfall-thresholds, ispra-idrogeo, ingv-shakemap, glofas-ewds, fwi-chain, effis-client, firms-client, copernicus-ems, egms-client and imageserver-export.
limen-core joins the libraries: scoring, verification, the evidence of a cell. It is the only package that reaches them.
limen-ml trains and serves the models.
limen-agents (this package) is where a language model enters: providers, budget, checks, and the servers for assistants and agents.
Limen is the application: the database, the scheduler, the API, the alerts and the page. It uses limen-core and limen-agents.
Related MCP server: SITUROOM MCP Server
The MCP server
limen-agents-mcp # standard input and output
limen-agents-mcp --http # Streamable HTTP on 127.0.0.1:8790
claude mcp add limen -- uvx --from "limen-agents[mcp]" limen-agents-mcpEach tool reads a library through limen_core.evidence:
rain_atandstorms_now: radar rain and storms in progress (DPC);landslides_near: landslides of the IFFI inventory (ISPRA);earthquakes_near: earthquakes and the ground shaking they caused (INGV ShakeMap);fire_danger: fire danger (EFFIS);fires_in_area: fires seen from space (NASA FIRMS);river_discharge: the GloFAS river discharge and forecast peak of the place stored nearest a point (glofas-ewds; reads the store filled beforehand withglofas-ewds, no key);flood_activations: the Copernicus EMS Rapid Mapping activations of a country over the last days (copernicus-ems; public, no key);ground_motion: the EGMS ground velocity at a point (egms-client; needs a CLMS service key inEGMS_SERVICE_KEYorEGMS_SERVICE_KEY_FILE, read from the environment only);evidence: every reading a Limen analyst gets for a hazard on some places;check_numbers: the numbers of a text that are not in the results.
The instructions the model receives are the ANSWER_RULES of each library, joined. Every number must come from a result; null means not measured, never zero; nothing here is an alert.
An application adds its own tools. Limen adds its assessments and alerts this way:
from limen_agents.mcp_server import create_server
async def assessment(aoi: str) -> dict:
"""The latest assessment of an area."""
...
server = create_server(extra_tools=[assessment])A tool that writes says so, and can keep the name its clients know:
from limen_agents.mcp_server import WRITES, Tool
async def run_monitor(aoi: str) -> dict:
"""Run the monitoring once (it writes)."""
...
server = create_server(
extra_tools=[assessment, Tool(run_monitor, name="tool_run_monitor", annotations=WRITES)],
instructions="The application's own rules.",
evidence_tools=False, # only the application's tools, no library client opened
extensions=[], # MCP extensions (SEP-2133), for new request methods
)The A2A agent
limen-agents-a2a # http://127.0.0.1:8791, card at /.well-known/agent-card.jsonOther agents find Limen through its card and send it messages over JSON-RPC (SendMessage, A2A protocol 1.0).
By default the agent needs no model. It takes a JSON request and answers with what the sources say, as data:
{"hazard": "landslide", "cells": [{"id": "a", "lon": 16.05, "lat": 38.91}]}An application plugs in its own answer, one with a model behind it, as a function from text to text: create_app(answer).
Language models
from limen_agents.llm import ChatMessage, LlmConfig, resolve
factory = resolve(LlmConfig(anthropic_api_key="..."))
client = factory.create("Briefing")
text = await client.chat([ChatMessage("user", "...")])resolve follows Limen's order:
an Anthropic key, if the SDK is installed;
an OpenAI key;
Microsoft Foundry;
llama.cpp, the self-hosted fallback.
Ollama is chosen only explicitly. A MonthlyBudget over a store you provide caps the paid models; when the spend cannot be read, it lets no call through.
Checks
unknown_numbers(text, source) gives the numbers of a text that are not in the message the model received. evaluate_briefing adds the rules of a public briefing: length, no lists, no alarm terms, no orders to the reader. These are pure functions, with no model.
Limits
Some sources need set-up. Without a CLMS key
ground_motionanswers with an error that names the variables, and without a filled GloFAS storeriver_dischargedoes the same; inevidencethose readings are left out. The first EGMS read of a point downloads its tile, about 60 MB.Flood activations are by country. The Rapid Mapping list has no geometry; the observed water of one activation is in copernicus-ems (
water_over_a_place,activation_summary), not a tool here yet.No model is called by this package unless you configure one. The default A2A answer is deterministic.
The faithfulness check finds invented numbers, not misplaced ones. A true number said of the wrong thing passes it.
The servers have no authentication. They listen on 127.0.0.1; see SECURITY.md.
Not an alert service. The official alert is the criticality bulletin of the Civil Protection Department and of the Region.
Licence
Apache-2.0. The data read by the tools keep their own licences: DPC and IFFI CC BY-SA 4.0; INGV, EFFIS, NASA FIRMS, GloFAS, Copernicus EMS and EGMS as stated in each answer.
Available Tools
11 toolscheck_numbersDRead-only
The numbers of text that are not in source, the results it was written from.
Inputs: text (required), source (required). Returns: object
earthquakes_nearBRead-only
The strongest earthquakes of the last days around a point and what it felt (INGV).
Each ShakeMap read weighs 5-18 MB: keep limit small.
Inputs: latitude (required), longitude (required), days, limit, +2 more. Returns: object
evidenceCRead-only
What the sources say about some places, for hazard (landslide, flood, wildfire).
cells are {"id", "lon", "lat"}, the most important first. The
readings are those a Limen analyst gets; failed ones are left out.
Inputs: cells (required), hazard (required), bbox. Returns: object
fire_dangerARead-only
The official EFFIS fire danger at a point, on day (YYYY-MM-DD) and the two after.
Inputs: lat (required), lon (required), day. Returns: object
fires_in_areaCRead-only
The fires NASA FIRMS saw in a box over a year of its archive (no key needed).
Inputs: east (required), west (required), north (required), south (required), +2 more. Returns: object
flood_activationsARead-only
The Copernicus EMS Rapid Mapping activations of a country, newest first.
Those whose event falls in the days before until (YYYY-MM-DD,
default today), in categories (default Flood and Storm: floods are
often filed as Storm). An activation maps observed water, not a forecast.
Inputs: days, limit, until, country, +1 more. Returns: object
ground_motionARead-only
The EGMS ground velocity (mm/year) of the 100 m cell at a point, with its reliability.
component U is vertical (negative: down), E east-west. release
defaults to the latest. Needs a CLMS service key on the server
(EGMS_SERVICE_KEY or EGMS_SERVICE_KEY_FILE); the first read of
a point downloads its tile, about 60 MB, once.
Inputs: lat (required), lon (required), release, component. Returns: object
landslides_nearBRead-only
The landslides of the ISPRA IFFI inventory within radius_m of a point.
radius_m is at most 5,000.
Inputs: lat (required), lon (required), limit, radius_m. Returns: object
rain_atBRead-only
The radar rain of the last 1, 3, 6, 12 or 24 hours at a point, in mm (DPC).
With the frame it was read from and how far the radar is trusted there.
Inputs: lat (required), lon (required), hours. Returns: object
river_dischargeARead-only
The GloFAS river discharge of the place stored nearest a point (glofas-ewds).
The place's river and how far to trust it, the last day of discharge
against its history, the forecast peak and its return period. Read from
the GloFAS store on this machine, filled beforehand with glofas-ewds;
an error when no place is stored within within_km.
Inputs: lat (required), lon (required), within_km. Returns: object
storms_nowBRead-only
The storms raining now in a box (10 mm/h or more), heaviest first (DPC radar).
Inputs: east (required), west (required), north (required), south (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each hazard/source pair is reasonably differentiated by point-vs-box and observation-vs-forecast framing (rain_at vs storms_now, fire_danger vs fires_in_area, landslides_near vs ground_motion). The main soft overlap is `evidence`, which aggregates the same sources as the individual hazard tools, so an agent may hesitate between fetching one targeted reading and calling the batch view. Otherwise boundaries are clear and descriptions reinforce them.
Ten of eleven tools follow a `resource_qualifier` pattern (rain_at, storms_now, landslides_near, fires_in_area, river_discharge, ground_motion, flood_activations), which reads predictably. `evidence` (bare noun) and `check_numbers` (verb_noun) break the pattern, but they are distinct utility tools rather than core hazard readers.
Eleven tools is well within the ideal range and each maps to a specific hazard or source (rain, storms, landslides, earthquakes, fire danger, active fires, discharge, EMS activations, ground motion), plus two utilities. No obvious filler or redundant entries.
The surface covers a broad multi-hazard geospatial domain with both point and area queries and a cross-source synthesis tool, which is solid coverage. Gaps remain: no forecast rainfall/weather tool, no per-hazard batch or multi-point query outside `evidence`, and no way to list available sources or stored places (river_discharge fails if no place is stored), which could strand an agent.
Maintenance
Related MCP Connectors
Climate and disaster risk for any place or property: flood risk, heat waves, storms and hurricanes, wildfires, earthquakes, sea level rise and 7-day weather risk. Is it safe to go there? Ask about any city, address or coordinates and get this week's weather risk (heat, cold, wind, heavy rain, snow), wildfires, earthquakes, floods and cyclones happening nearby right now, long-term exposure to 2050 and 2080 (flood depth, sea level rise, extreme heat, drought, water stress) and the country's disaster-risk profile and rank among 194 countries. Also compares and ranks countries by risk for ESG and insurance research, and in Claude and other MCP Apps hosts shows an interactive map of the place right in the chat. Every value cites its source: INFORM, ND-GAIN, World Bank, CMIP6, ERA5, IPCC AR6, WRI Aqueduct, GDACS, NASA FIRMS, OpenAQ, ECCC GDPS. Remote, free, no API key, read-only.
Real-world data for agents: air quality, geocoding, quakes, holidays, web search
Public web tools for agents: product extraction, claim checks, webpage QA and ranked audits.
Verifiable Earth ground truth for AI agents: water, hazard, ground stability, resource, with proof.
Related MCP Servers
AlicenseNot gradedqualityDmaintenance62 live, cryptographically signed data tools for AI agents and robots: weather, natural hazards, flights, shipping, space, CVEs, sanctions, software versions, sea ice and more. Every datapoint carries source, licence, timestamp and an Ed25519 signature.MIT- AlicenseNot gradedqualityDmaintenanceEnables agents to fetch real-time earthquake, natural events, conflict headlines, market data, and tension index from free public sources via tools like get_quakes, get_events, get_headlines, get_tension, get_markets.MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLM agents to access live seismic data, calculate emergency vehicle routes, and dispatch first responders to incidents.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to query live earthquake and disaster event data, and to compute deterministic risk assessments with tamper-evident seals.MIT