Skip to content
Agentmart
Submit a tool

Legalize MCP

Legislation for 32 jurisdictions (21 EU) as law-as-git, keyless, with ELI-style citations.

Connector by matematicsolutions · GitHub account verified by the MCP Registry

IndexedApache-2.0Local (stdio)
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/matematicsolutions-legalize-mcp

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Legislation for 32 jurisdictions (21 EU) as law-as-git, keyless, with ELI-style citations.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
5 read · 0 write · 0 delete · 1 not yet classified
Secrets
None asked for
Install scripts
Not scanned yet
Runs as
Python package

Tools by what they do 6

Read from the source code; the running server may list different tools.

Read 5 · Look things up without changing anything.

  • legalize_get_law
  • legalize_get_meta
  • legalize_list_countries
  • legalize_list_reforms
  • legalize_search_laws

Not yet classified 1 · We could not tell from the name and description.

  • legalize_coverage

Tools (6)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • legalize_coverage

    Declare what this connector covers, how it is sourced, and what it does NOT cover. Call this before telling a user that the law "does not contain" something, and whenever a search comes back empty: the absence may be a gap in this connector rather than in the law. Every gap carries a fallback saying where to look instead. Returns: ``Coverage`` with families, an as-of note, and a non-empty list of known gaps.

  • legalize_get_law

    Fetch a law's metadata and full text by id (optionally at a historical commit). Args: country: ISO-3166 alpha-2 code (e.g. ``"es"``). law_id: the filename stem (e.g. ``"BOE-A-1978-31229"``). sha: optional commit SHA for a historical version (from ``legalize_list_reforms``). Returns: ``LawText`` with the citation contract, frontmatter metadata and the full Markdown body.

  • legalize_get_meta

    Fetch only a law's frontmatter metadata (no body) - cheap for citation checks. Args: country: ISO-3166 alpha-2 code. law_id: the filename stem. Returns: ``LawMeta`` with the citation contract and frontmatter fields.

  • legalize_list_countries

    List the jurisdictions available in the legalize-dev corpus. Args: eu_only: if true, restrict to EU member states. Returns: A list of ``CountryInfo`` (code, name, eu, repo).

  • legalize_list_reforms

    List the reform history (commits) of a law - the legislative timeline. Args: country: ISO-3166 alpha-2 code. law_id: the filename stem. limit: max reforms, newest first (1-100, default 20). Returns: A list of ``Reform`` (sha, date, message, github_url). Pass a ``sha`` back to ``legalize_get_law`` to read the law as it stood at that reform.

  • legalize_search_laws

    Search a jurisdiction's laws by keyword (GitHub code search; requires a token). Args: country: ISO-3166 alpha-2 code (e.g. ``"ee"``, ``"es"``). query: keyword(s) to find inside the law texts. limit: max hits (1-100, default 10). Returns: A list of ``SearchHit`` (country, law_id, path, github_url, snippet).

Signals

Stars
0
Forks
1
Open issues
0
Weekly downloads
299
Last commit
Sep 24, 2026 (1 month ago)
Last release
Aug 26, 2026 (2 months ago)
Last package publish
Aug 26, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.matematicsolutions/legalize-mcp
Version
0.2.4
Auth
No auth
Packages
pypi legalize-mcp
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from matematicsolutions

Cite this page

Legalize MCP. Agent Mart. https://agentmart.dev/connectors/matematicsolutions-legalize-mcp (last updated 2026-10-24)