Context7
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Description from the maker (original English)
Official MCP connector for Legalize: read and search its whole open corpus, at any point in time.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Works in Claude on the web, desktop and mobile:
https://legalize.dev/mcpRun this in your terminal
claude mcp add --transport http legalize https://legalize.dev/mcpPaste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"legalize": {
"url": "https://legalize.dev/mcp"
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"legalize": {
"type": "http",
"url": "https://legalize.dev/mcp"
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
ChatGPT connects only to servers on the internet:
https://legalize.dev/mcpMenu names can differ slightly by plan and over time.
Your choice stays on this device in a cookie; no account needed.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
We have not read this server’s tool list yet; we check endpoints in rotation.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026
The registry name was verified against the domain legalize.dev (the registry checks domain ownership)
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
Not checked yet; we check endpoints in rotation
Not checked yet; we check endpoints in rotation
Not checked yet; we read the tool list when we check the endpoint
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs in the maker’s cloud. Connect over the internet with nothing to install, but what you send passes through the maker’s servers.
The GitHub repo last changed –, and the latest version (0.18.0) reached the registry 2 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. It connects by URL, so apps that accept remote MCP servers work too, such as ChatGPT in developer mode.
In the same category: Context7, Codebase Memory, Exa
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
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:
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.
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.
Settings → Connectors → Add custom connector → paste https://legalize.dev/mcp.
claude mcp add --transport http legalize https://legalize.dev/mcp
Use the button above, or in ~/.cursor/mcp.json:
{
"mcpServers": { "legalize": { "url": "https://legalize.dev/mcp" } } }
Use the button above, or in .vscode/mcp.json:
{
"servers": { "legalize": { "type": "http", "url": "https://legalize.dev/mcp" } } }
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.
{
"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
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.
| Tool | What 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:
| Tool | What 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.
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.
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.
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 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.
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
Only the beginning is shown; read the rest in the repo