Fontes / Coverage by jurisdiction
Peru: case law and legislation for your AI app
Fontes lets your AI app search Peru case law and legislation at the source and link every result to the original. It is a free, open-source MCP server for Claude Desktop, Claude Code, Codex, Cursor, VS Code and other apps.
Sources
- Tribunal Constitucional – Consulta de causas and published resolutions: case law
- El Peruano – Diario Oficial, Búsquedas (Editora Perú): norms as published: legislation
- Congreso de la República – Constitución Política del Perú, edición oficial (consolidated): legislation
What it covers
Case law: Tribunal Constitucional case files, found by case number, party or reporting judge (not full text); slow by design (site asks 30 s between requests). Legislation: El Peruano gazette, full-text search, norms as published (not consolidated), individual norms online from about 2009; the Constitution consolidated (Congress official edition, id 'constitucion').
What it does not cover
- Poder Judicial case law (ordinary courts, jurisprudencia.pj.gob.pe): WAF blocks our client (403, even robots.txt)
- Consolidated legislation (SPIJ, MINJUS): unreachable from the UK (connect timeout, 2026-11-06 and 2026-11-10)
- Laws before about 2009 and consolidated laws: the Congress's Archivo Digital (leyes.congreso.gob.pe, every law since 1904) serves texts only as PDFs and its robots.txt has 'Disallow: /*.pdf$' (written above the 'User-agent: *' group, so formally ungrouped, but clearly meant for all robots; honoured)
- TC full-text search (jurisprudencia.sedetc.gob.pe): undocumented backend API, not used; search is by number/party
- Older TC resolutions (e.g. 2013): scans only, no text
- Individual norms in El Peruano before about 2009: not published online as single norms
Past versions
get_law_on_date and get_law_history read Lexifina's record (not the official publisher).
Questions to try
Ask in any language; the search words work best in the language of the source.
- Find Peru case law on MUNICIPALIDAD
- Find Peru legislation: Nueva Ley de Nacionalidad
Install
Claude Code: claude mcp add fontes -- uvx fontes-mcp. Codex: codex mcp add fontes -- uvx fontes-mcp. Claude Desktop and one-click installers for Mac and Windows: the latest release. Other apps: the installation guide.
Jurisdiction code: pe. Whether each source is working today: source status, checked daily.