An unofficial extension that lets Claude search laws and case law in the SPIJ (Peru's official legal information system, run by the Ministry of Justice). It runs on your computer and queries the SPIJ from your own connection.
Ask things like "find the latest amendments to the Consumer Protection Code" or "look for Supreme Court cassations on wrongful dismissal", and Claude finds, reads and cites the documents for you.
Download the guide for lawyers (PDF, in Spanish)
buscar_normas | Search legislation: laws, decrees, resolutions, ordinances. |
buscar_jurisprudencia | Search cassations, case files, Constitutional Court rulings, plenary agreements. |
obtener_documento | Read a document in full, in parts if it's long. |
exportar_documento | Save it to Downloads/SPIJ as Word or the original PDF. |
catalogo_spij | Official catalogs (document types, sectors, subjects) for filtering. |
diagnostico_spij | Check the connection and access mode. |
comprobar_actualizacion | Tell you when a new version is out. |
.mcpb file from the latest release.git clone https://github.com/dariodemh/spijmcp cd spijmcp npm install claude mcp add spij -s user -- node "$PWD/src/server.js"
To use your subscriber account, add --env SPIJ_USUARIO=... --env SPIJ_CLAVE=....
| Free | Your account | |
|---|---|---|
| Metadata and summary | Yes | Yes |
| Text of laws | Mostly | Yes |
| Text of case law | No | Yes |
It never bypasses the subscription: restricted text is only accessed with your own account.
Code and issues on GitHub. MIT license. Not affiliated with MINJUS.