MCP.Market

Krs MCP server

by matematicsolutions·io.github.matematicsolutions/mcp-krs·v1.2.2·1 stars

MCP server for the Polish KRS company registry via the official Ministry of Justice API.

A91/100grade A
What users say
No reviews yet
Be the first
Safety scan
A91/100

not scanned yet

Adoption
Growing

1 stars206 downloads/wk

Reviews

Write one

Nobody has reviewed Krs yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Krs tools

No tool declarations could be read from the package source. They show once the server is installed.

Not scanned yet. New listings are scanned within a day or two of arriving.

How Krs compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
91/100
higher than 85% of 48,243 servers
GitHub stars
1
more than 65% of 28,706 servers
Downloads a week
206
more than 75% of 12,306 servers with a package

Release history: 2 versions in the registry since 2026-06-25, latest 2026-10-13, typically one every 110 days.

Install Krs in Claude Code, Cursor or VS Code

Runs npx -y @matematicsolutions/mcp-krs on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add mcp-krs -- npx -y @matematicsolutions/mcp-krs
Add to Cursor

What the publisher says

From the Krs repository's README, as published. We do not edit it. Read it on GitHub

mcp-krs

Installation (one command)

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

npx -y @matematicsolutions/mcp-krs

MCP client configuration (stdio):

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

(Building from source - below.)

MCP server for the Krajowy Rejestr Sadowy / KRS (National Court Register) via the official, free Ministerstwo Sprawiedliwosci (Ministry of Justice) API (api-krs.ms.gov.pl/api/krs).

Why

A law firm asks about a counterparty -> Patron returns full register data: name, legal form, NIP, REGON, address, share capital, board composition, representation rules, commercial proxies (prokurenci), primary PKD code, status (active / liquidation / bankruptcy). Plus a URL to the Ministry of Justice search tool.

Critical for contract work: the question "can this person sign this contract for company X on their own" reduces to two moves - krsgetboard with the KRS number, then comparing the representation rules against the signing party.

Tools

(rules + composition) + commercial proxies (prokurenci).

  • getentity(krs, rejestr?)** - current extract (full entity data).
  • getentityfull(krs, rejestr?) - full extract (with entry history).
  • getboard(krs, rejestr?)** - short form: representation only

Parameters:

(28860 -> 0000028860).

  • krs - 1-10 digits, leading zeros padded automatically
  • rejestr - P (entrepreneurs register, default) or S (associations register).

Every response contains structuredContent.citations with fields: title, url (Ministry of Justice search), krs, nazwa, nip, regon, formaprawna, status, miejscowosc, sadrejestrowy, rejestr.

Patron reads the field automatically and renders it in the UI panel as a "Krajowy Rejestr Sadowy (KRS - MS)" section.

Stack

  • Node 18+ (built-in fetch)
  • @modelcontextprotocol/sdk
  • Stdio transport
  • Throttle 500 ms (2 req/s) - the Ministry of Justice API is tolerant, but be polite

Build + run

npm install
npm run build
node dist/index.js

Wiring into Patron

In patron/backend/mcp-servers.json:

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

Smoke test

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_board","arguments":{"krs":"28860"}}}' \
  | node dist/index.js

Should return ORLEN SA, representation rules "two board members acting jointly", board composition, commercial proxies (prokurenci) + URL.

GDPR notes

The Ministry of Justice API returns masked personal data of board members in its responses (asterisks in surnames after the 2023 amendment). Patron passes this through raw and does not unmask it. For full surnames, the law-firm user opens the Ministry of Justice link in a browser after logging in.

Lineage

API contract from the official documentation MS api-krs.ms.gov.pl. TypeScript implementation from scratch.

License

MIT.

Part of MateMatic

This connector queries its source live. It is one of the Polish and EU source connectors bundled in PATRON and works with any MCP client.

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Krs: common questions

Is Krs MCP server safe?
Yes, by our scan: it is graded A (91/100). Read the Krs safety report
How do I install Krs?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Krs need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Krs maintained?
The last commit was 49 days ago (2026-09-17). The latest release is v1.2.2.
How does Krs compare with other MCP servers?
safety score 91/100 (higher than 85% of 48,243 servers); github stars 1 (more than 65% of 28,706 servers); downloads a week 206 (more than 75% of 12,306 servers with a package). Full comparison.

More from matematicsolutions →