MCP Server

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

Local serverstdioTypeScript

What is the MCP MCP server?

MCP server for the Polish KRS company registry via the official Ministry of Justice API. That is what the mcp mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

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

The tools it exposes

The server publishes 2 tools. What each one is for:

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

Getting it running

The server ships on npm as @matematicsolutions/mcp-krs, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

How it compares

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. MCP's toolset — krs, rejestr — is a fair guide to whether it matches your workflow. It is maintained by matematicsolutions; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
krs1-10 digits, leading zeros padded automatically
rejestrP (entrepreneurs register, default) or S (associations register).

How to install the MCP MCP server

MCP client configuration (stdio):

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

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use MCP to krs.
  • Use MCP to rejestr.

Frequently asked questions

It connects MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (krs, rejestr) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP directly.