← Back to search

io.github.matematicsolutions/hu-eli-mcp

matematicsolutions Scanned 20d ago

MCP server for Hungarian legislation (Nemzeti Jogszabalytar): native ELI and verifiable citations.

C
69.1 / 100

Versions

0.1.0latest
first seen Jul 8, 2026
PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 6

hu_get_act
annotations: none low

Fetch metadata for a Hungarian Act (torveny) by its ELI (year + serial). Args: year: 4-digit year, e.g. ``"2013"``. serial: the Act's serial number within that year, e.g. ``"5"`` (2013. evi V. torveny is Act no. 5 of 2013, the Hungarian Civil Code). Returns: ``Legislation`` with ``eli_uri``, ``title``, ``subtitle``, ``human_readable_citation``, ``source_url``.

year str serial str
hu_get_legislation
annotations: none low

Fetch metadata for any Hungarian legislation by its ELI (type + year + issuer + serial). Use this for anything other than Acts (torveny) - government decrees, ministerial decrees, etc. Use `hu_list_doc_types` for valid `doc_type` codes and `hu_list_issuers` for valid `issuer` codes (issuer codes are case-sensitive, e.g. `Korm` for Government). Args: doc_type: NJT type code, e.g. ``"R"`` (rendelet / decree). year: 4-digit year, e.g. ``"2016"``. issuer: NJT issuer code, case-sensitive, e.g. ``"Korm"`` (Government). serial: the document's serial number within that year, e.g. ``"428"``. Returns: ``Legislation`` with ``eli_uri``, ``title``, ``subtitle``, ``human_readable_citation``, ``source_url``.

year str issuer str serial str doc_type str
hu_get_text
annotations: none low

Fetch the full document HTML content of a Hungarian piece of legislation. For Acts (torveny), pass `doc_type="TV"` and omit `issuer`. For anything else, pass the `issuer` code (case-sensitive - use `hu_list_issuers`). Args: doc_type: NJT type code, e.g. ``"TV"`` (torveny / Act) or ``"R"`` (rendelet / decree). year: 4-digit year. serial: the document's serial number within that year. issuer: NJT issuer code, case-sensitive (required for everything except `"TV"`). Returns: ``LegislationText`` with the citation contract and ``content`` (the document's HTML).

year str issuer string serial str doc_type str
hu_list_doc_types
annotations: none low

List valid NJT document-type codes (e.g. TV=Act, R=decree) from /eli/tipuskodok. Returns: ``DocTypeList`` with ``items: list[DocTypeInfo]`` (code + Hungarian name).

hu_coverage
annotations: none low

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.

hu_list_issuers
annotations: none low

List valid NJT issuer codes (case-sensitive, e.g. Korm=Government) from /eli/kibocsatokodok. Returns: ``IssuerList`` with ``items: list[IssuerInfo]`` (code + Hungarian name).

Permissions 3

network medium
Server uses network capabilities via: httpx, urllib
filesystem low
Server uses filesystem capabilities via: open(), os, pathlib
env_vars low
Server uses env_vars capabilities via: os.environ

Scan Findings 42

low
Tool 'hu_get_act' has no annotations annotation_checker · 100%
low
Tool 'hu_get_legislation' has no annotations annotation_checker · 100%
low
Tool 'hu_get_text' has no annotations annotation_checker · 100%
low
Tool 'hu_list_doc_types' has no annotations annotation_checker · 100%
low
Tool 'hu_coverage' has no annotations annotation_checker · 100%
low
Tool 'hu_list_issuers' has no annotations annotation_checker · 100%
info
Sandbox failed to start for behavioral verification behavioral_verifier · 100%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-5h2m-4q8j-pqpj) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-c2jp-c369-7pvx) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-m8x7-r2rg-vh5g) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-mxxr-jv3v-6pgc) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-rcfx-77hg-w2wv) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-rj5c-58rq-j5g5) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-rww4-4w9c-7733) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-vv7q-7jx5-f767) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (PYSEC-2026-1364) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (PYSEC-2026-1365) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (PYSEC-2026-2474) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (PYSEC-2026-2475) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (PYSEC-2026-2476) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (PYSEC-2026-338) dependency_analyzer · 95%
medium
Vulnerable dependency: httpx@0.27,<1 (GHSA-h8pj-cxx2-jfg2) dependency_analyzer · 95%
medium
Vulnerable dependency: httpx@0.27,<1 (PYSEC-2022-183) dependency_analyzer · 95%
medium
Vulnerable dependency: diskcache@5.6 (GHSA-w8v5-vhqr-4h9v) dependency_analyzer · 95%
medium
Vulnerable dependency: diskcache@5.6 (PYSEC-2026-2447) dependency_analyzer · 95%
medium
Vulnerable dependency: anyio@4.3 (GHSA-5p39-cfhj-2xmp) dependency_analyzer · 95%
medium
Vulnerable dependency: anyio@4.3 (GHSA-82r6-8w77-94w6) dependency_analyzer · 95%
info
pyproject.toml metadata manifest_parser · 100%
info
Tool: hu_get_act manifest_parser · 90%
info
Tool: hu_get_legislation manifest_parser · 90%
info
Tool: hu_get_text manifest_parser · 90%
info
Tool: hu_list_doc_types manifest_parser · 90%
info
Tool: hu_coverage manifest_parser · 90%
info
Tool: hu_list_issuers manifest_parser · 90%
info
Required env vars (4) manifest_parser · 80%
info
Sandbox failed to start for output poisoning scan output_poisoning · 100%
medium
Permission: network access detected permission_analyzer · 90%
low
Permission: filesystem access detected permission_analyzer · 80%
low
Permission: env_vars access detected permission_analyzer · 90%
critical
Tool poisoning in 'hu_coverage': Cross-tool sequencing directive poisoning · 85%
info
No dependency files found for SBOM generation sbom_generator · 100%
medium
No build provenance detected (SLSA L0) slsa_assessor · 90%