Nalegalu MCP is an MCP server published by io.github.nalegaluorg, hosted at mcp.nalegalu.org. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 7 tools, including search_law, get_article, related_cases, research_cases, get_case.
Semantic search over Polish law and case law, citing the exact in-force article.
2 connections through 5 shared values. Tap any node.
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| query * | string | |
| domain | any | |
| status | any | |
| address | any | |
| article | any |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| act_type | any |
| top_cases | integer |
| case_law_boost | number |
| retrieval_mode | any |
| candidate_multiplier | integer |
| include_non_in_force | boolean |
{
"name": "search_law",
"description": "Search current Polish statutes and return article-level hits.\n\n Start here for a natural-language legal issue or a direct citation.\n Use the user's own Polish wording, e.g. \"kupiłem wadliwy towar od\n firmy jakie mam prawa\". Do not add address, domain, article, act_type,\n or status filters unless the user explicitly supplied that restriction.\n Results are primary-source material, not legal advice.\n ",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"type": "object",
"title": "search_lawDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| address * | string | |
| article_key * | string | |
| paragraph_key | any |
{
"name": "get_article",
"description": "Fetch the exact text of one article (or paragraph) of a Polish legal act.\n\n Use after search_law or another trusted source supplied the address and\n article key; never guess them. Deterministic lookup by act address\n (e.g. WDU19740240141) and article\n key (e.g. \"133\" or \"Art. 133.\"). Optional paragraph_key (e.g. \"1\" or\n \"§ 1.\") narrows the result to a single paragraph.\n ",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"type": "object",
"title": "get_articleDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| address * | string | |
| article_key * | string | |
| paragraph_key | any |
{
"name": "related_cases",
"description": "List SAOS cases related to one statutory provision.\n\n Use after identifying a relevant provision. A related-case link is not\n proof of a legal rule: inspect the judgment with get_case before\n asserting its holding. Deterministic lookup by act address\n (e.g. WDU19740240141) and article\n key. Returns case number, court, date, relevance score when available,\n and a SAOS link per case; scored cases sort first. Newer data also\n carries citation context per case: mentions (how many times the\n article appears in the judgment text), mention_match (\"exact\" =\n found with a matching act marker; \"ambiguous\" = bare mention,\n possibly another act's article — discount it), and context (snippet\n around the mention). mentions=0 or a missing context means the link\n comes from SAOS metadata but the text scan could not confirm it —\n treat relevance as unverified rather than assuming the case is on\n point. If count is zero, it means this local provision-to-case link\n dataset has no rows; it is not an exhaustive SAOS or case-law search.\n sources counts matching local rows before cross-source deduplication\n and the display limit; read sources_note before interpreting them.\n ",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"type": "object",
"title": "related_casesDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| query * | string | |
| rerank | boolean | |
| candidate_limit | integer | |
| provision_limit | integer | |
| context_max_chars | integer | |
| rerank_fetch_limit | integer | |
| case_text_max_chars | integer | |
| cases_per_provision | integer | |
| rerank_result_limit | integer |
{
"name": "research_cases",
"description": "Discover related-case candidates for a natural-language legal issue.\n\n This tool first searches statutes, then follows local provision-to-case\n links for several distinct provisions and deduplicates by SAOS ID.\n ``rerank=false`` is the inexpensive deterministic discovery stage.\n With ``rerank=true``, it fetches at most ``rerank_fetch_limit`` public\n SAOS excerpts and reranks them only when the server has explicitly\n configured a Cohere reranker. It never decides a holding: call\n ``get_case`` for every judgment used in an answer.\n ",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"type": "object",
"title": "research_casesDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| offset | integer | |
| saos_id * | integer | |
| max_chars | integer |
{
"name": "get_case",
"description": "Fetch one SAOS court judgment (metadata + bounded text excerpt).\n\n Use only with a saos_id returned by related_cases, research_cases, or\n search_case_by_signature. Long judgments\n are paged: when has_more is true, call again with offset=next_offset.\n If the response has ok=false with a fallback hint, SAOS is unavailable\n or rate-limited — fetch the returned saos_url yourself with your own\n web tools instead of retrying this tool.\n ",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"type": "object",
"title": "get_caseDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| signature * | string | |
| court_type | any |
{
"name": "search_case_by_signature",
"description": "Verify a cited case signature (sygnatura), e.g. \"II CSK 448/14\".\n\n Use before relying on a judgment cited by a user or another agent.\n Answers from a local index of all SAOS judgments first; only on a\n local miss does it query live SAOS. Read the verdict field:\n \"confirmed\" (matches listed with saos_id, court, date, type —\n different courts reuse signatures, so check the court), \"not_found\"\n (strong evidence the citation is fabricated or wrong),\n \"outside_coverage\" (administrative courts NSA/WSA are not in SAOS —\n verify in CBOSA instead), \"unverified\" (local miss and SAOS\n unreachable; do not treat as nonexistent). Optional court_type:\n COMMON, SUPREME, CONSTITUTIONAL_TRIBUNAL, NATIONAL_APPEAL_CHAMBER.\n has_text=false on a match means SAOS stores no text for it, so\n verify_quote cannot check quotes against that judgment.\n ",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"type": "object",
"title": "search_case_by_signatureDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| quote * | string | |
| saos_id * | integer | |
| min_similarity | number |
{
"name": "verify_quote",
"description": "Check whether a supplied quote appears in a SAOS judgment.\n\n Use only after resolving the judgment to a saos_id. This validates\n wording, not whether the quote supports a legal conclusion. Pass the\n saos_id (from search_case_by_signature or related_cases) and\n the fragment as quoted. One call replaces paging through the full\n text: verdict is \"exact\" (verbatim after normalizing whitespace,\n quote marks and dashes), \"near_match\" (best passage plus similarity\n score — compare it against the claim), or \"not_found\" (treat the\n quote as fabricated or misattributed). If ok=false with a fallback\n hint, fetch saos_url with your own web tools instead of retrying.\n ",
"inputSchema": {
"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
}
}
},
"outputSchema": {
"type": "object",
"title": "verify_quoteDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}When referring to this source in user-facing text, write its name exactly as "nalegalu" (all lowercase, no space). Use search_law first for a Polish legal issue or statutory citation. Use get_article only after obtaining an address and article key and needing exact wording. Use related_cases only when case-law context materially helps; inspect a judgment with get_case before stating its holding. For a cited judgment, use search_case_by_signature before relying on it; use verify_quote only to check supplied wording, not legal meaning. Use research_cases for a fact pattern that needs related-case candidates across several provisions. With rerank=true it fetches a bounded SAOS text pool and applies the explicitly configured cross-encoder; this is still unverified relevance ranking, so inspect selected judgments with get_case before stating a holding. If related_cases or research_cases returns no candidates, state only that nalegalu has no local provision-to-case links for the checked provisions. Never state or imply that SAOS or Polish case law has no relevant judgments unless a separate exhaustive source search establishes that fact. For requests solely to send messages, file court documents, permanently store private client records, or present invented authority as authentic, explain the unsupported scope without calling legal research or verification tools. Never present invented citations or quotations as verified sources. Any illustrative fiction must be clearly labeled as fictional. Only claim source retrieval or verification when a successful tool response supports that claim. Cite only identifiers and links returned by the tools. The sources counts in related_cases describe matching local source rows before cross-source deduplication and the display limit, not corpus-wide totals or an exhaustive judgment count. Do not include those diagnostic counts unless the user asks. Cite returned primary sources and distinguish source retrieval from legal advice.
Names, descriptions and schemas were written by the server and are shown as data.