Garant MCP through your own subscription
garant-mcp
An MCP server that pulls statute text, the edition in force on a date, and court practice from Garant via your subscription
- 1 ★ on the repository
- Last commit
- Apache-2.0
Extended access
Why this level
- Only reads the legal database through a personal subscription, does not file anything
- A background daemon keeps an active browser session under your Garant account
Install
- Works in
- Services
Manual install
curl -LsSf https://raw.githubusercontent.com/semenboss95-design/garant-mcp/main/install.sh -o install.sh && sh install.shInstaller for macOS and Linux; installs uv, the package, Chromium, and registers the server in Claude Desktop and Claude Code.
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Only reads the legal database through a personal subscription, does not file anything
- A background daemon keeps an active browser session under your Garant account
This is third-party code. Review the repository files before installing.
What it does
The server offers eight tools: full-text search across Garant, a document's text, the verbatim text of a specific article, a document's table of contents, all editions of an act with their validity periods, the edition in force on a given date, court practice from the higher courts with filters, and a tree of the database's information types. It works through a personal internet.garant.ru subscription: a background daemon keeps the browser profile on the local machine, renews the session itself, and listens only on 127.0.0.1; the repository stores or forwards no credentials. Every article citation comes with a provenance block: the edition, its effective date, the amending act, and a text fingerprint, so the citation can be checked rather than trusted blindly.
Who it is for. For lawyers preparing claims, complaints and legal opinions with Claude or Codex who want statutes cited from the current edition, not from the model's memory.
Good fit when
- You need to cite a statute in the edition that was in force on a given date
- You need higher-court practice on a specific issue with filters
- You want to verify every citation by its reference details, not just trust the model
Not a fit when
- You do not have an active personal Garant subscription: the server will not work without one
- You need rulings from the courts of cassation of general jurisdiction: they live in a different Garant database not reachable through this subscription
- You need the vendor's official API: the client is built from recorded site traffic, the service has no public API
Example request
Find Article 108 of the Russian Code of Criminal Procedure in Garant, in the edition in force on March 1, 2025MCP
- Transport
- stdio
- Authentication
- OAuth
Limitations
Requires an active personal Garant subscription (internet.garant.ru login and password), and will not work without one. Article text is normalized HTML from the Garant page, so editorial inserts can end up inside a quote. Court practice returns only the first page of a filtered list. The client is built from recorded site traffic rather than a public API, so a change on Garant's side may require the endpoint map to be updated.
How to disable. Run garant uninstall (with --purge to also erase the subscription profile), or remove the garant server from Claude Desktop, Claude Code or Codex config manually.
FAQ
Does the server store my Garant password?
No, the repository holds no database and no credentials; the session lives in the browser profile on your machine and renews automatically.
Can I trust a citation without checking it?
Every article citation comes with a provenance block (edition, effective date, amending act, text fingerprint), and the author recommends verifying it rather than trusting it blindly.
Discussion
No questions or reviews yet.
Related
All Russian law toolsGarant-Connect API MCP
ГАРАНТ MCP
An MCP server for the official Garant-Connect API: statute search and text, editions, change tracking and court practice for Claude
An MCP server with a database of Russian federal laws and codes: full-text article search, citation checks and currency checks
MCP for Russian court practice search
atomno-mcp-sudact
An MCP server searching Russian court rulings by text, statute, court and date, returning the full case text, like sudact.ru
MCP Gateway for GigaChat and YandexGPT
MCP Gateway
An MCP gateway to GigaChat and YandexGPT with automatic failover between them and 152-FZ personal-data anonymization
Clarity: skills for legal writing
Damascus Ink
Marketplace of three skills for lawyers that check the grammar, logic and persuasiveness of legal texts under Russian practice
152-FZ personal data anonymizer
mcp-152fz-anonymizer
An MCP server and HTTP API that find and mask personal data in text under Russia's 152-FZ before it reaches an LLM or an outside service
README in short
The README explains in detail the typical errors a model makes citing law from memory (quantifier shift, mixing authorities, outdated edition, fabricated references) and how the server removes them by pulling the norm from the database at query time. It describes the eight tools, the provenance block for verifying citations, a three-step install, Codex registration, the garant command for managing the daemon, and a boundaries section covering what the subscription does not reach.