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

Legalize

作者:legalize-dev版本 0.18.0i★ –i在云端运行
注册名称dev.legalize/legalize

安装

概览

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

Official MCP connector for Legalize: read and search its whole open corpus, at any point in time.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在云端运行
  • 传输方式: Streamable HTTP
  • 分类: 搜索与 AI 记忆

安装

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

安装之前

你需要

你用的是哪个应用?

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

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

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

在终端中运行这条命令

claude mcp add --transport http legalize https://legalize.dev/mcp

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "legalize": {
      "url": "https://legalize.dev/mcp"
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "legalize": {
      "type": "http",
      "url": "https://legalize.dev/mcp"
    }
  }
}

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

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

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

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

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

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • … 尚未检查

    端点有响应

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

  • … 尚未检查

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

与“搜索与 AI 记忆”中的其他服务器比较i

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

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

常见问题

Legalize 安全吗?

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

它需要哪些密钥或代码?

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

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

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

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

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT昨天更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT20天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT上个月更新
安装

作者的 README

打开 README

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

Legalize — the MCP connector for consolidated legislation

What a law said on any past date, with the citation and the git commit behind it. Your assistant answers from the corpus instead of from memory.

Connect your AI client (Claude, ChatGPT, Cursor, VS Code, Gemini CLI…) to Legalize and ask about legislation in plain language. Every answer comes back with three things a model cannot invent:

  • 📜 The text itself — the whole law or one whole article, never a truncated fragment.
  • 🕰️ A date — not only the current wording, but the version that was on the books on the day you name.
  • 🔗 A citation and a git SHA — the commit in the public corpus that holds those exact bytes, so the other side can check the quote.

One remote endpoint:

`

https://legalize.dev/mcp

`

Sign-in required. See it live at legalize.dev/mcp, which always shows the current coverage and allowance.


Quick connect

It is a remote server (Streamable HTTP, stateless). Nothing is installed: you hand the URL to your client, and the client walks you through the sign-in the first time it calls a tool.

One click, if yours is one of these:

The first three pre-fill the name and the address, then ask you to confirm it and sign in. ChatGPT opens its create-connector form — it takes no parameter for the server, so paste https://legalize.dev/mcp in yourself, with developer mode on under Advanced.

Claude.ai · Claude Desktop (Connectors)

Settings → Connectors → Add custom connector → paste https://legalize.dev/mcp.

Claude Code (CLI)
claude mcp add --transport http legalize https://legalize.dev/mcp
Cursor

Use the button above, or in ~/.cursor/mcp.json:

{

"mcpServers": { "legalize": { "url": "https://legalize.dev/mcp" } } }

VS Code (GitHub Copilot)

Use the button above, or in .vscode/mcp.json:

{

"servers": { "legalize": { "type": "http", "url": "https://legalize.dev/mcp" } } }

ChatGPT

Settings → Connectors → Advanced → turn on developer mode, then create a connector and paste https://legalize.dev/mcp. There is no install link for this one: ChatGPT only deep-links to apps listed in its own directory, and custom connectors sit behind developer mode, on Plus or Pro.

Gemini CLI and other clients
{

"mcpServers": { "legalize": { "httpUrl": "https://legalize.dev/mcp" } } }

Any client that speaks remote MCP works. If yours only speaks stdio, bridge it:

npx mcp-remote https://legalize.dev/mcp

The tools

Nothing here can change a law. The corpus is read-only to the connector: no tool alters a text, a version or a history, because those come from the git repositories and this server has no way in. The full descriptions the model reads, with every argument and its type, are published live by the running server at /mcp/tools.json.

ToolWhat it answers
`list_countries`Which countries are in the corpus, and how many laws each one holds.
`search_laws`Find a norm by words in its title or by its official number. Returns the id every other tool takes.
`get_law`Read what a norm says today — the whole text, or one article of it.
`law_at_date`What the norm said on a given day, with the git SHA behind that version.
`diff_law`What changed between two dates, as a unified diff of the two texts.
`reform_history`Which norms amended this one, when, and what each says it touched.
`law_stats`How large a corpus is and how much it moves, before drilling into it.

The rest manage your own subscriptions — the one question reading the corpus cannot answer, which is *tell me when this changes*. They are the only tools that write anything, what they write is your account's own subscription, and they need a paid plan.

One rule, two ways to receive it. A webhook posts every change to a server you run; a digest lists a day of them in your inbox:

