Fontes / Coverage by jurisdiction
Portugal: case law and legislation for your AI app
Fontes lets your AI app search Portugal 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
- DGSI – Bases Jurídico-Documentais (IGFEJ, Ministério da Justiça): case law
- Tribunal Constitucional – Acórdãos: case law
- PGDL – Legislação (Procuradoria-Geral Distrital de Lisboa, Ministério Público); unofficial consolidations: legislation (unofficial; every answer says so)
What it covers
Case law: DGSI (STJ, STA, Relações, TCAs, Conflitos) with Domino full-text syntax — words, AND/OR, "phrase", [PROCESSO] = "..."; Tribunal Constitucional via its own site (court=tc). Ids: 'jstj/<unid>', 'tc:20260205'; case numbers like 2478/16.1T8GMR.G1.S2 and 'tc:205/2026' also work. Legislation: unofficial PGDL consolidations by nid (Código Civil = 775); provisions as 'Artigo 1022.º', '1022', 'art. 1067-A'.
What it does not cover
- Diário da República (official, authentic consolidated texts): SPA with no public API; its private endpoints failed for our client
- Official legislation text: PGDL consolidations used here are unofficial; only the Diário da República is authentic
- DGSI decisions: a selection, not every decision; some records are summary-only (no full text published)
- First-instance courts: not researched yet
- Regional law (Azores, Madeira): not researched yet
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 Portugal case law on arrendamento
- Find Portugal legislation: Código Civil
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: pt. Whether each source is working today: source status, checked daily.