Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Czech Law

БесплатноНе проверен

MCP server providing indexed access to 45,899 Czech statutes from e-sbirka.cz, enabling agents to retrieve real legal text and citations.

GitHubEmbed

Описание

MCP server providing indexed access to 45,899 Czech statutes from e-sbirka.cz, enabling agents to retrieve real legal text and citations.

README

The Czech law corpus is now served through the Ansvar Gateway. Connect your AI assistant (Claude, Copilot, Cursor, custom MCP client) to https://gateway.ansvar.eu/mcp — one OAuth connection, free tier available, covering this corpus plus EU regulations, national law across 28 audited jurisdictions, and CVE/security intelligence, every result with a verbatim source citation. Start at https://ansvar.eu/docs/quickstart

Connect

Claude Code (one line):

claude mcp add ansvar --transport http https://gateway.ansvar.eu/mcp

Claude Desktop / Cursor — add to claude_desktop_config.json (or mcp.json):

{
  "mcpServers": {
    "ansvar": {
      "type": "url",
      "url": "https://gateway.ansvar.eu/mcp"
    }
  }
}

Claude.ai — Settings → Connectors → Add custom connector → paste https://gateway.ansvar.eu/mcp

First request opens an OAuth signup flow (setup details: ansvar.eu/docs/quickstart). After signup, your client is bound to your account; tier (free / premium / team / company) determines fan-out, quota, and which downstream MCPs are reachable.


Self-host this MCP

You can also clone this repo and build the corpus yourself. The schema, fetcher, and tool implementations all live here. What is not in the repo is the pre-built database — TDM and standards-licensing constraints on the upstream sources mean we host the corpus on Ansvar infrastructure rather than redistribute it as a public artifact.

Build your own: run this repo's ingestion script (entry-point varies per repo — typically scripts/ingest.sh, npm run ingest, or make ingest; check the repo root).

MCP server for Czech Law — 45,899 statutes from www.e-sbirka.cz.

License: Apache 2.0 MCP Jurisdiction

What this is

This server indexes the legal materials listed under Sources below and exposes them via the Model Context Protocol. Part of the Ansvar MCP fleet — source-available servers published for self-hosting.

It makes no outbound network calls except to the upstream sources during ingestion — no analytics, no phone-home.

Coverage

  • Corpus: Czech Law — 45,899 statutes, 461,231 provisions
  • Jurisdiction code: CZ
  • Corpus snapshot: 2026-02-22

The corpus is rebuilt from the upstream sources by the included ingestion script; re-run periodically to refresh.

See Sources below for source URLs, terms, and reuse conditions.

Why this exists

LLMs answering compliance, security, or legal questions from training data alone will fabricate citations — confidently producing article numbers, statute names, and source URLs that do not exist, or that do not say what the model claims. This MCP exists so an agent can call a tool that returns the real text, the real identifier, and the real source URL straight from the indexed materials — and ground an answer rather than recall it.

One MCP, one corpus. The point is composition.

The Ansvar Gateway (ansvar.eu) joins this MCP with the rest of the Ansvar fleet behind a single authenticated endpoint — 300+ servers covering legal jurisdictions, EU regulations, security frameworks, sector regulators, privacy-pattern catalogues, and risk-scoring tools. That lets an agent run cross-domain workflows that no single MCP can serve alone:

  • Threat model and TARA. Threat enumeration → known component vulnerabilities → severity scoring → applicable AI, cybersecurity, and automotive obligations → privacy threats. Every finding traceable to its source.
  • Gap analysis. Target framework requirements → current-state evidence → unmet obligations → remediation guidance and authority opinions. Every gap traceable to the specific requirement that flagged it.
  • Data Protection Impact Assessment. Privacy regulation articles → national DPA guidance → privacy-pattern catalogue → applicable case law.

Getting high-quality citations

Citation accuracy degrades when an agent's context fills up. Long inputs cause retrieval-stage drift — the model recalls claim text correctly but misattributes the source. Two practices keep accuracy high:

  1. Focused first pass, checking-agent second pass. Query a small, relevant set of MCPs first, then run a separate agent whose only job is to re-resolve each citation against the source MCP and flag any that no longer match. The checking agent uses the same MCP tools as the synthesis agent.
  2. Pull the source text verbatim when in doubt. Every citation an agent emits points back to a tool call against this server. You — or another agent — can call the same tool with the same identifier and read the raw statute, article, or standard text directly. If the verbatim text doesn't support what the agent claimed, the citation was misused, regardless of whether the identifier was real.

Both patterns work the same way self-hosted or through the gateway.

Two ways to use it

Self-host (free, Apache 2.0) — clone this repo, run the ingestion script to build your local database from the listed upstream sources, point your MCP client at the local server. Instructions below.

