Cz Eli Mcp

io.github.matematicsolutionsPublished by GitHub account matematicsolutionsv0.2.3Updated Oct 24, 2026

MCP server for Czech legislation (e-Sbirka SPARQL) with ELI and verifiable citations.

Overview

AI-generated overview

Searches the Czech e-Sbirka legal database over SPARQL and returns act metadata and full consolidated text with verifiable ELI citations.

What you can do
  • Search acts by year and/or a citation substring
  • Fetch metadata for an act by year and number, including the latest consolidated version date
  • Retrieve the full consolidated text of an act, assembled from ordered HTML fragments
  • Report what the connector covers, when each family was captured, and what it does not cover, with fallbacks
  • Attach ELI URI, human-readable citation and source URL to every response
When to use it
Useful when an assistant needs to look up Czech legislation, check an act's current consolidated wording, or produce citations that a person can verify against the official e-Sbirka site. It is a read-only research aid for Czech-language legal sources, not a general legal database.
Requirements
Runs as a local process, typically launched with uvx from the PyPI package cz-eli-mcp, so Python and uv are needed; on Windows with Smart App Control, install via python -m pip and run python -m cz_eli_mcp instead. No API key is required. Optional environment variables CZ_ELI_ENDPOINT, CZ_ELI_CACHE_DIR and CZ_ELI_AUDIT_DIR change the endpoint and storage paths. Network access to the e-Sbirka SPARQL endpoint is required.
Before you install
Every tool call appends a JSON line to an audit log under the audit directory, so local activity is recorded. Queries go to the e-Sbirka open-data SPARQL endpoint; the README states no client data leaves the machine and no telemetry is used. Content is Czech-language and the ELI IRIs are national, not resolvable on data.europa.eu, so citations should be checked via the returned source URL. Text is reconstructed from fragments rather than an official single file.

Installation

In SourceWeft

  1. Open Cz Eli Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

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 on data.europa.eu. The readable page is on e-sbirka.gov.cz. Every response carries an eli_note saying so.

Text is assembled, not a single file. e-Sbirka exposes the consolidated text as ordered HTML fragments over SPARQL; cz_get_text reconstructs the plain text from them. There is no single official XML/PDF manifestation.

The tools

ToolWhat it does
cz_searchFind acts by year and/or a citation substring (discovery).
cz_get_actMetadata for an act by year + number, plus the latest consolidated version date.
cz_get_textFull consolidated text of an act, assembled from the latest version's fragments.
cz_coverageDeclare 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).

Install

Run it with no install step (once published to PyPI):

bash
uvx cz-eli-mcp

Or from source:

bash
cd cz-eli-mcppip install -e .

Configure (Claude Code / any MCP client)

json
{  "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:

bash
python -m pip install cz-eli-mcppython -m cz_eli_mcp

pip.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.

json
{ "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 - default https://opendata.eselpoint.gov.cz/sparql
  • CZ_ELI_CACHE_DIR - default ~/.matematic/cache/cz-eli
  • CZ_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

bash
pip install -e ".[dev]"pytest tests/test_instructions_drift.py tests/test_parse.py -v   # offlinepytest tests/test_smoke.py -v                                    # hits the live SPARQL endpoint

Licence

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.

Source: README.md at commit 2ef03c7

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.2.3LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts