Openinsurance Wiki
概览
作者提供的说明(英文原文)
Open, source-cited knowledge base of Belgian insurance products: search, compare, verify, overlaps.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 19/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 搜索与 AI 记忆
- 你需要填写:INSURANCE_WIKI_REPO
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
INSURANCE_WIKI_REPO
你需要
- PyPI已安装 Python 的 uv(用于 uvx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"openinsurance-wiki": {
"command": "uvx",
"args": [
"openinsurance-wiki-mcp"
],
"env": {
"INSURANCE_WIKI_REPO": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add openinsurance-wiki --env INSURANCE_WIKI_REPO=your-value -- uvx openinsurance-wiki-mcp运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"openinsurance-wiki": {
"command": "uvx",
"args": [
"openinsurance-wiki-mcp"
],
"env": {
"INSURANCE_WIKI_REPO": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"openinsurance-wiki": {
"type": "stdio",
"command": "uvx",
"args": [
"openinsurance-wiki-mcp"
],
"env": {
"INSURANCE_WIKI_REPO": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- Path to a local clone of github.com/sluyasu/OpenInsurance (the wiki dataset lives in the repo, not in the package)
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 sluyasu 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“搜索与 AI 记忆”中的其他服务器比较i
- 星标数多于此分类中其他 5744 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5744 个服务器的 21% 更新
- 基础检查结果等于或优于此分类中其他 5744 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Openinsurance Wiki 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:INSURANCE_WIKI_REPO
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.2.0)于4个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
有什么可以替代它?
同一分类中有:Context7, Codebase Memory, Exa
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
openinsurance-wiki
A brain for a country's insurance market. A self-sufficient, open-source, country-agnostic framework that
turns a nation's public insurance documents into a rich, interconnected, source-cited knowledge base that any
AI agent can read.
Read it live: [sluyasu.github.io/OpenInsurance](https://sluyasu.github.io/OpenInsurance/) - every page in this repo, browsable and searchable, no install.
Not a chatbot. Not a RAG black box. A transparent, reproducible knowledge graph: the repo contains the whole chain - it finds insurers' public general-conditions PDFs, downloads them, and turns each one into a faithful Markdown page that preserves the maximum of what the PDF actually says, with a citation back to the source - all cross-linked into a navigable graph of products, insurers, branches, regulations and concepts.
As far as we know, this is the only open-source, machine-readable, source-cited database of insurance products (the closest equivalents are commercial and closed). Point it at any country: the taxonomy is data, not code, and adding a country is a documented recipe (_meta/BOOTSTRAP-COUNTRY.md).
The dataset covers four countries - Belgium, France, Luxembourg and Switzerland - for a total of 39 insurers and 1,189 product pages (auto, home, health, liability, travel, legal protection, ...), each page cited to its source document:
| Country | Insurers | Product pages | Branch pages | State |
|---|---|---|---|---|
Belgium (be) | 24 | 269 | 17 | Reference country: the only complete hand-authored layer - a branch page for every populated branch, 3 regulation pages, a country glossary |
France (fr) | 10 | 714 | 24 | Largest by volume; the enumerated market is far from exhausted |
Luxembourg (lu) | 4 | 194 | 15 | Core resident insurers ingested |
Switzerland (ch) | 1 | 12 | 0 | A first vertical slice, nothing more |
The recipe was proven on Belgium first and has since been run three more times, which is what turned "country-agnostic" from a design claim into a tested one. Live counts are the generated coverage table in AGENTS.md, rebuilt from the data on every index run.
Use it in 2 minutes - no API key needed
The dataset ships in the repo, already built: 1,189 product pages across four countries, insurer pages, glossary, plus the structured JSON behind them. You only need an LLM key to *re-extract from scratch*, never to *use* it.
1. Read it. Online at sluyasu.github.io/OpenInsurance, or open the cloned repo as an Obsidian vault and the [[wikilinks]] become a navigable graph. (github.com itself does not render [[wikilinks]] as links - the site or the vault is the comfortable way.)
2. Plug it into an agent (MCP). The MCP server is keyless and read-only:
git clone https://github.com/sluyasu/OpenInsurance.git
cd OpenInsurance python3 -m venv .venv && .venv/bin/pip install "mcp[cli]" pyyaml
Then register it with any MCP client, e.g. Claude Code:
claude mcp add insurance-wiki -- "$(pwd)/.venv/bin/python" "$(pwd)/mcp/insurance_wiki_mcp.py"
(Or take the released server from PyPI - uvx openinsurance-wiki-mcp with INSURANCE_WIKI_REPO pointing at the clone; the in-repo server above is always the one matching the committed dataset.)
You get search, get_product, get_coverage (only what's relevant to one question, with verbatim quotes), compare_products, find_overlap (candidate duplicate cover when combining two policies), verify_claim (verbatim evidence for a fact-check), get_branch_overview, ... See mcp/README.md.
3. Take the raw data. data/ /extracted/ holds one structured JSON per source document, validated against schema/; data/ /index.json is the flat index (cc = be, fr, lu, ch). AGENTS.md is a generated manifest (note types, counts, per-page path / source_url / freshness) so a file-reading agent can navigate without guessing.
Why an MCP server (and not a chatbot, a RAG stack or a REST API)
The goal is that any AI agent can answer insurance questions from documents it can cite. That constraint picks the architecture:
Why MCP. The Model Context Protocol is the standard socket between AI assistants and data: one server, and Claude, ChatGPT, Cursor or your own agent plugs in with three lines of config instead of a custom integration. This server is keyless (no account, no API key, no quota), read-only, and needs zero hosting: the dataset is the repo itself, so the data travels with a git clone and works offline. When the wiki is re-extracted, git pull is the upgrade path.
Why not a RAG chatbot. A chatbot is a single interface; a knowledge base should serve many (a broker's comparison tool, a compliance check, a market-mapping agent). RAG adds an embedding index that is a black box: you cannot diff it, review it in a PR, or reproduce it, and its retrieval errors are invisible. Here the retrieval layer is deterministic matching over reviewed, committed files: the same query returns the same documents every time, and every answer carries the source PDF and page numbers. The LLM stays where it belongs, on the client side, reasoning over exact excerpts.
Why not a REST API. An API means a server running 24/7, uptime, keys, versioning, and one bespoke integration per consumer, for a dataset that changes a few times a year. MCP gives the same programmatic access at the cost of a local process.
How it works, in four stages:
- Sources (
sources/): committed YAML saying where each insurer's public PDFs live. - Frozen extraction (
data/): each PDF turned once into structured JSON and cited Markdown, by a prompt that is itself committed. Nothing is generated at query time. - Deterministic MCP server (
mcp/): 10 read-only tools over those files. No LLM inside, no network, no state. Same input, same output. - A reasoning client: the agent on top (Claude, a broker chatbot, a script) does the semantic work, quoting what the tools return.
The trust boundary is explicit: everything below stage 4 is reproducible and auditable. Hallucination risk is confined to the client, and the tool responses are shaped to keep that client honest: a grounding contract and a front-loaded citation line in every single-product response, refusal of ambiguous product names (with the candidates listed) instead of silent guessing, and a verify_claim tool so an agent can fact-check its own draft against the document before answering. See the response discipline notes in the server docs.
How fast. The server reads every file once and serves from memory: warm latencies run 0.01 to about 3 ms per tool on this dataset (measured, reproducible: mcp/README.md). In a real chatbot the time a user feels is the LLM's own inference, not these tools.
Why this exists
Insurance products are documented in dense PDFs scattered across dozens of insurer websites. There is no neutral, machine-readable, navigable map of what actually exists in a national market. This project builds one - as a public good, and in a form an AI agent can plug into.
It also plugs into a market that is standardizing around it: EU regulation 2017/1469 gives every non-life product a standardized summary (the IPID), EIOPA actively promotes product comparison and switching, and the open insurance agenda (OPIN, the EU FIDA proposal) pushes for machine-readable access to insurance data. This project is the missing *public documents* layer of that picture: what the products actually say, in the open.
Four things make it different:
- Self-sufficient & reproducible. Clone it, add your own LLM key, run
make all. It scrapes, downloads and extracts from scratch. No hidden datasets - every input is committed, every output is regenerable. - Transparent extraction. The exact prompt sent to the LLM is a file in this repo (
extraction-agent/), not buried in code. You can read precisely what the model was asked, and run the identical extraction with your own model (Claude, Gemini, GPT, or a local model). - Grounded & cited. Every product page traces back to the source PDF and cites page numbers. Quotes are verified against the raw text. If it isn't in the document, it isn't on the page.
- Scoped. A page is a contractual or pre-contractual document of a specific insurance product - nothing else. Insurers' download pages mix in company statutes, fund reports and promo riders; those are refused at three gates (a recorded
out_of_scopemarker in the sources, the extraction agent's own verdict, and a CI-blocking check). See CONTRIBUTING.
What's in the wiki
Per country (wiki/ /, e.g. wiki/be/):
| Folder | What | How it's made |
|---|---|---|
products/ / | One rich page per insurance product (general conditions / IPID) | Generated from the PDFs |
insurers/ | One page per insurer, aggregating its products | Generated |
branches/ | Overview of each line of insurance (every populated branch has one; make validate lists any gap) | Hand-authored |
regulations/ | The regulator and key laws (FSMA, mandatory RC auto, cat-nat...) | Hand-authored |
glossary/ | Country-specific terms (bonus-malus, franchise, Branche 21/23...) | Hand-authored |
Generated and hand-authored pages live in separate folders and never collide: you fix a fact by editing the extraction data and rebuilding, never by editing a generated page.
The generated layer exists for all four countries; the hand-authored layer is uneven and deliberately not hidden. Belgium has branch, regulation and glossary pages; France and Luxembourg have branch pages and one regulation page each; Switzerland has neither yet. make validate lists every populated branch that still lacks an overview page. Universal concepts that apply to every country live in wiki/universal-glossary/.
Every page is Obsidian-compatible Markdown with YAML frontmatter and [[wikilinks]].
Reproduce it from scratch
This is the only path that needs an LLM key (the extraction step). Scraping and download use a free stack (httpx + Playwright).
git clone https://github.com/sluyasu/OpenInsurance.git
cd OpenInsurance make setup # deps + playwright chromium (no paid scraping dependency) cp .env.example .env # set LLM_PROVIDER + your API key (any provider)
Reproduce a slice end-to-end:
make download COUNTRY=be INSURER= # fetch the public PDFs make extract COUNTRY=be INSURER= # PDFs -> rich Markdown + JSON (uses YOUR model) make build COUNTRY=be # assemble the wiki m
只显示了开头部分;其余内容请在仓库中阅读