Use the hosted gateway — for production use against the curated, kept-fresh corpus across the full Ansvar MCP fleet, with citation enrichment and multi-jurisdiction fan-out — see ansvar.eu.

Self-hosting

Install

git clone https://github.com/Ansvar-Systems/Czech-law-mcp.git
cd Czech-law-mcp
npm install

Build the database

npm run build:db

Ingestion is a snapshot — your local copy goes stale until you re-run it. The hosted gateway corpus is refreshed continuously.

Premium tier (case-law)

The premium tier extends the free corpus with curated Supreme Court decisions from the Sbírka soudních rozhodnutí a stanovisek published at sbirka.nsoud.cz. License basis is the same Czech-Statutory-PD §3 carve-out that covers statutes — court decisions are excluded from copyright protection under Czech Copyright Act 121/2000 Coll.

Build the premium database in two steps. First, ingest the case-law corpus (single-threaded, ≥ 2 seconds per request, honouring robots.txt):

npm run ingest:nsoud-sbirka                  # full corpus (~9,790 decisions, ~6 hours)
npm run ingest:nsoud-sbirka -- --limit 100   # smoke test (200 seconds)
npm run ingest:nsoud-sbirka -- --resume      # skip already-ingested URLs

Seed files land under data/case-law-seed/{ns-sbirka-<id>}.json. Then build the premium database, which combines the e-Sbírka statute corpus with the case-law seeds:

npm run build:db:premium

The premium build writes to data/database-premium.db (~1.3 GB statutes + case-law growth). Case-law rows are stored in the same legal_documents table with type='case_law', publisher='Nejvyšší soud', license='Czech-Statutory-PD'. Cited statutes parsed from each decision's Předpisy field land in cross_references.

The full Supreme Court decision search at rozhodnuti.nsoud.cz is out of scope — that subdomain blocks all non-DG_JUSTICE_CRAWLER user-agents via robots.txt and requires a separate written exception from NS IT. The Sbírka collection is the curated, publication-grade subset.

Configure your MCP client

{
  "mcpServers": {
    "czech-law-mcp": {
      "command": "node",
      "args": ["dist/index.js"]
    }
  }
}

Sources

Source Source URL Terms / license URL License basis Attribution required Commercial use Redistribution / caching Notes
www.e-sbirka.cz https://www.e-sbirka.cz Czech Copyright Act 121/2000 §3 Czech-Statutory-PD — Czech Copyright Act 121/2000 Coll. §3 excludes "úřední dílo" (official works) from copyright protection Yes Yes Yes Free tier. Same statutory carve-out mechanism as US-Federal-PD (17 USC §105) and Norwegian-Court-Publication. Czech transposition of EU Open Data Directive 2019/1024 (Act 261/2021 Coll.) provides supplementary basis. Catalogued upstream as Czech-Statutory-PD (entry_kind: regime).
sbirka.nsoud.cz https://sbirka.nsoud.cz/sbirka/{id}/ Czech Copyright Act 121/2000 §3 Czech-Statutory-PD — same úřední dílo carve-out applied to court decisions Yes Yes Yes Premium tier (Wave A). Curated Supreme Court decisions (Sbírka soudních rozhodnutí a stanovisek). robots.txt allows full crawl with no Crawl-Delay; ingestion is single-threaded at ≥ 2 s per request. Full Supreme Court search at rozhodnuti.nsoud.cz blocks non-DG_JUSTICE_CRAWLER agents and is out of scope.

What this repository does not provide

This repository's source — the MCP server code, schema, and ingestion script — is licensed under Apache 2.0. The license below covers the code in this repository only; it does not extend to the upstream legal materials.

Running ingestion may download, cache, transform, and index materials from the listed upstream sources. You are responsible for confirming that your use of those materials complies with the source terms, attribution requirements, robots/rate limits, database rights, copyright rules, and any commercial-use or redistribution limits that apply in your jurisdiction.

License

Apache 2.0 — see LICENSE. Commercial use, modification, and redistribution of the source code in this repository are permitted under that license. The license does not extend to upstream legal materials downloaded by the ingestion script; those remain governed by the source jurisdictions' own publishing terms (see Sources above).

The Ansvar gateway

If you'd rather not self-host, ansvar.eu provides this MCP plus the full Ansvar fleet through a single authenticated endpoint, with the curated production corpus, multi-MCP query orchestration, and citation enrichment.


Issues: github.com/Ansvar-Systems/Czech-law-mcp/issues · Security: [email protected]

from github.com/Ansvar-Systems/Czech-law-mcp

Установка Czech Law

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/Ansvar-Systems/Czech-law-mcp

FAQ

Czech Law MCP бесплатный?

Да, Czech Law MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Czech Law?

Нет, Czech Law работает без API-ключей и переменных окружения.

Czech Law — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Czech Law в Claude Desktop, Claude Code или Cursor?

Открой Czech Law на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Czech Law with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development