apiotrowski-afk

Legal Cite Pl — Development skill for Claude Code

Development community

Legal Cite PL — MCP server weryfikujący aktualne brzmienie przepisu PL/UE prosto ze źródła (Sejm ELI, EUR-Lex).

How to install Legal Cite Pl

This entry records only its repository, not the path inside it, so there is no exact command to give. Open apiotrowski-afk/legal-cite-pl and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Legal Cite Pl does

Legal Cite PL — MCP server weryfikujący aktualne brzmienie przepisu PL/UE prosto ze źródła (Sejm ELI, EUR-Lex). Anti-halucynacja dla Claude. Apache 2.0.

Alternatives in Development

  • Mempalace Init — Set up MemPalace — install the package, initialize a palace, register the MCP server with Cursor, and verify e 58.6k ★
  • Claude Context Mode — An MCP server that sits between Claude Code and these outputs 5.3k ★
  • Google Ads Meta Ads MCP — Google Ads MCP server + Meta Ads MCP (Facebook Ads MCP) + GA4 + Search Console in one hosted remote MCP for Cl 3.2k ★

README

legal-cite

**Legal citation verifier (PL / EU law) — an MCP server that fetches the exact, in-force wording of a cited article straight from the official source.** An anti-hallucination tool for Claude (and any MCP client): instead of trusting the model's memory of a statute, it returns the verbatim text of the cited article from the official register.

**Weryfikator cytatów prawnych (prawo PL / UE) — serwer MCP pobierający dokładne, aktualne brzmienie cytowanego artykułu prosto z oficjalnego źródła.** Narzędzie anti-halucynacyjne dla Claude (i dowolnego klienta MCP).

  • 🇵🇱 PL law — api.sejm.gov.pl (ELI). Returns the consolidated text (tekst jednolity, currently in force), not the original as-promulgated version.
  • 🇪🇺 EU law — EUR-Lex (Polish text). Note: EUR-Lex sometimes serves a bot-challenge (HTTP 202) → returns an error instead of text.

Returns **only the cited article** (not the whole act). The quote comes straight from the source.


English

Tools

  • verify_article("art. 45 u.k.k.") — the wording of a provision. Format: art. N [ust. M] CODE. Handles letter suffixes (art. 36a), § as a unit (art. 58 § 2 KC), superscripts (art. 385¹ / 385[1]).
  • list_acts() — list of supported act codes (PL + EU).

Run locally (stdio — Claude Desktop / Claude Code)

pip install -e .
legal-cite          # stdio

`claude_desktop_config.json`:

{ "mcpServers": { "legal-cite": { "command": "legal-cite" } } }

Deploy to Cloud Run (streamable-http — one shared URL)

gcloud run deploy legal-cite \
  --source=. \
  --region=europe-west4 \
  --allow-unauthenticated \
  --memory=256Mi --cpu=1 --max-instances=2 --port=8080

Public, no-auth is safe here — the service serves **only public legal texts** (no data, no database, no LLM calls).

Connect in Claude: **Connectors → Add custom connector** → `https://.run.app/mcp` (`streamable-http` mounts MCP at `/mcp`).

Add a new act

Add an