MCP Isap logo

MCP Isap

Query Polish legislation from Dziennik Ustaw and Monitor Polski through the Sejm ELI API.

Install MCP Isap

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-isap": {
      "command": "npx",
      "args": [
        "-y",
        "@matematicsolutions/mcp-isap"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

The mcp-isap MCP server connects AI clients to Poland’s official Sejm ELI API for Dziennik Ustaw and Monitor Polski legislation. It provides tools to search acts, retrieve metadata, and read paginated or targeted text passages using ELI identifiers. Responses include structured legal citations, links, publication details, status, and in-force information. Reach for it when an agent needs current or historical Polish statutes, regulations, announcements, or international agreements rather than court decisions.

Use cases

  • Search Polish statutes by title, year, publisher, or legal status
  • Retrieve metadata for a Dziennik Ustaw or Monitor Polski act
  • Find a specific article within a Polish legal act
  • Collect structured citations for Polish legislation
  • Check whether an act is marked in force

Key features

  • Searches Dziennik Ustaw and Monitor Polski acts
  • Retrieves act metadata by ELI identifier
  • Returns paginated plain text
  • Finds text fragments by search phrase
  • Provides structured legal citations
  • Supports original and consolidated-text status information

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

9/9 checks healthy over the last 51d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 22h ago via OSV.dev · @matematicsolutions/mcp-isap (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads423Package downloads in the last 30 days.
Last commit14d agoMost recent push to the default branch.

How MCP Isap works

What mcp-isap does

The mcp-isap MCP server exposes Polish legislation from the official Sejm ELI REST API. Its scope covers Dziennik Ustaw (Journal of Laws, identified as DU) and Monitor Polski (MP), with acts dating from 1918 to the present.

The server is intended for agents that need to locate a legal act, inspect its metadata, or retrieve the wording of a provision. It is a legislation connector, not a court-case search service. The repository describes it as a companion to separate connectors for general and administrative case law and EU law.

How it works

The server communicates with api.sejm.gov.pl/eli through REST JSON requests and uses the MCP stdio transport. It does not scrape web pages. Requests are throttled to 500 milliseconds between calls, equivalent to a maximum of two requests per second.

Search results can be filtered by title fragment, year, publisher, act type, and whether an act is in force. Once an ELI such as DU/2018/1000 is known, the metadata endpoint returns the title, type, status, entry-into-force information, keywords, source links, and ISAP page link.

Text retrieval supports 5,000-character pages. An agent can follow the pagination marker to read a full document or provide a search phrase such as Art. 118. to receive a fragment around the first match. Each text response identifies whether the wording is consolidated or reflects the original promulgated text.

Setup and configuration

The published package can be run without cloning the repository:

Terminal
npx -y @matematicsolutions/mcp-isap

For an MCP client using stdio, configure the command as npx with -y and @matematicsolutions/mcp-isap as its argument. Building from source requires Node 18 or newer, followed by npm install, npm run build, and node dist/index.js.

No environment variables are documented. The server queries its source live, so a deployment must be able to make requests to the Sejm ELI API. The repository also provides a JSON-RPC smoke-test sequence for checking initialization and calling get_act.

Tools and capabilities

The mcp-isap MCP server exposes three tools:

  • search_acts: finds acts using optional title, year, publisher, type, in-force, and result-limit filters.
  • get_act: retrieves metadata and links for an act identified by its ELI.
  • get_act_text: returns paginated text or a passage matching a supplied search term.

Responses include a structured citations array with the act title, ISAP URL, ELI, display address, publisher, year, document type, status, in-force state, and promulgation information. This gives client applications metadata they can render alongside an answer.

Limitations and notes

An act’s base record may contain the wording as originally promulgated rather than the current consolidated text. For the law currently in force, the documentation advises locating the newest consolidated-text announcement listed in consolidated_text_eli and retrieving that act instead.

Some acts are available only as PDF files. In that case, get_act_text returns a text_unavailable_use_pdf error with links instead of producing substitute prose. Text retrieval also requires callers to handle pagination when the response indicates that more pages remain.

The repository describes the implementation as TypeScript written from scratch, with its API contract derived from a separate legal-data-hunter source. It is licensed under MIT and is documented as compatible with MCP clients generally through stdio transport.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Isap

mcp-isap is an MCP server that connects AI clients to Poland’s official Sejm ELI API for Dziennik Ustaw and Monitor Polski. Its main tools search acts, retrieve act metadata by ELI, and return paginated or search-targeted plain text, with structured citations and links to source records.

Run `npx -y @matematicsolutions/mcp-isap` or add that command and argument to an MCP client’s stdio configuration. Source builds require Node 18 or newer, `npm install`, `npm run build`, and `node dist/index.js`.

It searches acts from Dziennik Ustaw and Monitor Polski through the Sejm ELI API. Supported material includes statutes, regulations, official announcements, and international agreements, with coverage described as spanning 1918 to the present.

Call `get_act_text` with the act’s ELI and a `search_text` value such as `Art. 118.`. The tool returns a fragment around the first match; you can also read the document in 5,000-character pages using its pagination fields.

The repository states that mcp-isap works with any MCP client and uses the standard stdio transport, so it can be configured in clients that support stdio MCP servers.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Isap AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-isap?style=directory)](https://allmcps.com/mcp/mcp-isap)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-isap"><img src="https://allmcps.com/api/badge/mcp-isap?style=directory" alt="MCP Isap on AllMCPs" /></a>