
Floodwise
io.github.qinisolabs由 GitHub 账号 qinisolabs 发布v0.1.0更新于 Oct 24, 2026
England flood-risk by postcode for AI agents — verified Environment Agency data, not guesses.
概览
本地 MCP 服务器,按英格兰邮编查询英国环境署官方长期洪水风险等级,并校验英国邮编格式。
- 可以做什么
- 查询英格兰邮编的长期洪水风险等级(高、中、低、极低),并给出各等级受影响地址数与地下水提示
- 校验英国邮编格式,并拆分为外部码与内部码
- 对格式正确但不在英格兰数据范围内的邮编如实返回“未找到”,不编造风险等级
- 适用场景
- 当助手被问到某个英格兰邮编的洪水风险,且应依据官方数据而非猜测作答时适用。也可在调用其他查询前先确认邮编格式是否正确。
- 运行要求
- 通过 npx 以 stdio 在本地运行,无需密钥或登录。仓库仅附带示例样本数据;真实英格兰数据需从政府开放数据源下载,并用提供的构建脚本导入包中。
安装
在 SourceWeft 中
- 打开 控制台中的 Floodwise,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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.
来源:README.md,提交 5a09596
工具
0版本历史
1- v0.1.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分