
Research
/Security News
Popular npm Packages in the keyv and Cacheable Namespaces Compromised in Active Supply Chain Attack
Popular npm packages keyv and cacheable compromised.
@ansvar/russian-law-mcp
Advanced tools
Production-grade Russian legal research MCP server with comprehensive federal legislation coverage and EU/international law cross-references
Russian federal legislation, AI-readable.
Query 12,393 Russian federal laws -- from the Civil Code and Criminal Code to the Personal Data Law and Communications Law -- directly from Claude, Cursor, or any MCP-compatible client. 79,178 provisions, full-text searchable.
If you're building legal tech, compliance tools, or doing Russian legal research, this is your verified reference database.
Built by Ansvar Systems -- Stockholm, Sweden
Russian legal research requires navigating pravo.gov.ru, ConsultantPlus, and multiple government portals. Whether you're:
...you shouldn't need to manually navigate government portals and PDF documents. Ask Claude. Get the exact provision. With context.
This MCP server makes Russian federal law searchable, cross-referenceable, and AI-readable.
Connect directly to the hosted version -- zero dependencies, nothing to install.
Endpoint: https://russian-law-mcp.fly.dev/mcp
| Client | How to Connect |
|---|---|
| Claude.ai | Settings > Connectors > Add Integration > paste URL |
| Claude Code | claude mcp add russian-law --transport http https://russian-law-mcp.fly.dev/mcp |
| Claude Desktop | Add to config (see below) |
| GitHub Copilot | Add to VS Code settings (see below) |
Claude Desktop -- add to claude_desktop_config.json:
{
"mcpServers": {
"russian-law": {
"type": "url",
"url": "https://russian-law-mcp.fly.dev/mcp"
}
}
}
GitHub Copilot -- add to VS Code settings.json:
{
"github.copilot.chat.mcp.servers": {
"russian-law": {
"type": "http",
"url": "https://russian-law-mcp.fly.dev/mcp"
}
}
}
npx @ansvar/russian-law-mcp
Claude Desktop -- add to claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"russian-law": {
"command": "npx",
"args": ["-y", "@ansvar/russian-law-mcp"]
}
}
}
Cursor / VS Code:
{
"mcp.servers": {
"russian-law": {
"command": "npx",
"args": ["-y", "@ansvar/russian-law-mcp"]
}
}
}
Once connected, just ask naturally:
| Category | Count | Details |
|---|---|---|
| Federal Laws | 12,132 | All federal laws from 1991-2023 |
| Federal Constitutional Laws | 193 | All FKZ documents |
| Codes | 43 | Civil, Criminal, Labor, Tax, Administrative, etc. |
| Constitution | 1 | Full text (142 articles) |
| Total Provisions | 79,178 | Article-level, full-text searchable (FTS5) |
| Database Size | ~530 MB | SQLite + FTS5, Cyrillic optimized |
100% coverage of ingestable Russian federal legislation. Every provision is sourced from pravo.gov.ru via the RusLawOD academic dataset. Zero LLM-generated content.
| Tool | Description |
|---|---|
search_legislation | FTS5 search on 79,178 provisions with BM25 ranking |
get_provision | Retrieve specific provision by document ID + article/section |
validate_citation | Validate citation against database (zero-hallucination check) |
build_legal_stance | Aggregate citations from statutes for a legal question |
format_citation | Format citations per Russian conventions (full/short/pinpoint) |
check_currency | Check if statute is in force, amended, or repealed |
| Tool | Description |
|---|---|
get_eu_basis | Get EU/international legal basis for Russian statute |
get_russian_implementations | Find Russian laws implementing EU instrument |
search_eu_implementations | Search EU documents with Russian implementation info |
get_provision_eu_basis | Get EU law references for specific provision |
validate_eu_compliance | Check implementation status |
| Tool | Description |
|---|---|
list_sources | Data provenance metadata and coverage information |
about | Server metadata, dataset statistics, and freshness |
All content is sourced from authoritative Russian legal databases:
Per Article 1259, Paragraph 6 of the Civil Code of the Russian Federation, federal laws, codes, presidential decrees, and other official documents are not copyrightable. All legislative text in this database is in the public domain.
This project uses multiple layers of automated security scanning:
| Scanner | What It Does | Schedule |
|---|---|---|
| CodeQL | Static analysis for security vulnerabilities | Weekly + PRs |
| Semgrep | SAST scanning (OWASP top 10, secrets, TypeScript) | Every push |
| Gitleaks | Secret detection across git history | Every push |
| Trivy | CVE scanning on filesystem and npm dependencies | Daily |
| Docker Security | Container image scanning + SBOM generation | Weekly |
| Socket.dev | Supply chain attack detection | PRs |
| OSSF Scorecard | OpenSSF best practices scoring | Weekly |
See SECURITY.md for the full policy and vulnerability reporting.
This server is part of Ansvar Open Law -- free, structured access to legislation from 70+ jurisdictions worldwide via the Model Context Protocol.
Browse all jurisdictions -> ansvar.eu/open-law
Ansvar Open Law is part of the broader Ansvar MCP Network -- 95+ servers covering global legislation, EU/US compliance frameworks, and cybersecurity standards.
| Category | Coverage |
|---|---|
| Legislation | 70+ jurisdictions worldwide |
| EU Compliance | 49 regulations, 2,693 articles |
| US Compliance | 15 federal & state regulations |
| Security Frameworks | 261 frameworks, 1,451 controls |
Explore the full network -> ansvar.ai/mcp
THIS TOOL IS NOT LEGAL ADVICE
Statute text is sourced from official pravo.gov.ru publications. However:
- This is a research tool, not a substitute for professional legal counsel
- Verify critical citations against primary sources
- Regional legislation and court practice are not included
- For professional use, cross-check with ConsultantPlus or Garant
Before using professionally, read: DISCLAIMER.md | PRIVACY.md
Queries go through the Claude API. For privileged or confidential matters, use on-premise deployment. See PRIVACY.md for attorney-client privilege (advokatskaya tayna) guidance.
git clone https://github.com/Ansvar-Systems/Russian-Law-MCP
cd Russian-Law-MCP
npm install
npm run build
npm test
feature-branch -> PR to dev -> verify on dev -> PR to main -> deploy
Never push directly to main. All changes go through dev first.
npm run dev # Start MCP server
npx @anthropic/mcp-inspector node dist/index.js # Test with MCP Inspector
python3 scripts/ingest-ruslawod.py # Ingest from RusLawOD dataset
npm run build:db # Build SQLite from seed files
npm test # Verify everything works
Contributions welcome! See CONTRIBUTING.md for guidelines.
Priority areas:
If you use this MCP server in academic research:
@software{russian_law_mcp_2026,
author = {Ansvar Systems AB},
title = {Russian Law MCP Server: Federal Legislation Research Tool},
year = {2026},
url = {https://github.com/Ansvar-Systems/Russian-Law-MCP},
note = {12,393 Russian federal laws with 79,178 provisions and full-text search}
}
Apache License 2.0. See LICENSE for details.
We build AI-accelerated compliance and legal research tools. This MCP server makes Russian federal legislation searchable and AI-readable -- because navigating pravo.gov.ru shouldn't require hours of manual effort.
ansvar.eu -- Stockholm, Sweden
Built with care in Stockholm, Sweden
FAQs
Production-grade Russian legal research MCP server with comprehensive federal legislation coverage and EU/international law cross-references
The npm package @ansvar/russian-law-mcp receives a total of 88 weekly downloads. As such, @ansvar/russian-law-mcp popularity was classified as not popular.
We found that @ansvar/russian-law-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.

Security News
/Company News
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.