polish-caselaw-mcp
Click on "Install 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., "@polish-caselaw-mcpsearch judgments for art21par2 in Supreme Court"
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.
Polish Case Law MCP (polish-caselaw-mcp)
An MCP server exposing Polish court case law (orzecznictwo) live from the SAOS API. It has no local database — every tool call queries SAOS at request time.
The response envelope and the artNNNparN article-reference scheme mirror
polish-law-mcp (Polish statutes from ISAP), so a client can compose both
servers and follow a judgment straight to the provision it cites. This is an
independent implementation that shares those conventions for interoperability;
it is not derived from that server's code.
Tools
search_case_law— search judgments (query, court type, dates, sort, limit)get_judgment— full judgment by SAOS id (text, judges, referenced regulations as ELI ids + article refs)find_judgments_for_provision— judgments citing a statute provision (pl-du-YYYY-NNN), verified against referenced regulationscheck_constitutional_status— Constitutional Tribunal (TK) judgments citing a provision (does NOT assert the provision was struck down — read the operative part)list_courts— court types for filteringcaselaw_about/caselaw_list_sources— provenance and legal basis (prefixed to avoid name clashes with sibling MCP servers in a gateway)
All tools return { results, _metadata } (ToolResponse). get_judgment exposes
referenced_regulations[].articles_refs for cross-server linking.
Related MCP server: swiss-courts-mcp
Run
npm install
npm run build
npm start # stdio MCP serverInstall
The server speaks MCP over stdio. Pick whichever setup matches your client.
Docker MCP Gateway
mcp-gateway-server.yaml already points at the published image, so no build is
needed:
docker mcp profile server add default --server file://"$PWD/mcp-gateway-server.yaml"To run your own build instead, set image: in that file to a local tag and
build it first:
docker build -t polish-caselaw-mcp:local .The gateway's --block-network flag cuts SAOS off; tools then return a clear
network error rather than hanging.
Standalone — Docker
Any MCP client that launches a stdio command can run the image directly.
--rm -i matters: the server talks over stdin/stdout and should not outlive
the client.
{
"mcpServers": {
"polish-caselaw": {
"command": "docker",
"args": ["run", "--rm", "-i", "ghcr.io/pawelharacz/polish-caselaw-mcp:latest"]
}
}
}Pass configuration through with -e:
"args": ["run", "--rm", "-i", "-e", "SAOS_TIMEOUT_MS=60000",
"ghcr.io/pawelharacz/polish-caselaw-mcp:latest"]Standalone — Node
Without Docker, point the client at the built entrypoint:
{
"mcpServers": {
"polish-caselaw": {
"command": "node",
"args": ["/absolute/path/to/polish-caselaw-mcp/dist/index.js"],
"env": { "SAOS_TIMEOUT_MS": "60000" }
}
}
}Run npm install && npm run build first — dist/ is not committed.
Claude Code
claude mcp add polish-caselaw -- docker run --rm -i ghcr.io/pawelharacz/polish-caselaw-mcp:latestVerify with /mcp, then call caselaw_about — it returns provenance without
touching SAOS, so it confirms the server is wired up even if the API is slow.
Configuration
Variable | Default | Purpose |
|
| HTTP timeout per SAOS request. |
|
| Delay before the single retry, so a slow upstream is not hit again immediately. |
Legal
Court decisions are not statutes. See sources.yml for the legal basis.
Research tool, not legal advice — verify against official court portals.
License
Apache-2.0
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides access to Polish court judgments from the SAOS database. Enables search and retrieval of judgments with full-text search, filtering, and detailed case information.Last updated3201Apache 2.0
- AlicenseAqualityAmaintenanceMCP server for searching Swiss court decisions from federal and cantonal courts via entscheidsuche.ch. Enables full-text search, law reference lookup, and filtering by canton, court level, and date without API keys.Last updated81MIT
- AlicenseAqualityAmaintenanceMCP server for Polish administrative case-law (NSA + regional administrative courts, CBOSA) with ECLI and verifiable citations.Last updated3236MIT
- AlicenseAqualityAmaintenanceMCP server for Polish case-law (SAOS) — Supreme Court, Constitutional Tribunal, common courts and KIO — with ECLI and verifiable citations.Last updated3672MIT
Related MCP Connectors
MCP for CourtListener: US federal and state opinions, dockets, judges, plus eCFR regulations.
Japan Law MCP — Japanese national laws & ordinances via the e-Gov Law API.
CourtListener MCP — Free Law Project's CourtListener API (free, no auth required for basic access)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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