Portugal Legal Research MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Official-source legal research, live national archive search, multi-tier judicial hierarchy search (First Instance, Regional/Cantonal/Appellate, and Supreme/Constitutional courts), and citation verification MCP server for Portugal (PT).
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_legislationA | Search Portugal (PT) national legislation (statutes, acts, codes, regulations, official gazette) via Diário da República Eletrónico (diariodarepublica.pt) and live national legal archives. |
| search_case_lawB | Search Portugal (PT) court decisions and binding precedents via DGSI Bases Jurídico-Documentais (dgsi.pt) & Jurisprudência CSTJ/TC and open national judicial archives (Supported courts: Supremo Tribunal de Justiça (STJ), Tribunal Constitucional, Supremo Tribunal Administrativo (STA), Tribunais da Relação). |
| get_legal_document_markdownA | Retrieve full Markdown text of a legislation document or court judgment (HTML or PDF) from Portugal (PT) by its URL or official identifier. |
| list_court_hierarchyA | Return the complete step-by-step multi-tier judicial hierarchy for Portugal (PT): Tier 1 (First Instance / Trial / Municipal / District Courts), Tier 2 (Regional / Cantonal / County / Appellate Courts), Tier 3 (Supreme / Cassation / Constitutional Courts), and all official court sub-portals. |
| search_tiered_court_decisionsB | Search court decisions in Portugal (PT) filtered by specific judicial tier or regional/cantonal/appellate court. Supports Tier 1 (first_instance), Tier 2 (appellate_regional — including Cantonal/Regional/County/Circuit courts), and Tier 3 (supreme_constitutional), or a specific sub-portal key from list_court_hierarchy. |
| verify_citationB | No-Hallucination Citation Verifier for Portugal (PT). Validates format and live existence of legal citations (e.g., 'ECLI:PT:STJ:2024:123.22.0T8LSB.L1.S1 or Diário da República') against official Portugal and ECLI/ELI registries to prevent AI-hallucinated citations. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
The set has four clearly distinct tools (get_legal_document_markdown, verify_citation, search_legislation, list_court_hierarchy), but search_case_law and search_tiered_court_decisions both retrieve Portuguese court decisions and differ only in coverage/filtering, which is not obvious from the names. An agent asked to 'search court decisions' would need to read the descriptions carefully to pick correctly.
All six tools use a consistent snake_case verb_noun pattern (get_, search_, verify_, list_) with no mixed conventions. Names are predictable and self-describing.
Six tools is well-scoped for a read-only legal research server: retrieval, two search modes, citation verification, and hierarchy discovery. Each tool earns its place and nothing feels padded.
The surface covers the core research loop: discover the hierarchy, search legislation, search case law by source or tier, fetch full text, and verify citations. Minor gaps exist (e.g. no article-level or citation-based document lookup, no listing of available legislation filters), but agents can work around these via get_legal_document_markdown.