Yurko
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., "@Yurkoverify this quote from Article 8 ECHR against the official text"
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.
Yurko
Yurko is an MCP server that gives a model access to legal sources, plus a Claude Code skill that drafts a legal position on top of it. I built it so that a model stops quoting the law from memory. Every legal statement in a draft sits under a verbatim quote from the source, with the article and the version it came from.
The MCP server
The server reads Ukrainian legislation from the Verkhovna Rada site, EU law through Cellar, ELI and CELEX, case law of the European Court of Human Rights and the Court of Justice of the EU, case cards of the International Court of Justice, and public Ukrainian registries: court decisions, debtors and Prozorro tenders. The legal order is a parameter (legal_order), so adding a jurisdiction adds a value, not a new set of tools.
verify_quote checks a quote against the official text and answers with one of three results: a verbatim match, a match after normalisation, or a mismatch with the differences marked. A match proves the words are there; it does not prove the quote supports the argument. list_coverage says which operations have been tested for each source.
This public edition exposes 19 tools; the private build I run has 23.
Group | Tools |
Legislation |
|
Case law |
|
Registries |
|
Checks |
|
Related MCP server: Law7 MCP
The legal profile
The default profile is built for work on real matters:
free text from the user is never sent to the sources;
the server refuses to start with someone else's database or a model API key;
the server process sees only environment variables from an allow-list (
server_env.py);no tool accepts a file or a path, so case materials cannot reach the server.
The /yurko skill
An orchestrator is the only author of documents. Sub-agents read, search, argue the other side and check the draft. Risks are given as categories, never as a percentage chance, and procedural deadlines are left to a lawyer. The run keeps its state in files, so it can stop and resume, and it records its own cost.
A separate court cycle runs an adversarial simulation with information barriers between the roles and a blind panel of three models. It is back-tested on cases whose outcome is already known.
In production
The server runs on Render with a Postgres corpus. In production the Ukrainian corpus is searched with full-text search only, so query text never goes to an embedding provider. Hybrid search (full text plus vectors, merged with reciprocal rank fusion) is in the code but switched off.
Run it locally
Python 3.12 or newer. Dependency versions are pinned: uv.lock is the single source, and requirements.txt (stdio mode) and requirements-hosted.txt (Docker, with Postgres and Playwright) are exported from it with hashes.
With uv, without installing anything into the code folder:
uv run --quiet --no-project --python 3.12 --with-requirements requirements.txt python server_env.pyWith your own virtual environment:
python -m venv .venv
.venv/bin/pip install -r requirements.txt # Windows: .venv\Scripts\pip
.venv/bin/python server_env.py # stdio; the entry point builds an allow-listed environmentConnect it to Claude Code (absolute paths):
claude mcp add yurko -s user -- uv run --quiet --no-project --python 3.12 --with-requirements /abs/path/requirements.txt python /abs/path/server_env.pyHTTP mode for a hosted server: MCP_TRANSPORT=http, PORT and UKRAINE_LAWS_API_KEY. The image and the deployment are in Dockerfile and render.yaml.
Settings
Variable | Default | What it does |
|
|
|
| the OS cache directory | where the server writes its cache; it never writes into the code folder |
|
| use Postgres instead of the file cache |
|
|
|
| official endpoints | override a registry endpoint |
Development
Tests never touch the network or the code folder. tests/conftest.py fails any test that tries to go online, points YURKO_CACHE_DIR at a temporary folder and checks that cache/ in the code folder stays unchanged. Tests that really need the network are marked live and run only with YURKO_LIVE=1.
uv sync --frozen --extra dev
.venv/bin/python -m pytest -q # Windows: .venv\Scripts\pythonKnown quirks of the Rada site, such as TLS resets on large handshakes and ignored search filters, are written up in docs/.
License
MIT, see LICENSE. The skill under skill/ adapts parts of other open-source projects; see skill/NOTICE.md.
This server cannot be deployed
Maintenance
Related MCP Connectors
Resolve, search and verify legal citations against the official sources, with provenance.
Verifies legal citations vs primary sources: existence, quote match, proposition support.
LawOracle — 20 legal AI tools: case law search, contracts, EU regulations, citation graph.
Public Data Ukraine Mcp connects AI agents to real public APIs via MCP. Tools include
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables searching and quoting EU legislation with verifiable EUR-Lex citations, including GDPR, NIS2, DORA, and the EU AI Act.251 npmMIT
- AlicenseNot gradedqualityBmaintenanceProvides AI assistants with up-to-date legal documents from official sources, enabling accurate legal information retrieval and analysis.18AGPL 3.0
- AlicenseAqualityDmaintenanceVerifies legal citations by fetching the exact, in-force wording of cited articles from official PL and EU legal sources, preventing hallucination by returning verbatim text.25Apache 2.0
- AlicenseNot gradedqualityDmaintenanceSearch Indonesian regulations, resolve citations, read specific articles, and find Constitutional Court decisions with official-source links. Six research and feedback tools plus a health probe provide structured text, legal-status context, and amendment relationships. Hosted Streamable HTTP; free account with OAuth or a personal token.1AGPL 3.0