原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Gb Eli MCP

作者:matematicsolutions版本 0.5.3i★ –i在你的电脑上运行
注册名称io.github.matematicsolutions/gb-eli-mcp

安装

概览

作者提供的说明(英文原文)

MCP server for UK legislation, case law (Find Case Law), GOV.UK tribunal decisions and HMRC manuals.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 法律与政府数据

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "gb-eli": {
      "command": "uvx",
      "args": [
        "gb-eli-mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add gb-eli -- uvx gb-eli-mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "gb-eli": {
      "command": "uvx",
      "args": [
        "gb-eli-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "gb-eli": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "gb-eli-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 matematicsolutions 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“法律与政府数据”中的其他服务器比较i

  • 星标数多于此分类中其他 1731 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1731 个服务器的 32% 更新
  • 基础检查结果等于或优于此分类中其他 1731 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Gb Eli MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.5.3)于2个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:SONAR: KYB due diligence, DutyKit, Agent Data Tools: Company, compliance and checks

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

SONAR: KYB due diligence

作者:Ivanolegvak

Company register lookups and KYB checks: registries, sanctions, PEP, offshore leaks, adverse media.

在你的电脑上运行今天更新
安装

DutyKit

作者:r08150816s-star

EU business duties for AI agents: legal obligations with sources and pre-checks (DE, LU, EU)

在云端运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

gb-eli-mcp

An MCP server for legislation.gov.uk, The National Archives' official portal for United Kingdom legislation. It searches and retrieves Acts of Parliament, UK Statutory Instruments, and the equivalent instruments of the Scottish Parliament, Senedd Cymru/Welsh Parliament and Northern Ireland Assembly, with persistent identifiers and verifiable citations.

Part of the MateMatic eu-legal-mcp production line: the UK counterpart of the Polish sejm-eli-mcp and the German de-eli-mcp, built on the same architecture and citation contract against the UK's own source.

No native ELI. legislation.gov.uk does not publish a native /eli/ namespace

(confirmed live: GET /eli/ukpga/2018/12 returns 404), even though its own

persistent-identifier scheme predates and is closely related to ELI - the UK is widely

credited with pioneering the URI-based legislation-identifier concept that ELI later

formalised EU-wide. eli_uri therefore carries the UK's own stable id URI

(https://www.legislation.gov.uk/id/{type}/{year}/{number}) instead of a fabricated

ELI path - the same disclosure pattern used by this factory's nl-eli-mcp and

se-eli-mcp. See CONSTITUTION.md Art. 4.

Licence. Content is published under the Open Government Licence v3.0

(confirmed live from the site's own /help page), which permits copying, publishing

and adapting with attribution. This connector only relays that public content, with a

source_url on every response.

The nine tools

ToolWhat it does
gb_searchSearch legislation by text, doc type and year (/all/data.feed or /{doc_type}/data.feed).
gb_get_actFetch act/instrument metadata by reference (e.g. ukpga/2018/12).
gb_get_textFetch the full text (xml, html, akn/Akoma Ntoso, rdf, pdf, csv).
gb_recent_legislationLegislation published since a date, newest-first, optionally by doc type.
gb_search_case_lawSearch UK judgments via The National Archives' Find Case Law Atom feed, by text, court, and date range.
gb_get_caseFetch a judgment by neutral citation, Find Case Law URI/path, or opaque id - returns Akoma Ntoso XML, or a PDF link fallback.
gb_search_govukSearch GOV.UK documents via the keyless Search API - employment/tax/property tribunal decisions, HMRC internal manuals, CMA cases - with server-side date filters and real totals.
gb_get_govuk_contentFetch one GOV.UK document via the Content API - tribunal decisions return the judgment PDF link, HMRC manual sections return the full text.
gb_coverageDeclare what this connector covers, when each family was captured, and - explicitly - what it does NOT cover. Every gap carries a fallback.
GOV.UK coverage (added v0.3.0, feature-003)

One upstream, many institutions: gb_search_govuk filters by document_type. Live-verified totals (2026-07-07, from the Search API's own total/facet fields - probe: https://www.gov.uk/api/search.json?count=0&facet_content_store_document_type=1000):

document_typeDocuments
employment_tribunal_decision132,162
hmrc_manual_section85,315
residential_property_tribunal_decision17,088
employment_appeal_tribunal_decision2,571
cma_case2,565
utaac_decision (Upper Tribunal, AAC)2,031
tax_tribunal_decision1,414
asylum_support_decision101

See SOURCES.md for the full per-source ledger, including what was scouted and deliberately rejected (ICO, FCA, IAC) and why.

Every response carries the contract: eli_uri (e.g. https://www.legislation.gov.uk/id/ukpga/2018/12), human_readable_citation (e.g. Data Protection Act 2018 c. 12), and source_url. Case-law responses carry the same-spirit contract (human_readable_citation, source_url, dataset_note) - see CONSTITUTION.md Art. 5.

Install

As a Claude plugin (Claude Code or the desktop app, needs uv); see plugin/README.md for what it sends and stores:

/plugin marketplace add matematicsolutions/gb-eli-mcp

/plugin install gb-eli-mcp@gb-eli-mcp

As a standalone server, from PyPI (uvx gb-eli-mcp), or from source:

cd gb-eli-mcp

pip install -e .

Configure (Claude Code / any MCP client)

Copy .mcp.json.example and adjust if needed:

{

"mcpServers": { "gb-eli-mcp": { "command": "gb-eli-mcp" } } }

Windows 11 with Smart App Control

Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe and the gb-eli-mcp.exe launcher that pip writes at install time. The python.exe and py.exe from the python.org installer are signed by the Python Software Foundation, so running the module through the interpreter works:

python -m pip install gb-eli-mcp

python -m gb_eli_mcp

pip.exe is blocked for the same reason, so install with python -m pip, not pip install. If python is not on PATH, use the Windows launcher: py -3 -m gb_eli_mcp.

{ "mcpServers": { "gb-eli-mcp": { "command": "python", "args": ["-m", "gb_eli_mcp"] } } }

Do not turn Smart App Control off to work around this - it cannot be re-enabled without reinstalling Windows.

Environment:

  • GB_ELI_BASE_URL - default https://www.legislation.gov.uk
  • GB_ELI_CASELAW_BASE_URL - default https://caselaw.nationalarchives.gov.uk
  • GB_ELI_GOVUK_BASE_URL - default https://www.gov.uk
  • GB_ELI_CACHE_DIR - default ~/.matematic/cache/gb-eli
  • GB_ELI_AUDIT_DIR - default ~/.matematic/audit

No API key. legislation.gov.uk is keyless.

Governance

  • Public data only - read-only against legislation.gov.uk, Find Case Law and GOV.UK; no client data leaves the machine beyond search parameters.
  • Audit log - every tool call appends one JSON line to ~/.matematic/audit/gb-eli-mcp.jsonl.
  • Network - the server talks to legislation.gov.uk, caselaw.nationalarchives.gov.uk, www.gov.uk and the local filesystem. Once, on first use, it also fetches a small configuration file (gb-runtime.json.gz, updated source addresses) from this repository's GitHub Releases. That request carries no query content; GitHub's download counter for the file is the only usage signal we see. GB_ELI_RUNTIME_URL="" turns it off; the Claude plugin ships with it off. No LLM provider, no other telemetry.
  • Verifiable citations - every response is independently checkable via source_url.

See CONSTITUTION.md (the binding rules) and DISCOVERY.md (the live API probe).

Tests

pip install -e ".[dev]"

pytest tests/test_instructions_drift.py -v # offline pytest tests/test_citations_case_law.py -v # offline pytest tests/test_citations_govuk.py -v # offline pytest tests/test_smoke.py -v # hits live legislation.gov.uk pytest tests/test_smoke_case_law.py -v # hits live caselaw.nationalarchives.gov.uk pytest tests/test_smoke_govuk.py -v # hits live www.gov.uk

Licence

Apache-2.0. (c) Matematic Solutions / Wieslaw Mazur.

Note: the *code* in this repository is Apache-2.0. The *legislation content* fetched at runtime from legislation.gov.uk remains Crown copyright, published under the Open Government Licence v3.0 - not relicensed by this project.

问 PopNx