ToolWhat it does
`preview_webhook`Try a subscription rule against the last 30 days without creating anything: how many events it would have delivered, and which. Works for either delivery — it tries the rule, not the destination.
`create_webhook` ✎Subscribe an HTTPS endpoint of yours to law changes. Narrow it to specific laws, to words in the title and subject headings, or to countries. The signing secret is not returned: it can forge a delivery, and anything a tool returns stays in the transcript. Collect and rotate it in the dashboard.
`list_webhooks`The endpoints this account has, and the id the other two take. Secrets are never returned.
`set_webhook_enabled` ✎Pause one, or start it again. The endpoint, its rule and its history all stay.
`delete_webhook` ✎Remove one. Deliveries stop, and its history goes with it.
`create_email_digest` ✎The same rule, delivered as one email a day instead — the version you can receive without running anything. lang picks the language of the mail, not of the laws.
`list_email_digests`The digests this account gets, with the rule and language of each, and the id the other two take.
`set_email_digest_enabled` ✎Pause the mail, or start it again. A paused digest keeps its place: what it missed arrives in the first mail after it resumes.
`delete_email_digest` ✎Stop one for good. Recreated later, it starts from that day and the gap is not sent.

The digest goes to the account's own address and there is no argument for another one. Not an omission: a free-text recipient would turn a connector into a way to send mail to somebody else, signed by our domain, on a model's say-so.

Narrow the subscription or you will stop reading it. The filters compose as AND, a rule that could never match — an unknown country, a law id that is not in the corpus — is refused rather than stored, and a text filter reaches one language: laws are written in their own, so *proteccion de datos* finds the Spanish act and not the Portuguese *protecao de dados*.

The ones marked ✎ are declared to clients with readOnlyHint: false, so a client that confirms before a write will confirm before these. A paid plan is needed to create one; pausing and deleting never are, on any plan, because the account that most needs to turn its deliveries off is the one whose plan has just ended. On a plan without the feature, creating answers a structured feature_not_available error and creates nothing — and nothing is delivered either, to an endpoint or to an inbox, until it is back. Neither delivery is instant: webhooks are signed and batched daily (the format and the verifier), and a digest is one mail a day — on a day when nothing matched, no mail at all.

Every tool returns the same envelope — data, citation, url, source, note — and every result links back to its page on legalize.dev. A tool-level failure is a *successful* call whose data is a structured error naming what to do next, so the model can correct itself instead of guessing.

Examples (ask your assistant)

  • *"What did article 348 bis of the Spanish Companies Act say in March 2023?"*
  • *"Has the French Code du travail changed on this point since 2020? Show me the diff."*
  • *"Which norms have amended this law, and when?"*
  • *"How much of Latvian legislation does Legalize actually hold?"*
  • *"Email me every morning when anything about data protection changes in Spain — in Spanish."*

Authentication

Sign-in required; there is no anonymous access. Every call is tied to an account, and an unauthenticated request gets 401 with the WWW-Authenticate challenge that starts the OAuth flow.

Your client discovers the authorization server from https://legalize.dev/.well-known/oauth-protected-resource, registers itself dynamically, and sends you to sign in once in a browser. After that it holds the token and you never see the handshake again. No API key is pasted anywhere.

Limits

There is a free monthly allowance and a per-minute burst guard. Neither number is written here on purpose — they would go stale the day either changes, and a README that quietly lies about a limit is worse than one that points at it. Both are stated, live, on legalize.dev/mcp and legalize.dev/pricing.

What does not change: past the monthly allowance the connector answers quota_exceeded and stops until the month rolls over — nothing is charged and nothing is cut off silently. Every country is included in every tier.

Before you quote it

Most of the corpus is consolidated: amendments are folded into the text, so what you read is the law as it stands. Some of it is not. A text published as enacted comes back flagged, with the norms that amend it named, and never as the law in force — but the flag is only useful if you read it before pasting the quote into a brief.

Three more limits worth knowing:

  • A date resolves to what was published on or before it, not to what was in force.
  • Article boundaries are derived by matching headings in the text, not published as structure by the source. Quote the anchor, and check the boundary before relying on it.
  • Counts are of what Legalize has ingested, not of what the official gazette has published. A gap in the corpus is not evidence that a norm does not exist.

A body is never truncated: a law too large to send whole comes back as its table of contents with instructions for asking again, because half an article reads exactly like a whole one.

For developers

Transport is Streamable HTTP, stateless. Every JSON-RPC method needs a token, initialize and tools/list included. So the first thing to check is the catalogue, which is served beside the endpoint as a plain GET and needs nothing:

curl -s https://legalize.dev/mcp/tools.json | jq '.tools[] | {name, readOnly}'

That is what a directory reads, and it is where readOnly per tool is published. The JSON-RPC endpoint itself answers 401, and that 401 is the handshake — its WWW-Authenticate header is what tells a client where the authorization server is:

curl -si -X POST https://legalize.dev/mcp \

-H 'Content-Type: application/json' \ -H 'Accept: application/json, text/event-stream' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"lis

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx