
Alimenter votre agent
Installation de l'éditeur. Ce n'est pas un endpoint PlugMCP.
Host a copy with our keys and logs.
Pas encore de version packagée dans le registre. Suivez le README du dépôt.
URL distante ou commande sur votre machine ? Ce qui distingue les deux installations
Exécuter sur PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
LancerCurrent state and vocabulary. What this repository actually contains today, measured against the live database, is in docs/SCOPE.md; the words the project uses in a specific sense are in docs/GLOSSARY.md. Numbers elsewhere in this README are updated by re-measuring, and SCOPE.md wins if they disagree.
AI assistants rely on outdated training data for laws:
Law7 MCP pulls up-to-date, version-specific legal documents directly from official government sources and places them into your AI conversation.
Ask questions like:
What are the notice periods for terminating an employment contract in Russia?
What changes were made to the Russian Labor Code in 2025?
Law7 fetches current legal documents right into your AI's context. No tab-switching, no hallucinated articles, no outdated legal information.
IMPORTANT: This project provides text information from open sources only. See DISCLAIMER.md for full details.
# Build the server
npm run build
# Add to Claude Desktop
claude mcp add law7 --node \path\to\folder\law7\dist\index.js
Step 1: Build and Test the Server
npm run build
npm start
Step 2: Add to Claude Desktop
Option A - Via config file (C:\Users\<user>\AppData\Roaming\Claude\claude_desktop_config.json):
{
"mcpServers": {
"law7": {
"command": "node",
"args": ["/path/to/folder/law7/dist/index.js"],
"env": {}
}
}
}
Important: The mcpServers is an object, not an array. Each server is a key with command and args properties.
Step 3: Test with Claude Desktop
Once added, the law7 MCP server appears in your chat with these tools:
list-countries - List available countriesget-statistics - Get database statisticsquery-laws - Search legal documents by textget-law - Get specific document by eo_numberExample query:
Can you search for documents about "трудовой договор" in Russia and show me the results?
To automatically invoke Law7 for legal questions, add a rule to your CLAUDE.md file:
Always use Law7 MCP when I need legal information, document lookup, or legal analysis without me having to explicitly ask.
Currently only Russia is supported, but you can specify for clarity:
What are the labor laws in Russia regarding overtime?
Ask for specific dates to get historical legal versions:
What was the Russian Labor Code article 80 text on January 1, 2024?
Law7 MCP provides the following 13 tools that AI assistants can use (as of the 2026-02-11 snapshot, measured 2026-09-14):
This project uses a hybrid architecture with two separate components:
Python Pipeline → PostgreSQL + Qdrant → TypeScript MCP Server → AI
Status: Operational
As of the 2026-02-11 snapshot (measured 2026-09-14):
SHA256: 70a1d8fc6b27b67ad7f12f03f017d02b5f68a0c895447159039800965895f8b2Quick Start Pipeline:
For most users: Step 1 gives you the essential legal codes. Steps 2-3 add amendment coverage.
See docs/DATA_PIPELINE.md for complete data pipeline documentation.
Status: Planned - See docs/VISION.md
Note: Default ports are PostgreSQL 5433, Qdrant 6333 (to avoid conflicts with other projects). Redis was removed 2026-09-14; add back when a cache is actually implemented.
Skip the data sync and use the pre-built database:
# 1. Download backup (218 MB)
# https://drive.google.com/file/d/1DPLpFpuwUZbLZEGo2TxnCAcLRdb2V1aD/view?usp=sharing
# 2. Start Docker services
cd docker
docker-compose up -d
# 3. Restore backup (place .tar.gz in docker/backups/ directory)
./restore.sh law7_backup_20260211_014519
# 4. Start MCP server
npm install && npm run build && npm start
cd docker
docker-compose up -d
# Using uv
uv run python scripts/sync/initial_sync.py
npm install
npm run build
npm start
npx @modelcontextprotocol/inspector node dist/index.js
@modelcontextprotocol/sdk - MCP protocolpg - PostgreSQL client@qdrant/js-client-rest - Qdrant vector DB clientpandas - Data processingsqlalchemy - Database ORMbeautifulsoup4 - HTML parsingpdfplumber - PDF text extractionsentence-transformers - Embeddings (multilingual models)qdrant-client - Vector DB clienttorch - PyTorch with CUDA support (for GPU acceleration)Hardware Requirements for GPU Acceleration:
AGPL-3.0 with an additional permission under section 7 - see LICENSE for the full license text and LICENSE-EXCEPTION.md for the additional permission (linking exception).
This means:
Law7 MCP Server and Core Engine -- Open up-to-date legal database for AI assistants
Outils
Pas encore de liste d'outils. Les serveurs distants en obtiennent une après le premier contrôle d'état.
FAQ
Copiez sur cette page la configuration stdio pour Cursor, Claude Desktop, Claude Code ou VS Code. Elle utilise l'installation de l'éditeur, pas un proxy PlugMCP.
Aucune variable d'environnement requise n'est indiquée sur cette fiche.
Law7 s'exécute en local via stdio.
Dernière vérification : 2026-10-28. Law7 MCP Server and Core Engine -- Open up-to-date legal database for AI assistants