
Security News
/Research
npm Phishing Email Targets Developers with Typosquatted Domain
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.
mcp-server-environment-agency
Advanced tools
MCP server for UK Environment Agency Real Time Flood Monitoring API
A Model Context Protocol (MCP) server that provides access to the UK Environment Agency's Real Time Flood Monitoring API. This server allows you to access near real-time flood warnings, water level measurements, flow data, and monitoring station information.
This server uses Environment Agency flood and river level data from the real-time data API (Beta), provided under the Open Government Licence.
npm install -g mcp-server-environment-agency
Add this to your Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"environment-agency": {
"command": "npx",
"args": ["-y", "mcp-server-environment-agency"]
}
}
}
// Get all current flood warnings
get_flood_warnings({})
// Get severe flood warnings only
get_flood_warnings({
min_severity: 1
})
// Get flood warnings in Somerset
get_flood_warnings({
county: "Somerset"
})
// Get flood warnings near a location
get_flood_warnings({
lat: 51.5074,
long: -0.1278,
dist: 10
})
// Find all stations measuring water levels
get_monitoring_stations({
parameter: "level"
})
// Find stations near London
get_monitoring_stations({
lat: 51.5074,
long: -0.1278,
dist: 25
})
// Search for stations on River Thames
get_monitoring_stations({
search: "River Thames"
})
// Find groundwater monitoring stations
get_monitoring_stations({
qualifier: "Groundwater"
})
// Get latest readings from all stations
get_readings({
latest: true,
limit: 100
})
// Get latest flow readings
get_readings({
latest: true,
parameter: "flow"
})
// Get today's readings from a specific station
get_station_readings({
station_id: "1491TH",
today: true
})
// Get readings from the last week
get_readings({
startdate: "2024-01-01",
enddate: "2024-01-07",
parameter: "level"
})
level
): Water levels at monitoring stationsflow
): Water flow ratestemperature
): Air temperaturewind
): Wind direction and speedget_readings({ latest: true })
limit
and offset
parameters for large datasets// 1. Get current warnings
const warnings = get_flood_warnings({
county: "Yorkshire",
min_severity: 3
});
// 2. Find nearby monitoring stations
const stations = get_monitoring_stations({
lat: 53.8008,
long: -1.5491,
dist: 20,
parameter: "level"
});
// 3. Get latest readings
const readings = get_readings({
latest: true,
lat: 53.8008,
long: -1.5491,
dist: 20
});
// Find stations on River Severn
const stations = get_monitoring_stations({
river_name: "Severn"
});
// Get latest readings from all Severn stations
const readings = get_readings({
latest: true,
station_reference: "station_ref_from_above"
});
// Get a week of data for analysis
const historical = get_readings({
startdate: "2024-01-01",
enddate: "2024-01-07",
parameter: "level",
sorted: true,
limit: 1000
});
FAQs
MCP server for UK Environment Agency Real Time Flood Monitoring API
The npm package mcp-server-environment-agency receives a total of 11 weekly downloads. As such, mcp-server-environment-agency popularity was classified as not popular.
We found that mcp-server-environment-agency demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.
Security News
Knip hits 500 releases with v5.62.0, refining TypeScript config detection and updating plugins as monthly npm downloads approach 12M.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.