{
  "markdown": "# cz-eli-mcp\n\n<!-- mcp-name: io.github.matematicsolutions/cz-eli-mcp -->\n\nAn MCP server for the Czech **e-Sbirka** legal database (`e-sbirka.gov.cz`), the official\nCollection of Laws (Sbirka zakonu), via its open-data **SPARQL** endpoint. It searches acts and\nfetches their full consolidated text, with verifiable citations.\n\nPart of the MateMatic `eu-legal-mcp` production line - after PL, DE, AT, ES, FI, IE, NL, SE, FR,\nLU and DK. Same citation contract, e-Sbirka source. This is the first connector in the line that\ntalks **SPARQL/RDF** rather than a REST/XML API.\n\n> **Scope.** This MVP searches acts (by year and/or a citation substring), returns metadata, and\n> assembles the full consolidated text of the latest version. ~92,000 acts, updated daily,\n> licensed CC BY 4.0. Language: Czech. Every response carries a `dataset_note`.\n>\n> **ELI is national, not data.europa.eu.** The act IRI follows the ELI URI template\n> (`eli/cz/sb/{year}/{number}`) but is minted by the e-Sbirka open-data graph\n> (`opendata.eselpoint.gov.cz`), not resolvable on `data.europa.eu`. The readable page is on\n> `e-sbirka.gov.cz`. Every response carries an `eli_note` saying so.\n>\n> **Text is assembled, not a single file.** e-Sbirka exposes the consolidated text as ordered\n> HTML fragments over SPARQL; `cz_get_text` reconstructs the plain text from them. There is no\n> single official XML/PDF manifestation.\n\n## The tools\n\n| Tool | What it does |\n|---|---|\n| `cz_search` | Find acts by year and/or a citation substring (discovery). |\n| `cz_get_act` | Metadata for an act by year + number, plus the latest consolidated version date. |\n| `cz_get_text` | Full consolidated text of an act, assembled from the latest version's fragments. |\n| `cz_coverage` | Declare what this connector covers, when each family was captured, and - explicitly - what it does NOT cover. Every gap carries a fallback. |\n\nEvery response carries the contract: `eli_uri` (the national ELI IRI, e.g.\n`https://opendata.eselpoint.gov.cz/esel-esb/eli/cz/sb/2019/110`), `human_readable_citation`\n(e.g. `110/2019 Sb.`), and `source_url` (the `e-sbirka.gov.cz` page).\n\n## Install\n\nRun it with no install step (once published to PyPI):\n\n```bash\nuvx cz-eli-mcp\n```\n\nOr from source:\n\n```bash\ncd cz-eli-mcp\npip install -e .\n```\n\n## Configure (Claude Code / any MCP client)\n\n```json\n{\n  \"mcpServers\": {\n    \"cz-eli-mcp\": { \"command\": \"cz-eli-mcp\" }\n  }\n}\n```\n\n### Windows 11 with Smart App Control\n\nSmart App Control blocks unsigned executables, which covers `uvx.exe`, `pip.exe`\nand the `cz-eli-mcp.exe` launcher that pip writes at install time. The `python.exe` and\n`py.exe` from the python.org installer are signed by the Python Software\nFoundation, so running the module through the interpreter works:\n\n```bash\npython -m pip install cz-eli-mcp\npython -m cz_eli_mcp\n```\n\n`pip.exe` is blocked for the same reason, so install with `python -m pip`, not\n`pip install`. If `python` is not on PATH, use the Windows launcher: `py -3 -m cz_eli_mcp`.\n\n```json\n{ \"mcpServers\": { \"cz-eli-mcp\": { \"command\": \"python\", \"args\": [\"-m\", \"cz_eli_mcp\"] } } }\n```\n\nDo not turn Smart App Control off to work around this - it cannot be re-enabled\nwithout reinstalling Windows.\n\nEnvironment:\n\n- `CZ_ELI_ENDPOINT` - default `https://opendata.eselpoint.gov.cz/sparql`\n- `CZ_ELI_CACHE_DIR` - default `~/.matematic/cache/cz-eli`\n- `CZ_ELI_AUDIT_DIR` - default `~/.matematic/audit`\n\nNo API key. The e-Sbirka open-data SPARQL endpoint is keyless.\n\n## Governance\n\n- **Public data only** - read-only SPARQL against e-Sbirka; no client data leaves the machine.\n- **Audit log** - every tool call appends one JSON line to `~/.matematic/audit/cz-eli-mcp.jsonl`.\n- **Vendor-neutral** - talks only to `opendata.eselpoint.gov.cz`; no LLM provider, no telemetry.\n- **Verifiable citations** - every response is independently checkable via `source_url`.\n\nSee `CONSTITUTION.md` and `DISCOVERY.md`.\n\n## Tests\n\n```bash\npip install -e \".[dev]\"\npytest tests/test_instructions_drift.py tests/test_parse.py -v   # offline\npytest tests/test_smoke.py -v                                    # hits the live SPARQL endpoint\n```\n\n## Licence\n\nApache-2.0. © Matematic Solutions / Wieslaw Mazur. e-Sbirka data is CC BY 4.0 (Czech Ministry of\nthe Interior); relayed with attribution and a `source_url`.\n",
  "bytes": 4297,
  "sha": "94fb02416586484ca68de070aa9438e00e5f9a02a9ad518035efccb25e9b3378",
  "repo_slug": "matematicsolutions/cz-eli-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_matematicsolutions_cz_eli_mcp_2f86db93/readme"
}