Nalegalu MCP
An official MCP server provided by Nalegalu that connects AI assistants to a semantic search engine for Polish law. It allows agents to find relevant legal provisions, retrieve exact article texts, and access related case law from the SAOS database, ensuring citations are grounded in in-force statutes.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://mcp.nalegalu.org/mcpWhat its tools do
7 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Endpoint and vendor documentation share a domain
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
- Popularity 17 GitHub stars
What you can do with it
- Find specific legal provisions based on problem descriptions
- Retrieve exact text of articles from Polish statutes
- Access related case law with validity assessments
- Generate citations with source links for legal documents
Source and maintenance
- Last repository push
- Latest release
- 2026.07.v7
- Maintenance checked
Protocol and capabilities
- Server
- nalegalu 1.2.4
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 7 advertised
- Resources
- 0 advertised
- Resource templates
- 0 advertised
- Prompts
- 0 advertised
{
"tools": {
"listChanged": false
},
"prompts": {
"listChanged": false
},
"resources": {
"subscribe": false,
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
7 advertised
search_law
Search current Polish statutes and return article-level hits. Start here for a natural-language legal issue or a direct citation. Use the user's own Polish wording, e.g. "kupiłem wadliwy towar od firmy jakie mam prawa". Do not add address, domain, article, act_type, or status filters unless the user explicitly supplied that restriction. Results are primary-source material, not legal advice.
{
"type": "object",
"title": "search_lawArguments",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 10
},
"query": {
"type": "string",
"title": "Query"
},
"domain": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Domain",
"default": null
},
"status": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Status",
"default": null
},
"address": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Address",
"default": null
},
"article": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Article",
"default": null
},
"act_type": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Act Type",
"default": null
},
"top_cases": {
"type": "integer",
"title": "Top Cases",
"default": 3
},
"case_law_boost": {
"type": "number",
"title": "Case Law Boost",
"default": 0
},
"retrieval_mode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Retrieval Mode",
"default": null
},
"candidate_multiplier": {
"type": "integer",
"title": "Candidate Multiplier",
"default": 4
},
"include_non_in_force": {
"type": "boolean",
"title": "Include Non In Force",
"default": false
}
}
}{
"type": "object",
"title": "search_lawDictOutput",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}get_article
Fetch the exact text of one article (or paragraph) of a Polish legal act. Use after search_law or another trusted source supplied the address and article key; never guess them. Deterministic lookup by act address (e.g. WDU19740240141) and article key (e.g. "133" or "Art. 133."). Optional paragraph_key (e.g. "1" or "§ 1.") narrows the result to a single paragraph.
{
"type": "object",
"title": "get_articleArguments",
"required": [
"address",
"article_key"
],
"properties": {
"address": {
"type": "string",
"title": "Address"
},
"article_key": {
"type": "string",
"title": "Article Key"
},
"paragraph_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Paragraph Key",
"default": null
}
}
}{
"type": "object",
"title": "get_articleDictOutput",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}related_cases
List SAOS cases related to one statutory provision. Use after identifying a relevant provision. A related-case link is not proof of a legal rule: inspect the judgment with get_case before asserting its holding. Deterministic lookup by act address (e.g. WDU19740240141) and article key. Returns case number, court, date, relevance score when available, and a SAOS link per case; scored cases sort first. Newer data also carries citation context per case: mentions (how many times the article appears in the judgment text), mention_match ("exact" = found with a matching act marker; "ambiguous" = bare mention, possibly another act's article — discount it), and context (snippet around the mention). mentions=0 or a missing context means the link comes from SAOS metadata but the text scan could not confirm it — treat relevance as unverified rather than assuming the case is on point. If count is zero, it means this local provision-to-case link dataset has no rows; it is not an exhaustive SAOS or case-law search. sources counts matching local rows before cross-source deduplication and the display limit; read sources_note before interpreting them.
{
"type": "object",
"title": "related_casesArguments",
"required": [
"address",
"article_key"
],
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 10
},
"address": {
"type": "string",
"title": "Address"
},
"article_key": {
"type": "string",
"title": "Article Key"
},
"paragraph_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Paragraph Key",
"default": null
}
}
}{
"type": "object",
"title": "related_casesDictOutput",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}research_cases
Discover related-case candidates for a natural-language legal issue. This tool first searches statutes, then follows local provision-to-case links for several distinct provisions and deduplicates by SAOS ID. ``rerank=false`` is the inexpensive deterministic discovery stage. With ``rerank=true``, it fetches at most ``rerank_fetch_limit`` public SAOS excerpts and reranks them only when the server has explicitly configured a Cohere reranker. It never decides a holding: call ``get_case`` for every judgment used in an answer.
{
"type": "object",
"title": "research_casesArguments",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"title": "Query"
},
"rerank": {
"type": "boolean",
"title": "Rerank",
"default": false
},
"candidate_limit": {
"type": "integer",
"title": "Candidate Limit",
"default": 40
},
"provision_limit": {
"type": "integer",
"title": "Provision Limit",
"default": 5
},
"context_max_chars": {
"type": "integer",
"title": "Context Max Chars",
"default": 450
},
"rerank_fetch_limit": {
"type": "integer",
"title": "Rerank Fetch Limit",
"default": 75
},
"case_text_max_chars": {
"type": "integer",
"title": "Case Text Max Chars",
"default": 6000
},
"cases_per_provision": {
"type": "integer",
"title": "Cases Per Provision",
"default": 80
},
"rerank_result_limit": {
"type": "integer",
"title": "Rerank Result Limit",
"default": 10
}
}
}{
"type": "object",
"title": "research_casesDictOutput",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}get_case
Fetch one SAOS court judgment (metadata + bounded text excerpt). Use only with a saos_id returned by related_cases, research_cases, or search_case_by_signature. Long judgments are paged: when has_more is true, call again with offset=next_offset. If the response has ok=false with a fallback hint, SAOS is unavailable or rate-limited — fetch the returned saos_url yourself with your own web tools instead of retrying this tool.
{
"type": "object",
"title": "get_caseArguments",
"required": [
"saos_id"
],
"properties": {
"offset": {
"type": "integer",
"title": "Offset",
"default": 0
},
"saos_id": {
"type": "integer",
"title": "Saos Id"
},
"max_chars": {
"type": "integer",
"title": "Max Chars",
"default": 6000
}
}
}{
"type": "object",
"title": "get_caseDictOutput",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}search_case_by_signature
Verify a cited case signature (sygnatura), e.g. "II CSK 448/14". Use before relying on a judgment cited by a user or another agent. Answers from a local index of all SAOS judgments first; only on a local miss does it query live SAOS. Read the verdict field: "confirmed" (matches listed with saos_id, court, date, type — different courts reuse signatures, so check the court), "not_found" (strong evidence the citation is fabricated or wrong), "outside_coverage" (administrative courts NSA/WSA are not in SAOS — verify in CBOSA instead), "unverified" (local miss and SAOS unreachable; do not treat as nonexistent). Optional court_type: COMMON, SUPREME, CONSTITUTIONAL_TRIBUNAL, NATIONAL_APPEAL_CHAMBER. has_text=false on a match means SAOS stores no text for it, so verify_quote cannot check quotes against that judgment.
{
"type": "object",
"title": "search_case_by_signatureArguments",
"required": [
"signature"
],
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 10
},
"signature": {
"type": "string",
"title": "Signature"
},
"court_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Court Type",
"default": null
}
}
}{
"type": "object",
"title": "search_case_by_signatureDictOutput",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}verify_quote
Check whether a supplied quote appears in a SAOS judgment. Use only after resolving the judgment to a saos_id. This validates wording, not whether the quote supports a legal conclusion. Pass the saos_id (from search_case_by_signature or related_cases) and the fragment as quoted. One call replaces paging through the full text: verdict is "exact" (verbatim after normalizing whitespace, quote marks and dashes), "near_match" (best passage plus similarity score — compare it against the claim), or "not_found" (treat the quote as fabricated or misattributed). If ok=false with a fallback hint, fetch saos_url with your own web tools instead of retrying.
{
"type": "object",
"title": "verify_quoteArguments",
"required": [
"saos_id",
"quote"
],
"properties": {
"quote": {
"type": "string",
"title": "Quote"
},
"saos_id": {
"type": "integer",
"title": "Saos Id"
},
"min_similarity": {
"type": "number",
"title": "Min Similarity",
"default": 0.75
}
}
}{
"type": "object",
"title": "verify_quoteDictOutput",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}Prompts
0 advertised
Resources
0 advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 4 of 4 checks answered
- 2026-11-28: 3 of 3 checks answered
- 2026-11-29: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 2400 ms
- 95th percentile latency
- 2603 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 2625 ms · metadata changed · 7 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
- · probe · passed · 2175 ms · metadata changed · 7 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s); docs page returned http 503
- · repository · passed · updated
- · repository · passed · metadata changed · unchanged
- · repository · passed · metadata changed · updated
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http nalegalu-mcp https://mcp.nalegalu.org/mcpCodex
codex mcp add nalegalu-mcp --url https://mcp.nalegalu.org/mcpCursor
{
"mcpServers": {
"nalegalu-mcp": {
"url": "https://mcp.nalegalu.org/mcp"
}
}
}Cline
{
"mcpServers": {
"nalegalu-mcp": {
"type": "streamableHttp",
"url": "https://mcp.nalegalu.org/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"nalegalu-mcp": {
"type": "http",
"url": "https://mcp.nalegalu.org/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http nalegalu-mcp https://mcp.nalegalu.org/mcpClaude Desktop
https://mcp.nalegalu.org/mcpWindsurf
{
"mcpServers": {
"nalegalu-mcp": {
"serverUrl": "https://mcp.nalegalu.org/mcp"
}
}
}Let your agent find its tools
Find servers like Nalegalu MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other documentation and reference servers
Do you run Nalegalu MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.