Nalegalu MCP
Measured conclusion: Deep-tested. L2 outcome: tools_ok.
Semantic search over Polish law and case law, citing the exact in-force article.
| Author | io.github.nalegaluorg |
|---|---|
| Access | remote |
| Publisher key required | No |
| Measured state | Deep-tested |
| L1 liveness | alive |
| L1 latency | 552 ms |
| Last measured | 2026-10-26 |
Add to your agent
Copy this into your MCP client config:
{
"mcpServers": {
"Nalegalu MCP": {
"url": "https://mcp.nalegalu.org/mcp",
"transport": "streamable-http"
}
}
}
Measured tools (7)
search_lawread-onlySearch 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.
Parameters:
query(required) — stringlimit— integerdomainstatusaddressarticleact_typetop_cases— integercase_law_boost— numberretrieval_modecandidate_multiplier— integerinclude_non_in_force— boolean
Hints: read-only yes · destructive no · idempotent not declared · open-world no
get_articleread-onlyFetch 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.
Parameters:
address(required) — stringarticle_key(required) — stringparagraph_key
Hints: read-only yes · destructive no · idempotent not declared · open-world no
related_casesread-onlyList 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.
Parameters:
address(required) — stringarticle_key(required) — stringlimit— integerparagraph_key
Hints: read-only yes · destructive no · idempotent not declared · open-world no
research_casesread-onlyDiscover 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.
Parameters:
query(required) — stringrerank— booleancandidate_limit— integerprovision_limit— integercontext_max_chars— integerrerank_fetch_limit— integercase_text_max_chars— integercases_per_provision— integerrerank_result_limit— integer
Hints: read-only yes · destructive no · idempotent not declared · open-world yes
get_caseread-onlyFetch 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.
Parameters:
saos_id(required) — integeroffset— integermax_chars— integer
Hints: read-only yes · destructive no · idempotent not declared · open-world yes
search_case_by_signatureread-onlyVerify 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.
Parameters:
signature(required) — stringlimit— integercourt_type
Hints: read-only yes · destructive no · idempotent not declared · open-world yes
verify_quoteread-onlyCheck 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.
Parameters:
saos_id(required) — integerquote(required) — stringmin_similarity— number
Hints: read-only yes · destructive no · idempotent not declared · open-world yes
Measured by MCPYP probing. Untested fields are omitted, never estimated. Listing is always free; MCPYP never proxies calls or stores user tokens.