Skip to main content
Glama
PawelHaracz

polish-caselaw-mcp

by PawelHaracz

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SAOS_TIMEOUT_MSNoHTTP timeout per SAOS request in milliseconds. /search/judgments regularly takes 20-35s under load, so short timeouts abort requests that would have succeeded.45000
SAOS_RETRY_BACKOFF_MSNoDelay before the single retry in milliseconds, so a slow upstream is not hit again immediately.500

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_case_lawA

Search Polish court judgments (orzecznictwo) live from the SAOS API (saos.org.pl). Returns matching judgments with snippets (>>> <<< around matches), court, case number, and date. Use get_judgment to fetch the full text of a result. Data is sourced live from SAOS, separate from statutory law. Not legal advice; verify against official court portals.

get_judgmentA

Fetch the full text and metadata of a single Polish court judgment by its SAOS id (use the id returned by search_case_law). Includes full text, judges, decision, summary, legal bases, and referenced_regulations mapped to ELI ids (pl-du-YYYY-NNN) plus articles_refs in the artNNNparN scheme. Live from SAOS; not legal advice.

find_judgments_for_provisionA

Find Polish judgments that cite a given statutory provision. Provide either document_id (pl-du-YYYY-NNN, e.g. pl-du-1997-553 for the Criminal Code) or journal_year + journal_entry, optionally an article (e.g. "art. 267") and title_hint to sharpen the text search. Each result has confirmed_reference=true when the full judgment actually cites the provision (verified via referenced regulations), false when it is only a text match. Live from SAOS; not legal advice.

check_constitutional_status

Find Polish Constitutional Tribunal (TK) judgments that cite a given statutory provision. Provide document_id (pl-du-YYYY-NNN) or journal_year + journal_entry, optionally an article and title_hint. Returns TK judgments with confirmed_reference (verified via referenced regulations). IMPORTANT: a citing TK judgment does NOT by itself mean the provision was struck down — read the operative part. Live from SAOS; not legal advice.

list_courtsA

List the Polish court types available for the court_type filter in search_case_law.

caselaw_aboutA

Case-law server metadata, provenance, and freshness (live SAOS). Call to understand coverage and basis before relying on results.

caselaw_list_sourcesA

Provenance and legal-basis metadata for the case-law source (SAOS). Call FIRST to understand what this case-law server covers.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PawelHaracz/polish-caselaw-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server