pl-legal-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pl-legal-mcp Zweryfikuj Dz.U. 2024 poz. 100 i podaj treść ustawy"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Poland Legal Research MCP Server (pl-legal-mcp)
Polski | English Documentation
Serwer MCP Prawa i Orzecznictwa Sądowego (pl-legal-mcp) — Polski
O tym repozytorium
To repozytorium zawiera serwer Model Context Protocol (MCP) łączący wybraną aplikację AI (Claude Desktop, Cursor, Windsurf, VS Code / Copilot, Cline lub Antigravity) bezpośrednio z systemem ISAP/ELI Sejmu RP (isap.sejm.gov.pl) oraz bazami orzeczeń (SAOS i Portal Orzeczeń Sądów Powszechnych: 318 sądów rejonowych, 47 sądów okręgowych, 16 WSA, 11 sądów apelacyjnych, Sąd Najwyższy, NSA oraz Trybunał Konstytucyjny).
Szybka instalacja (Wybór aplikacji AI)
Pobranie: Kliknij
<> Code->Download ZIPi rozpakuj folder na komputerze.Uruchomienie: Kliknij dwukrotnie
Click_Here_To_Install_Windows.bat(Windows) lubClick_Here_To_Install_Mac.command(macOS).Wybór klienta AI: Zaznacz używane programy AI (Claude, Cursor, Windsurf, VS Code, Antigravity), kliknij przycisk instalacji i uruchom ponownie wybraną aplikację AI.
Informacja o bezpieczeństwie: Instalator działa w trybie tylko do odczytu i nie ma dostępu do prywatnych plików na komputerze.
Instancje sądowe i oficjalne źródła
Instancja | Objęte sądy |
I instancja (Sądy rejonowe, okręgowe i WSA) | Sądy Rejonowe (318 District Courts), Sądy Okręgowe (47 Regional Courts in 1st instance) & Wojewódzkie Sądy Administracyjne (16 WSA) |
II instancja (11 Sądów apelacyjnych) | 11 Sądów Apelacyjnych (Warszawa, Kraków, Wrocław, Poznań, Gdańsk, Katowice, Łódź, Lublin, Białystok, Rzeszów, Szczecin) & Sądy Okręgowe (Appellate divisions) |
Sąd Najwyższy, NSA i Trybunał Konstytucyjny | Sąd Najwyższy (SN), Naczelny Sąd Administracyjny (NSA) & Trybunał Konstytucyjny (TK) |
Sejm ELI Official REST API (api.sejm.gov.pl/eli): https://isap.sejm.gov.pl (
isap.sejm.gov.pl,dziennikustaw.gov.pl,sejm.gov.pl)SAOS Open API & Portal Orzeczeń Sądów Powszechnych (orzeczenia.ms.gov.pl — Rejonowe, Okręgowe & Apelacyjne): https://www.saos.org.pl (
saos.org.pl,orzeczenia.ms.gov.pl,sn.pl,nsa.gov.pl,trybunal.gov.pl)
Related MCP server: hr-legal-mcp
English Documentation
Model Context Protocol (MCP) server providing live, read-only access to Poland (PL) legislation, official gazettes, multi-tier judicial decisions (First Instance, Regional/Cantonal/Appellate, and Supreme/Constitutional courts, including HTML and PDF full-text extraction), and statutory citation verification across all major AI clients (ChatGPT Desktop, OpenAI Codex CLI, Claude Desktop, Claude Code CLI, Cursor, Windsurf, VS Code / GitHub Copilot / Cline / Roo Code, Google Antigravity / Gemini CLI, Perplexity, and Continue.dev).
Interactive Desktop Setup (Select Your AI Assistant)
This package includes a graphical installer for legal practitioners and non-technical users that lets you select which AI application(s) you use:
Download: Click
<> Codeat the top right of this repository, selectDownload ZIP, and extract the folder to your computer.Run the Setup Utility:
Windows: Double-click
Click_Here_To_Install_Windows.batmacOS: Double-click
Click_Here_To_Install_Mac.command
Select Your AI Client(s) & Connect: Check the box(es) for the AI assistant(s) installed on your computer (ChatGPT Desktop & OpenAI Codex CLI, Claude Desktop & Claude Code CLI, Cursor, Windsurf, VS Code / GitHub Copilot / Cline / Roo Code, Google Antigravity / Gemini CLI, or Perplexity / Continue.dev), click Install to Selected AI Clients, and restart your selected AI application.
System Integrity Note: The setup utility operates strictly in read-only mode with respect to your personal files and documents. It installs an isolated Python runtime inside the extracted folder and registers the server entry only in the AI client configuration files you select.
Multi-Tier Judicial Hierarchy & Live Indexed National Archives
This server performs live queries across the full judicial hierarchy and official legal archives of Poland, extracting full text from both HTML pages and official court/gazette PDF judgments:
Judicial Tier | Covered Courts & Tribunals |
Tier 1 — First Instance | Sądy Rejonowe (318 District Courts), Sądy Okręgowe (47 Regional Courts in 1st instance) & Wojewódzkie Sądy Administracyjne (16 WSA) |
Tier 2 — Regional / Cantonal / Appellate | 11 Sądów Apelacyjnych (Warszawa, Kraków, Wrocław, Poznań, Gdańsk, Katowice, Łódź, Lublin, Białystok, Rzeszów, Szczecin) & Sądy Okręgowe (Appellate divisions) |
Tier 3 — Supreme & Constitutional | Sąd Najwyższy (SN), Naczelny Sąd Administracyjny (NSA) & Trybunał Konstytucyjny (TK) |
Official Portals & Live Indexed Domains
National Legislation & Official Gazette: Sejm ELI Official REST API (api.sejm.gov.pl/eli) — https://isap.sejm.gov.pl
Indexed Legislation Domains:
isap.sejm.gov.pl,dziennikustaw.gov.pl,sejm.gov.pl
Court Decisions & Jurisprudence Archives: SAOS Open API & Portal Orzeczeń Sądów Powszechnych (orzeczenia.ms.gov.pl — Rejonowe, Okręgowe & Apelacyjne) — https://www.saos.org.pl
Indexed Judicial & Open Case Law Domains:
saos.org.pl,orzeczenia.ms.gov.pl,sn.pl,nsa.gov.pl,trybunal.gov.pl
Available MCP Tools
Tool | Description |
| Searches enacted statutes, codes, decrees, and official gazette publications in Poland. |
| Searches national jurisprudence and open judicial archives for Poland. |
| Filters case law specifically by judicial instance ( |
| Returns the complete 3-tier court structure and supported regional court filters for Poland. |
| Retrieves full statutory or judicial texts (both HTML and official |
| Validates statutory and case law citations against official registries. |
{
"mcpServers": {
"pl-legal-mcp": {
"command": "uvx",
"args": [
"--from",
"https://github.com/jurisatlas/pl-legal-mcp/archive/refs/heads/main.zip",
"pl-legal-mcp"
]
}
}
}Available Tools
6 toolsget_legal_document_markdownGet Legal Document MarkdownA
Retrieve full Markdown text of a legislation document or court judgment (HTML or PDF) from Poland (PL) by its URL or official identifier.
Inputs: document_id_or_url (required), page. Returns: object
list_court_hierarchyList Court HierarchyA
Return the complete step-by-step multi-tier judicial hierarchy for Poland (PL): 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.
Inputs: no named parameters. Returns: object
search_case_lawSearch Case LawB
Search Poland (PL) court decisions and binding precedents via SAOS Open Case Law REST API (saos.org.pl/api/search/judgments) and open national judicial archives (Supported courts: Sąd Najwyższy (Supreme Court), Trybunał Konstytucyjny, NSA (Supreme Administrative Court), Common Courts).
Inputs: query (required), court, limit. Returns: object
search_legislationSearch LegislationB
Search Poland (PL) national legislation (statutes, acts, codes, regulations, official gazette) via Sejm ELI Official REST API (api.sejm.gov.pl/eli) and live national legal archives.
Inputs: query (required), year, limit. Returns: object
search_tiered_court_decisionsSearch Tiered Court DecisionsA
Search court decisions in Poland (PL) 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.
Inputs: query (required), tier, limit, sub_court. Returns: object
verify_citationVerify CitationA
No-Hallucination Citation Verifier for Poland (PL). Validates format and live existence of legal citations (e.g., 'I CSK 123/23 or Dz.U. 2024 poz. 100') against official Poland and ECLI/ELI registries to prevent AI-hallucinated citations.
Inputs: citation (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Most tools are clearly distinct (court hierarchy, legislation search, citation verification, document retrieval), but search_tiered_court_decisions and search_case_law both retrieve court decisions and may be confused for general case-law queries. Their descriptions differentiate by tier filtering and API source, but an agent still faces a meaningful selection ambiguity.
Tool names consistently use snake_case and generally follow an action-first convention (search_*, list_*, verify_*, get_*). There are minor deviations in specificity and style, such as list_court_hierarchy being noun-focused while others are verb-object, but the set is predictable overall.
Six tools is well-scoped for a Polish legal research server. Each tool covers a distinct area of the workflow, and the count avoids both excessive fragmentation and thin coverage.
The surface covers court hierarchy discovery, decision/case-law search, legislation search, citation verification, and full document retrieval, which is a solid legal research lifecycle. Minor gaps remain around direct retrieval by citation or more structured court metadata, but core workflows are supported.
Maintenance
Related MCP Connectors
Polish legal data for AI assistants: full-text search across 2.94M+ court rulings (common courts, Supreme Court, Constitutional Tribunal, KIO, NSA/WSA), statute text and version history from the official ELI register (164k+ acts), rulings citing a provision and citations between rulings, a citation verifier for case numbers, case-outcome and duration statistics, KIS tax interpretations, CJEU rulings applied in Poland, UODO decisions, KRS company lookup, court competence, official bank accounts and legal calculators. Works without an API key (daily limit).
Polish and EU law: statutes, rulings, UODO/UOKiK/KNF, EU regulations, citation checks. Free tier.
Semantic search over Polish law and case law, citing the exact in-force article.
Resolve, search and verify legal citations against the official sources, with provenance.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables read-only search and retrieval of Czech legislation and multi-tier court decisions, filtering by judicial instance, and verification of statutory and case-law citations against official registries.6MIT
- AlicenseAqualityBmaintenanceEnables read-only search and retrieval of Croatian legislation, multi-tier court decisions, and statutory or case-law citation verification through official legal registries.6MIT
- AlicenseAqualityBmaintenanceEnables read-only search and retrieval of Hungarian statutes, multi-tier court decisions, and statutory or case-law citation verification against official registries.6MIT
- AlicenseAqualityBmaintenanceEnables read-only access to national legislation, multi-tier court decisions, and citation verification against official registries, including full-text retrieval in Markdown.6MIT