Koskamo

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.

Nalegalu MCP logo, by NalegaluVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by Nalegalu
MCP endpoint (Streamable HTTP)
https://mcp.nalegalu.org/mcp
Vendor documentation

What its tools do

7 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

7 of 7 have a description · 7 of 7 declare behavior hints · 0 of 7 with parameters document them all

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

Vendor evidenceRegistry 1.0.0CC0-1.0
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
Server-advertised capabilities
{
  "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.

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.

Tools

7 advertised

search_law
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

search_law input schema
{
  "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
    }
  }
}
search_law output schema
{
  "type": "object",
  "title": "search_lawDictOutput",
  "additionalProperties": true
}
search_law annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
get_article
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

get_article input schema
{
  "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
    }
  }
}
get_article output schema
{
  "type": "object",
  "title": "get_articleDictOutput",
  "additionalProperties": true
}
get_article annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
related_cases
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

related_cases input schema
{
  "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
    }
  }
}
related_cases output schema
{
  "type": "object",
  "title": "related_casesDictOutput",
  "additionalProperties": true
}
related_cases annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
research_cases
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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.

research_cases input schema
{
  "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
    }
  }
}
research_cases output schema
{
  "type": "object",
  "title": "research_casesDictOutput",
  "additionalProperties": true
}
research_cases annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "destructiveHint": false
}
get_case
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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.

get_case input schema
{
  "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
    }
  }
}
get_case output schema
{
  "type": "object",
  "title": "get_caseDictOutput",
  "additionalProperties": true
}
get_case annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "destructiveHint": false
}
search_case_by_signature
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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.

search_case_by_signature input schema
{
  "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
    }
  }
}
search_case_by_signature output schema
{
  "type": "object",
  "title": "search_case_by_signatureDictOutput",
  "additionalProperties": true
}
search_case_by_signature annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "destructiveHint": false
}
verify_quote
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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.

verify_quote input schema
{
  "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
    }
  }
}
verify_quote output schema
{
  "type": "object",
  "title": "verify_quoteDictOutput",
  "additionalProperties": true
}
verify_quote annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "destructiveHint": false
}

Prompts

0 advertised

No prompt definitions available.

Resources

0 advertised

No resource definitions available.

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.

100% (82 of 82 checks answered)

  1. 2026-11-02: 3 of 3 checks answered
  2. 2026-11-03: 4 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 4 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 5 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 3 of 3 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 3 of 3 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 2026-11-26: 4 of 4 checks answered
  24. 2026-11-27: 4 of 4 checks answered
  25. 2026-11-28: 3 of 3 checks answered
  26. 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.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http nalegalu-mcp https://mcp.nalegalu.org/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add nalegalu-mcp --url https://mcp.nalegalu.org/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable nalegalu-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "nalegalu-mcp": {
      "url": "https://mcp.nalegalu.org/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "nalegalu-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.nalegalu.org/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start nalegalu-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "nalegalu-mcp": {
      "type": "http",
      "url": "https://mcp.nalegalu.org/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http nalegalu-mcp https://mcp.nalegalu.org/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://mcp.nalegalu.org/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "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.

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.

Claim this listing