PrawMi
Polish law for AI agents: search current statute texts (ISAP), court rulings, and verify legal citations.
What it can do
- Search Rulings: Search Polish court rulings (SN, SA, SO, NSA, WSA) semantically or by case number. Use this to find precedents or verify that a cited court case exists. Returns up to `limit` rulings w
- Verify Ruling: Verify a Polish court case signature against PrawMi's DB AND public external sources (SAOS, NSA, SN) as fallback. Returns a structured `verdict`: 'verified' (signature confirmed in some
- Get Article: Retrieve the authoritative text of a specific article from a Polish statute or code. `act_shortname` accepts common abbreviations (KC, KPC, KK, KSH, KPA, KRO) or a full act title or an IS
What data it sees
Do you need an account
No: the server works without sign-in
Polish law for AI agents: search current statute texts (ISAP), court rulings, and verify legal citations. 8 read-only tools. In a published benchmark (n=10 per question), a frontier model scored 27/40 on verifiable Polish-law questions with web search alone and 40/40 with these tools. Free tier: 100 calls/day. Paid plans from 49 PLN/mo (up to 10,000 calls/day), prepaid credit packs, and x402 pay-per-call (0.03 USDC on Base) for fully autonomous agents - no account or card needed. Docs: https://prawmi.pl/mcp-prawo
How to connect
How to connect PrawMi to Claude
The server address to paste into Claude settings:
https://prawmi--obywateltb.run.tools
- Open Claude (claude.ai or the desktop app).
- Go to Settings → Connectors.
- Click Add custom connector.
- Paste the server address copied below into Remote MCP server URL and click Add.
- In a chat, click + → Connectors and switch the new connector on.
Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.
Authorization
After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.
How to connect PrawMi to ChatGPT
The server address to paste into ChatGPT settings:
https://prawmi--obywateltb.run.tools
- Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
- Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
- Open Settings → Connectors and click Create.
- Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
- Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
- In a new chat open + → Apps/Connectors and enable the connector.
OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.
Authorization
On first use ChatGPT opens the service's sign-in window. Sign in and approve access.
How to connect PrawMi to Cursor
The server address to paste into Cursor settings:
https://prawmi--obywateltb.run.tools
Fastest: click Open in Cursor below and confirm the prompt.
Manually:
- In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
- Paste the JSON copied below into
~/.cursor/mcp.json(per project:.cursor/mcp.jsonin the repo root). - Save the file. The server appears in the MCP list; authorize it there if asked.
Authorization
If the service needs sign-in, an authorize button appears next to the server in the MCP list.
Server tool list (8)
Raw names from tools/list. Only developers need these.
| search_rulings | Search Polish court rulings (SN, SA, SO, NSA, WSA) semantically or by case number. Use this to find precedents or verify that a cited court case exists. Returns up to `limit` rulings with case number, court, date, link, and a text excerpt. |
| verify_ruling | Verify a Polish court case signature against PrawMi's DB AND public external sources (SAOS, NSA, SN) as fallback. Returns a structured `verdict`: 'verified' (signature confirmed in some source), 'not_found_anywhere' (all sources answered cleanly with no match — strong signal of non-existence, not absolute), 'uncertain' (at least one external source errored: timeout, rate-limit, block — cannot rule it out), or 'invalid_signature' (the input clearly is not a Polish court signature). Also returns `checked_sources` listing what was tried and the per-source status (hit / miss / error / skipped). IMPORTANT: a 'not_found_anywhere' verdict is a strong negative but NOT a guarantee — Trybunał Konstytucyjny is not checked, and very old or low-court rulings may not be indexed by any public source. An 'uncertain' verdict means we genuinely could not check — never treat it as either confirmation or denial. |
| get_article | Retrieve the authoritative text of a specific article from a Polish statute or code. `act_shortname` accepts common abbreviations (KC, KPC, KK, KSH, KPA, KRO) or a full act title or an ISAP unified URL. CRITICAL — read the WHOLE article, not just ust. 1. The response includes a `clauses` array, one entry per ustęp (some with nested punkty/litery). When the question asks for a specific number (limit, próg, kwota, termin, %), the answer is OFTEN NOT in ust. 1. Example: art. 148 PZP — ust. 1 says 'zamawiający może ograniczyć liczbę wykonawców', but the actual minimum (=3) is in ust. 2: 'liczba ta nie może być mniejsza niż 3'. Mismatching ust. 1 vs ust. 2/3 is the most common failure mode. Scan every clause for max/min/przeliczany/co najmniej/nie mniej wording before committing to an answer. |
| get_ruling_text | Retrieve the full text of a Polish court ruling by its link/ID. Use this after search_rulings to read the complete content of a specific ruling. The `ruling_link` parameter corresponds to the `link` field returned by search_rulings. Returns plain text. |
| search_acts | Search Polish statutes and codes by topic. Use this to find the correct statute before citing specific articles — prevents hallucinating wrong act names. Returns act titles, shortnames (KC, KPC, KK...), and unified URLs. |
| search_rulings_by_article | Find court rulings that cite a specific article of a Polish statute. Use this to verify that a legal interpretation is backed by case law — prevents hallucinating court positions. Provide the act shortname (KC, KPC...) and article number. |
| search_act_articles | Search for relevant articles within a Polish statute by topic. Use when you know which act to look in but need to find the right article numbers. PREFERRED: pass act_unified (ISAP URL from search_acts) for the fast path. Otherwise pass act_title and the tool will auto-resolve the URL. |
| verify_article_reference | Extract every article reference (e.g. 'art. 415 KC') and every court case signature from a text fragment and check that each one exists in PrawMi's collection. Use this to audit an LLM-generated legal text for hallucinated citations in a single call. |