
Floodwise
io.github.qinisolabsPublished by GitHub account qinisolabsv0.1.0Updated Oct 24, 2026
England flood-risk by postcode for AI agents — verified Environment Agency data, not guesses.
Overview
Local MCP server that looks up official Environment Agency long-term flood-risk bands for England postcodes and validates UK postcode formats.
- What you can do
- Look up the long-term flood-risk band (High, Medium, Low, Very Low) for an England postcode, with address counts per band and a groundwater indication
- Validate a UK postcode's format and split it into outcode and incode
- Return an honest "not found" for well-formed postcodes outside the England dataset instead of inventing a risk level
- When to use it
- Useful when an assistant is asked about flood risk at an England postcode and should answer from official data rather than guess. Also handy for checking that a postcode is well formed before other lookups.
- Requirements
- Runs locally over stdio via npx with no key or login. The repository ships only an illustrative sample dataset; the real England data must be downloaded from the government open-data source and built into the package with the provided build script.
Installation
In SourceWeft
- Open Floodwise in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
floodwise
England flood-risk by postcode for AI agents — verified Environment Agency data, not guesses.
Verified, trustworthy data tools for AI agents. "Qiniso" means "truth" in Zulu.
Website · npm · MCP Registry
Ask an LLM "what's the flood risk at SW1A 1AA?" and it will answer confidently — but it cannot know: per-postcode flood risk is specific, curated data that lives in a government dataset, not in a model's weights. floodwise looks the postcode up in the Environment Agency's official "Flood risk: postcode search tool" data and returns the real long-term risk band — or an honest "not found" instead of a guess.
⚠️ Read this first — what floodwise is and isn't
- England only. The data is the Environment Agency's, which covers England. Wales (Natural Resources Wales), Scotland (SEPA) and Northern Ireland (DfI) are not covered. A valid Welsh/Scottish postcode returns "not found", never a guess.
- Area-level, not property-level. The risk is for the area around the addresses in a postcode — not a specific building. The EA states this data is "generally not suitable for property level assessment".
- Long-term risk, not a live warning. It reflects the long-term annual chance of flooding, not whether flooding is happening now or forecast. It is not insurance, underwriting, surveying or professional advice.
Add it to Claude
floodwise runs locally over stdio (no key, no login). Once it's on npm, add it under mcpServers in your client config:
Use it as a library
Postcodes are accepted spaced or unspaced, any case. A well-formed postcode that isn't in the loaded England dataset returns found: false with a clear note — it never invents a risk level.
Tools — 2
Data
The flood data is the Environment Agency "Flood risk: postcode search tool data" (England), published as open data under the Open Government Licence v3.0. Each postcode carries the number of addresses whose surrounding area is at high (≥3.3%/yr), medium (1–3.3%) or low (0.1–1%) long-term risk from rivers, sea or surface water (the highest of these), plus a separate groundwater Possible/Unlikely indication. Refreshed roughly quarterly.
This repository ships an illustrative starter sample (non-geographic
ZZpseudo-postcodes) so tests run out of the box — every response from it is taggeddataset: "sample". To load the real data, downloadPostcodes_Risk_Assessment_All.csvfrom data.gov.uk / the Defra Data Services Platform and run:
Attribution: Contains public sector information licensed under the Open Government Licence v3.0. © Environment Agency copyright and/or database right. See NOTICE.
What it is not
- Not advice. Not insurance, underwriting, surveying, mortgage or legal advice; not a property-level survey.
- Not all flood types. Excludes flooding from highway drains, sewers and overland flow; groundwater is reported separately and isn't combined into the headline band.
- Not the whole UK. England only (see above).
- Not a guesser. Unknown/out-of-coverage postcodes return an honest "not found", never a fabricated risk level.
Architecture
A single TypeScript package exposing one MCP server over stdio (local / npx), driven by the same core.ts tool definitions that power the importable library. A Cloudflare Worker entry is included for a future hosted edge endpoint — note the full England dataset (~1.6M postcodes) exceeds the Worker bundle limit, so the hosted build will move the data into Cloudflare D1 (a follow-on); the npm library and stdio server run the full dataset directly.
Privacy
This tool runs locally on your machine and is built not to collect, store, or transmit your data — no analytics, no telemetry, no account. All reference data is bundled — no network calls, and nothing leaves your device. Full policy: https://qinisolabs.github.io/privacy.html.
License
Apache-2.0. Flood data © Environment Agency, Open Government Licence v3.0; see NOTICE.
Source: README.md at commit 5a09596
Tools
0Version history
1- v0.1.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts