Server data from the Official MCP Registry
MCP server for Hungarian legislation (Nemzeti Jogszabalytar): native ELI and verifiable citations.
MCP server for Hungarian legislation (Nemzeti Jogszabalytar): native ELI and verifiable citations.
This is a well-structured MCP server for Hungarian legislation with strong security fundamentals. It properly implements read-only access to public data, uses secure credential handling via environment variables, includes input validation and audit logging, and has no authentication bypass or malicious patterns. Minor code quality observations around exception handling breadth and logging do not materially impact security. Supply chain analysis found 6 known vulnerabilities in dependencies (1 critical, 3 high severity). Package verification found 1 issue.
7 files analyzed · 11 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-matematicsolutions-hu-eli-mcp": {
"args": [
"hu-eli-mcp"
],
"command": "uvx"
}
}
}From the project's GitHub README.
An MCP server for Hungary's official national legislation database, the Nemzeti
Jogszabalytar (NJT, njt.jog.gov.hu), maintained by MKIFK. It gives an AI agent a piece of
Hungarian legislation resolved by its native ELI (European Legislation Identifier), with a
verifiable citation: the ELI itself, a human-readable citation, and a link to the official
source.
Part of the eu-legal-mcp line by MateMatic — one connector per EU member state, the same citation contract everywhere.
On ELI. Unlike the Netherlands and Sweden (earlier connectors in this line, neither of which publishes native ELI), Hungary has a genuine, documented national ELI implementation since 2023 (
njt.jog.gov.hu/eli/urisemak).eli_uriis therefore the real/eli/URI the tool resolved — never a substitute identifier. SeeDISCOVERY.md.
| Tool | What it does |
|---|---|
hu_get_act(year, serial) | Metadata for a Hungarian Act (torveny) by ELI, e.g. year 2013, serial 5 (the Civil Code). No issuer code needed. |
hu_get_legislation(doc_type, year, issuer, serial) | Metadata for any other legislation (decrees etc.) by ELI — type, year, issuer (case-sensitive) and serial. |
hu_get_text(doc_type, year, serial, issuer=None) | The full document HTML content for either an Act or other legislation. |
hu_list_doc_types() | Valid NJT document-type codes (e.g. TV=Act, R=decree). |
hu_list_issuers() | Valid NJT issuer codes (e.g. Korm=Government) — note the exact casing matters. |
Every response carries the citation contract:
eli_uri — the native ELI URI resolved, e.g. https://njt.jog.gov.hu/eli/TV/2013/5.human_readable_citation — built from the parsed title + subtitle, e.g.
"2013. évi V. törvény (a Polgári Törvénykönyvről)".source_url — the browsable njt.jog.gov.hu/jogszabaly/... document page.NJT has no REST/JSON API and its search/browse UI is a JavaScript SPA requiring a session
(not usable headlessly). Documents must be addressed by a known ELI — use
hu_list_doc_types / hu_list_issuers to discover valid codes, then hu_get_act /
hu_get_legislation. An unresolvable ELI (wrong year/serial/issuer, or wrong issuer-code
case) surfaces as not_found — NJT itself redirects it to a search-assist page rather than
a 404.
pip install -e ".[dev]"
Register it with your MCP client (see .mcp.json.example):
{
"mcpServers": {
"hu-eli-mcp": {
"command": "hu-eli-mcp",
"env": {
"HU_ELI_BASE_URL": "https://njt.jog.gov.hu",
"HU_ELI_CACHE_DIR": "~/.matematic/cache/hu-eli",
"HU_ELI_AUDIT_DIR": "~/.matematic/audit"
}
}
}
}
njt.jog.gov.hu; nothing is
sent beyond the ELI path being resolved. Honors robots.txt (never calls /search/*).~/.matematic/audit/hu-eli-mcp.jsonl
(AI Act art. 12 record-keeping).See CONSTITUTION.md (the 4 principles) and DISCOVERY.md (how the source was mapped,
including the njt.hu → njt.jog.gov.hu domain discovery and the issuer-code casing gotcha).
pytest tests/test_instructions_drift.py # offline
pytest tests/test_smoke.py # live NJT
Apache-2.0. The Hungarian legislation served is official public data of Hungary; this connector adds no rights over it.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.