Skip to main content
ClaudeWave

MCP server for Polish legislation (Dziennik Ustaw + Monitor Polski) via Sejm ELI API. 96k+ acts since 1918.

MCP ServersRegistry oficial0 estrellas1 forksJavaScriptMITActualizado today
Install in Claude Code / Claude Desktop
Method: NPX · @matematicsolutions/mcp-isap
Claude Code CLI
claude mcp add mcp-isap -- npx -y @matematicsolutions/mcp-isap
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "mcp-isap": {
      "command": "npx",
      "args": ["-y", "@matematicsolutions/mcp-isap"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Casos de uso

Resumen de MCP Servers

# mcp-isap

## Installation (one command)

Published on npm + MCP Registry (`io.github.matematicsolutions/mcp-isap`). Run without cloning:

```bash
npx -y @matematicsolutions/mcp-isap
```

MCP client configuration (stdio):

```json
{ "mcpServers": { "mcp-isap": { "command": "npx", "args": ["-y", "@matematicsolutions/mcp-isap"] } } }
```

(Building from source - below.)

[![MCP](https://img.shields.io/badge/MCP-Server-blue)](https://modelcontextprotocol.io) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE) [![Node](https://img.shields.io/badge/Node-18%2B-brightgreen)](https://nodejs.org)

MCP server for **Polish legislation** - Dziennik Ustaw (Journal of Laws, DU) + Monitor Polski (MP)
via the official **Sejm ELI API** (`api.sejm.gov.pl/eli`).

## Why

`mcp-saos` (general courts) + `mcp-nsa` (administrative) + `mcp-eu-sparql` (EU)
cover the case-law side. **`mcp-isap` adds legislation** - statutes, regulations,
official announcements, international agreements. This closes the triad:

```
STATUTE + CASE LAW + EU LAW
   ↓         ↓          ↓
  ISAP    SAOS+NSA   EUR-Lex
   ↓         ↓          ↓
        law firm asks about GDPR
        → 4 connectors in parallel
        → 4 citation sections in the panel
```

Coverage: **96,000+ acts** from 1918 to today. Full ELI support
(European Legislation Identifier).

## Tools

- **`search_acts(title?, year?, publisher?, type?, in_force?, limit?)`** -
  search by title fragment / year / publisher / act type /
  in-force status. `publisher`: `DU` (Dziennik Ustaw) or `MP`
  (Monitor Polski).
- **`get_act(eli)`** - act details by ELI (`DU/2018/1000`).
  Returns title, type, status, entry into force, keywords,
  links to HTML/PDF text and the ISAP page.
- **`get_act_text(eli)`** - first 5000 characters of the act's plain text
  (no HTML tags) + link to the full HTML/PDF version.

Every response includes `structuredContent.citations` with fields:
`title`, `url` (ISAP UI), `eli`, `display_address` (`Dz.U. 2018 poz. 1000`),
`publisher`, `year`, `document_type`, `status`, `in_force`, `promulgation`.

Patron reads this field automatically and renders it in the UI panel as the section
**"Polish legal acts (Dz.U. / M.P. - Sejm ELI)"**.

## Stack

- Node 18+ (built-in `fetch`)
- `@modelcontextprotocol/sdk`
- Stdio transport
- 500 ms throttle between requests (2 req/s)
- No scraping - pure REST JSON API

## Build + run

```bash
npm install
npm run build
node dist/index.js
```

## Wiring into Patron

In `patron/backend/mcp-servers.json`:

```json
{
  "name": "isap",
  "transport": "stdio",
  "command": "node",
  "args": ["C:/Users/<YOUR-USER>/mcp-isap/dist/index.js"],
  "enabled": true
}
```

## Smoke test

```bash
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"s","version":"0"}}}
{"jsonrpc":"2.0","method":"notifications/initialized"}
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_act","arguments":{"eli":"DU/2018/1000"}}}' \
  | node dist/index.js
```

Should return the Personal Data Protection Act of 10 May 2018,
status `IN_FORCE`, a link to ISAP and a structured citation.

## Lineage

API contract derived from [`legal-data-hunter/sources/PL/DziennikUrzedowy`](https://github.com/worldwidelaw/legal-sources)
(Python + REST, MIT). TS implementation from scratch - no source code imported.

## License

MIT.

## Part of the MateMatic legal stack

This server is one of five MCP connectors covering Polish jurisdiction +
EU law, used by [Patron](https://github.com/matematicsolutions/patron)
(AGPL-3.0) and any other MCP-aware legal AI agent.

- **mcp-isap** (this repo) - Polish legislation (Dz.U. + M.P. via Sejm ELI)
- [mcp-saos](https://github.com/matematicsolutions/mcp-saos) - common courts, SN, TK, KIO
- [mcp-nsa](https://github.com/matematicsolutions/mcp-nsa) - NSA + 16 WSA administrative courts
- [mcp-krs](https://github.com/matematicsolutions/mcp-krs) - Polish company registry (KRS)
- [mcp-eu-sparql](https://github.com/matematicsolutions/mcp-eu-sparql) - EU law + CJEU (EUR-Lex)


All five MCP servers share the same `structuredContent.citations`
contract: each tool returns an array of `{title, url, snippet?, ...metadata}`
that legal agents can render directly in their citation panel.

See [matematicsolutions/.github](https://github.com/matematicsolutions)
for the full org profile.
ai-agenteliisaplegallegal-techlegaltechlegislationmcpmcp-servermodel-context-protocolpolandpolish-lawsejm

Lo que la gente pregunta sobre mcp-isap

¿Qué es matematicsolutions/mcp-isap?

+

matematicsolutions/mcp-isap es mcp servers para el ecosistema de Claude AI. MCP server for Polish legislation (Dziennik Ustaw + Monitor Polski) via Sejm ELI API. 96k+ acts since 1918. Tiene 0 estrellas en GitHub y se actualizó por última vez today.

¿Cómo se instala mcp-isap?

+

Puedes instalar mcp-isap clonando el repositorio (https://github.com/matematicsolutions/mcp-isap) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar matematicsolutions/mcp-isap?

+

matematicsolutions/mcp-isap aún no ha sido auditado por nuestro agente de seguridad. Revisa el repositorio original en GitHub antes de usarlo en producción.

¿Quién mantiene matematicsolutions/mcp-isap?

+

matematicsolutions/mcp-isap es mantenido por matematicsolutions. La última actividad registrada en GitHub es de today, con 4 issues abiertos.

¿Hay alternativas a mcp-isap?

+

Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.

Despliega mcp-isap en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Añade un badge a tu README

Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.

Featured on ClaudeWave: matematicsolutions/mcp-isap
[![Featured on ClaudeWave](https://claudewave.com/api/badge/matematicsolutions-mcp-isap)](https://claudewave.com/repo/matematicsolutions-mcp-isap)
<a href="https://claudewave.com/repo/matematicsolutions-mcp-isap"><img src="https://claudewave.com/api/badge/matematicsolutions-mcp-isap" alt="Featured on ClaudeWave: matematicsolutions/mcp-isap" width="320" height="64" /></a>

Más MCP Servers

Alternativas a mcp-isap