github Python re-analysis due

matematicsolutions/legalize-mcp

v0.2.4
github

MCP server over the legalize-dev law-as-git corpus - 32 jurisdictions (21 EU) of legislation as versioned Markdown with ELI-style citations. GDPR-safe.

maintainer
matematicsolutions
license
Apache-2.0
first seen
2026-06-30
last seen
2026-08-26
releases · 30d
6
short id

Drift inferred · capture-to-capture

No drift recorded — single capability capture; advisories appear once its surface changes.

capabilities 5 tools
transport stdio · http verified reported listed in the official MCP registry counts 5 tools · 0 res · 0 prompts permission surface via code analysis

tools

  • legalize_get_law
  • legalize_get_meta
  • legalize_list_countries
  • legalize_list_reforms
  • legalize_search_laws
code evidence vHEAD · github-tarball
evidence-backed findings quoted directly from the published source artifact — not inferred

code files: 9

filesystem 1

  • fs matematicsolutions-legalize-mcp-bc21a8d/src/legalize_mcp/audit.py :20 from pathlib import Path

network 2

  • net matematicsolutions-legalize-mcp-bc21a8d/src/legalize_mcp/client.py :16 import httpx
  • net matematicsolutions-legalize-mcp-bc21a8d/src/legalize_mcp/server.py :16 import httpx

secrets 1

  • secrets matematicsolutions-legalize-mcp-bc21a8d/src/legalize_mcp/client.py :27 token = os.environ.get("GITHUB_TOKEN") or os.environ.get("GH_TOKEN")

tool registrations 5

  • legalize_list_countries matematicsolutions-legalize-mcp-bc21a8d/src/legalize_mcp/server.py :137
  • legalize_search_laws matematicsolutions-legalize-mcp-bc21a8d/src/legalize_mcp/server.py :164
  • legalize_get_law matematicsolutions-legalize-mcp-bc21a8d/src/legalize_mcp/server.py :224
  • legalize_get_meta matematicsolutions-legalize-mcp-bc21a8d/src/legalize_mcp/server.py :280
  • legalize_list_reforms matematicsolutions-legalize-mcp-bc21a8d/src/legalize_mcp/server.py :330

declared dependencies 9

  • fastmcp@>=3.4,<4
  • httpx@>=0.27,<1
  • pydantic@>=2.6
  • pyyaml@>=6.0
  • anyio@>=4.3
  • pytest@>=8.0
  • pytest-asyncio@>=0.23
  • mypy@>=1.10
  • ruff@>=0.5