home / mcp / environment agency flood monitoring mcp server

Environment Agency Flood Monitoring MCP Server

Provides access to Environment Agency flood warnings, areas, monitoring stations, and near real-time measurements via an MCP client.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "dwain-barnes-mcp-server-environment-agency": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-environment-agency"
      ]
    }
  }
}

The Environment Agency Flood Monitoring MCP Server enables you to access near real-time flood warnings, water level measurements, flow data, and monitoring station information from the UK Environment Agency. It provides flexible tools to query current conditions, locate monitoring stations, and retrieve historical readings, all through an MCP client.

How to use

You connect to the MCP server from your MCP client to retrieve flood warnings, monitoring stations, and measurements. Use geographic filtering to focus on a location, request recent readings every 15 minutes, and combine multiple data types in a single query to monitor flood risk and water status for your region.

How to install

Prerequisites you need before installing:
- Node.js 18+ shipped with npm
- A working MCP client environment

To install the MCP server globally on your system, run the following command.
npm install -g mcp-server-environment-agency

Configuration and setup for local usage

You can run the MCP server as a local stdio process using npx. This allows you to test and develop against the MCP server without publishing an installable package.

{
  "mcpServers": {
    "environment_agency": {
      "command": "npx",
      "args": ["-y", "mcp-server-environment-agency"]
    }
  }
}

Claude Desktop configuration

If you use Claude Desktop, add the MCP server to your Claude configuration so you can access it from Claude directly.

{
  "mcpServers": {
    "environment-agency": {
      "command": "npx",
      "args": ["-y", "mcp-server-environment-agency"]
    }
  }
}

Available tools

get_flood_warnings

Retrieve current flood warnings and alerts across regions, including severity levels.

get_flood_warning

Retrieve detailed information for a specific flood warning.

get_flood_areas

List flood areas or regions where warnings may apply.

get_flood_area

Get detailed information about a specific flood area.

get_monitoring_stations

List monitoring stations that measure water levels, flows, and other data.

get_monitoring_station

Get detailed information about a specific monitoring station.

get_measures

Retrieve the types of measurements available across all stations.

get_station_measures

Get all measurement types available at a specific station.

get_readings

Get measurement readings from all stations.

get_measure_readings

Get readings for a specific measurement type.

get_station_readings

Get all readings from a specific monitoring station.