cz-eli-mcp
This server provides read-only access to the Czech e-Sbirka legal database (~92,000 acts) via a SPARQL/RDF endpoint, allowing you to search for and retrieve Czech laws.
Search acts (
cz_search): Find acts by publication year and/or citation substring (case-insensitive), with pagination support (up to 500 results per query).Get act metadata (
cz_get_act): Retrieve detailed metadata for a specific act by year and number, including ELI URI, human-readable citation (e.g.110/2019 Sb.), source URL, latest consolidated version date, and version URI.Get consolidated text (
cz_get_text): Fetch the full consolidated text of an act, assembled from ordered HTML fragments, along with fragment count, byte size, and version date.
Key characteristics:
Every response includes
eli_uri,human_readable_citation, andsource_urlfor independent verification, plusdataset_noteandeli_notefor data provenance transparency.Data is sourced from the
opendata.eselpoint.gov.czSPARQL endpoint, licensed CC BY 4.0, and updated daily.No API key required; all operations are read-only.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cz-eli-mcp Get the full text of act 110/2019 Sb."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
cz-eli-mcp
An MCP server for the Czech e-Sbirka legal database (e-sbirka.gov.cz), the official
Collection of Laws (Sbirka zakonu), via its open-data SPARQL endpoint. It searches acts and
fetches their full consolidated text, with verifiable citations.
Part of the MateMatic eu-legal-mcp production line - after PL, DE, AT, ES, FI, IE, NL, SE, FR,
LU and DK. Same citation contract, e-Sbirka source. This is the first connector in the line that
talks SPARQL/RDF rather than a REST/XML API.
Scope. This MVP searches acts (by year and/or a citation substring), returns metadata, and assembles the full consolidated text of the latest version. ~92,000 acts, updated daily, licensed CC BY 4.0. Language: Czech. Every response carries a
dataset_note.ELI is national, not data.europa.eu. The act IRI follows the ELI URI template (
eli/cz/sb/{year}/{number}) but is minted by the e-Sbirka open-data graph (opendata.eselpoint.gov.cz), not resolvable ondata.europa.eu. The readable page is one-sbirka.gov.cz. Every response carries aneli_notesaying so.Text is assembled, not a single file. e-Sbirka exposes the consolidated text as ordered HTML fragments over SPARQL;
cz_get_textreconstructs the plain text from them. There is no single official XML/PDF manifestation.
The tools
Tool | What it does |
| Find acts by year and/or a citation substring (discovery). |
| Metadata for an act by year + number, plus the latest consolidated version date. |
| Full consolidated text of an act, assembled from the latest version's fragments. |
| Declare what this connector covers, when each family was captured, and - explicitly - what it does NOT cover. Every gap carries a fallback. |
Every response carries the contract: eli_uri (the national ELI IRI, e.g.
https://opendata.eselpoint.gov.cz/esel-esb/eli/cz/sb/2019/110), human_readable_citation
(e.g. 110/2019 Sb.), and source_url (the e-sbirka.gov.cz page).
Related MCP server: sk-eli-mcp
Install
Run it with no install step (once published to PyPI):
uvx cz-eli-mcpOr from source:
cd cz-eli-mcp
pip install -e .Configure (Claude Code / any MCP client)
{
"mcpServers": {
"cz-eli-mcp": { "command": "cz-eli-mcp" }
}
}Windows 11 with Smart App Control
Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe
and the cz-eli-mcp.exe launcher that pip writes at install time. The python.exe and
py.exe from the python.org installer are signed by the Python Software
Foundation, so running the module through the interpreter works:
python -m pip install cz-eli-mcp
python -m cz_eli_mcppip.exe is blocked for the same reason, so install with python -m pip, not
pip install. If python is not on PATH, use the Windows launcher: py -3 -m cz_eli_mcp.
{ "mcpServers": { "cz-eli-mcp": { "command": "python", "args": ["-m", "cz_eli_mcp"] } } }Do not turn Smart App Control off to work around this - it cannot be re-enabled without reinstalling Windows.
Environment:
CZ_ELI_ENDPOINT- defaulthttps://opendata.eselpoint.gov.cz/sparqlCZ_ELI_CACHE_DIR- default~/.matematic/cache/cz-eliCZ_ELI_AUDIT_DIR- default~/.matematic/audit
No API key. The e-Sbirka open-data SPARQL endpoint is keyless.
Governance
Public data only - read-only SPARQL against e-Sbirka; no client data leaves the machine.
Audit log - every tool call appends one JSON line to
~/.matematic/audit/cz-eli-mcp.jsonl.Vendor-neutral - talks only to
opendata.eselpoint.gov.cz; no LLM provider, no telemetry.Verifiable citations - every response is independently checkable via
source_url.
See CONSTITUTION.md and DISCOVERY.md.
Tests
pip install -e ".[dev]"
pytest tests/test_instructions_drift.py tests/test_parse.py -v # offline
pytest tests/test_smoke.py -v # hits the live SPARQL endpointLicence
Apache-2.0. © Matematic Solutions / Wieslaw Mazur. e-Sbirka data is CC BY 4.0 (Czech Ministry of
the Interior); relayed with attribution and a source_url.
Available Tools
3 toolscz_get_actARead-onlyIdempotent
Fetch Czech act metadata by year and number.
Inputs: year (required), number (required). Returns: A Czech legal act (from SPARQL metadata).
cz_get_textBRead-onlyIdempotent
Fetch the full consolidated text of a Czech act by year and number.
The text is assembled from the latest consolidated version's ordered HTML fragments.
Inputs: year (required), number (required). Returns: Result of ``cz_get_text`` (consolidated text assembled from fragments).
cz_searchARead-onlyIdempotent
Search Czech acts by year and/or a citation substring.
Inputs: year, limit, offset, contains. Returns: Result of ``cz_search``.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clear, distinct purpose: metadata retrieval, full text retrieval, and search. No overlap or ambiguity.
All tools follow a consistent `cz_verb_noun` pattern in snake_case, making them predictable and easy to understand.
Three tools is well-scoped for a legal acts server, covering the core operations without unnecessary bloat.
The set covers search, metadata, and full text retrieval. A list-all-act function is missing but search can approximate it; otherwise complete for read-only access.
Maintenance
Related MCP Connectors
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
Temporal search and comparison for official Luxembourg and reviewed EU law, with provenance.
Czech law research with citations: statutes by date, court decisions, explanatory reports.
Search and cite official European legislation and court decisions, by article. Read-only.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables querying and analyzing Slovak legislation via natural language, including full-text search, provision retrieval, and EU law integration.77 npm2Apache 2.0
- AlicenseAqualityCmaintenanceEnables access to Slovak legislation from the Collection of Laws via static.slov-lex.sk. Supports listing consolidated versions, retrieving act metadata, and fetching full text with verifiable citations.41Apache 2.0
- AlicenseAqualityBmaintenanceEnables read-only search and retrieval of Czech legislation and multi-tier court decisions, filtering by judicial instance, and verification of statutory and case-law citations against official registries.6MIT
- AlicenseAqualityBmaintenanceEnables read-only search and retrieval of Slovak legislation and court decisions across first-instance, appellate, supreme, and constitutional tiers, plus verification of statutory and case-law citations against official registries.6MIT