@ansvar/peruvian-law-mcp
v1.0.0
Published
Peruvian law database covering data protection, cybersecurity, e-commerce, and criminal law provisions via Model Context Protocol
Downloads
160
Maintainers
Readme
Peruvian Law MCP
Peruvian law database for cybersecurity compliance via Model Context Protocol (MCP).
Features
- Full-text search across legislation provisions (FTS5 with BM25 ranking)
- Article-level retrieval for specific legal provisions
- Citation validation to prevent hallucinated references
- Currency checks to verify if laws are still in force
Quick Start
Claude Code (Remote)
claude mcp add peruvian-law --transport http https://peruvian-law-mcp.vercel.app/mcpLocal (npm)
npx @ansvar/peruvian-law-mcpData Sources
Official legal text from Diario Oficial El Peruano (busquedas.elperuano.pe).
- Discovery/indexing:
https://busquedas.elperuano.pe/api/graphqlviagetGenericPublication - Full text:
https://busquedas.elperuano.pe/api/visor_html/{op}
Current ingestion mode targets full law corpus categories (e.g., LEY, DECRETO LEGISLATIVO,
DECRETO DE URGENCIA, RESOLUCION LEGISLATIVA) within the configured date range.
License
Apache-2.0
Important Disclaimers
Not Legal Advice
THIS TOOL IS NOT LEGAL ADVICE
Statute text is sourced from official government publications. However:
- This is a research tool, not a substitute for professional legal counsel
- Coverage may be incomplete — verify critical provisions against primary sources
- Verify all citations against the official legal portal before relying on them professionally
- Laws change — check the
abouttool for database freshness date
Client Confidentiality
When using the remote endpoint, queries are processed by third-party infrastructure (Vercel, Claude API). For privileged or confidential legal matters, use the local npm package or on-premise deployment.
Before using professionally, read: DISCLAIMER.md | PRIVACY.md
Open Law
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 MCP Network
Ansvar Open Law is part of the broader Ansvar MCP Network — 80+ 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 | | Cybersecurity | 200K+ CVEs, STRIDE patterns, sanctions |
Explore the full network -> ansvar.ai/mcp
Built by Ansvar Systems | ansvar.eu/open-law
