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

Global law

作者:lexifina版本 1.1.1i★ 1,917i在云端运行
注册名称com.lexifina/global-law

安装

概览

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

The law of nearly every country on earth, any date: read it, see what changed it, check citations.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在云端运行
  • 传输方式: Streamable HTTP
  • 分类: 法律与政府数据

安装

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

安装之前

你需要

你用的是哪个应用?

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

适用于网页版、桌面版和手机版 Claude:

  1. 打开 Settings → Connectors
  2. 点击 Add custom connector
  3. 粘贴下面的地址,然后点击 Add
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Add2https://…3Connect4
https://global-law.lexifina.com/mcp

在终端中运行这条命令

claude mcp add --transport http global-law https://global-law.lexifina.com/mcp

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "global-law": {
      "url": "https://global-law.lexifina.com/mcp"
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "global-law": {
      "type": "http",
      "url": "https://global-law.lexifina.com/mcp"
    }
  }
}

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

ChatGPT 只能连接互联网上的服务器:

  1. 打开网页版 ChatGPT → Settings → Connectors (Apps)
  2. 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
  3. 粘贴下面的地址,起个名字,然后保存
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Create2https://…3Connect4
https://global-law.lexifina.com/mcp

菜单名称可能因套餐和版本不同而略有差异。

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

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

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

通过互联网连接,适用于

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

全部应用及其优缺点 →

它能做什么

我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。

基础检查i

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

  • ✓ 通过

    作者与仓库一致

    注册名称已通过域名 lexifina.com 验证(注册中心会核实域名所有权)

  • ✓ 通过

    仍在维护

    代码最后更新于今天

  • ! 注意

    有许可证

    GitHub 无法识别许可证类型;请打开文件自行查看

  • … 尚未检查

    端点有响应

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    使用 OAuth 登录

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

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

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

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

常见问题

Global law 安全吗?

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

它需要哪些密钥或代码?

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

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

它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。

它还在维护吗?

GitHub 仓库最后更新于今天,最新版本(1.1.1)于今天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:Korean Law MCP, Tw Legal Rag, Parse-DMARC MCP Server

替代选择

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

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

Korean Law MCP

Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).

作者:chrisryugj广泛使用★ 28557天前更新

在云端运行

Tw Legal Rag

Taiwan law MCP server: 22M court judgments, statutes, agency rulings, with citation checks

作者:aa0101181514正在增长★ 3454天前更新

在云端运行

Parse-DMARC MCP Server

Lightweight DMARC parser: auto-fetch email reports, visualize compliance in a single all-in-one app

作者:meysam81正在增长★ 2319个月前更新

在你的电脑上运行

作者的 README

打开 README

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

Git for Global Law

The world's law in one git history. Every word traced to the law that wrote it for any country and any date.

An expansion of the same for the US Code, #1 on Hacker News (28/10/26). Semantic, searchable law on a global scale.

https://github.com/user-attachments/assets/f24f3411-24d9-416a-8c45-9cebc817c64e

Free to use: [CC0](LICENSE.md). Fork it, build on it, ship it in a product: no permission or credit needed. The law text sits in each country's repository, under that repository's own terms.

Each jurisdiction's law is its own repository, lexifina/ -law, where every commit is one law taking effect, written by that law. This repository holds them all as submodules, arranged by jurisdiction, and moves each one forward to its latest commit. The tools read the In-force date of every commit, so they give the law of any country on any date.

global-law/

├── manifest.json every corpus: path, repository, coverage and dates ├── jurisdiction.json the world, and the jurisdictions in it ├── germany/bund/acts/ a country's law (submodule) ├── brazil/bahia/acts/ a state's ├── brazil/bahia/salvador/acts/ a city's └── …

Start

git clone --depth 1 https://github.com/lexifina/global-law && cd global-law

python3 tools/countries.py add united-states/federal/usc # one corpus; every country is several GB python3 tools/law.py show 2022-05-01 united-states/federal/usc/title-11/1182.md

On Windows, type py or python where these say python3.

--depth 1 downloads the index without its whole history, a fraction of the size. The tools never read that history, so they work the same. To have it without its file contents, clone with --filter=blob:none instead. For every country, add --recurse-submodules. Don't clone a country's repository with --depth: its dates are read from its whole history, and countries.py add fetches all of it.

From an AI model (MCP)

tools/mcp_server.py is a Model Context Protocol server with 18 read-only tools: find a provision, read it on a date, who wrote each word, compare dates, a provision's history, search the text and the changes, and check a case or a brief against the law in force. It needs only Python 3.9+ and git, runs on your machine and makes no network calls.

The clone carries the setup for Claude Code, Cursor, VS Code and Codex, so the server starts when you open the folder. For another client:

{ "mcpServers": { "global-law": { "command": "git", "args": ["-C", "/path/to/global-law", "-c", "alias.global-law-mcp=!sh tools/mcp.sh", "global-law-mcp"] } } }

Then ask, for example, "What did 11 U.S.C. §1182(1) say on 1 May 2022, and which law last changed it?" MCP.md has every tool and the details.

Command line

python tools/law.py world 2022-05-01                       every corpus on that day

python tools/law.py show 2022-05-01 a provision on a date python tools/law.py blame 2022-07-01 the law behind each line python tools/law.py words 2022-07-01 the law behind each word python tools/law.py diff 2022-05-01 2022-07-01 what changed between two dates python tools/law.py laws 1990-01-01 1990-12-31 germany the laws that took effect

Dates are YYYY-MM-DD. The first read of a corpus indexes its history once and keeps the index in .git/global-law-cache.

  • A corpus moved to a new folder still answers under its old path (data/moved-paths.tsv). After a pull that moves corpora, run git submodule sync and git submodule update --init.
  • manifest.json and the jurisdiction.json files are written by tools/describe.py.

Case law

Court decisions sit beside the law in / /caselaw, one file and one commit per published decision, dated the day it was decided. manifest.json gives each corpus's court, coverage and gaps; where a source's licence asks for credit, the tools show it as a Credit: line.

A decision is a ruling, not a law (Kind: court), so the tools leave case law out of everything about law (laws, searches, change lists) unless you name it. Each corpus also files, under the law's own paths, the decisions that cite each article, with the version of the law in force on the day decided.

python tools/countries.py add netherlands/caselaw                   a country's case law (not added with the country)

python tools/law.py laws 2024-01-01 2024-01-31 netherlands/caselaw decisions given in a window python tools/law.py caselaw-index after a pull: index the case law checked out

From an assistant, check_precedent lists the decisions that applied a provision and says whether the text each one applied is still in force, and what_else_changes counts them. find_provision and law_details take a court's own references (an ECLI, a docket or case number, a reporter citation), and resolve_citations reads citations of law in each country's usual form (Art. 336 OR, § 823 Abs. 1 BGB, article 1240 du code civil).

More

Videos

See all videos

https://github.com/user-attachments/assets/6020acb1-53f3-4b65-94a4-fe132b867358

https://github.com/user-attachments/assets/3e3076d7-cfb4-4e0a-8552-2926a630fc8e

License

This repository is CC0. The law text is in each country's repository, under that repository's own terms.