Polish National registry of businesses and other legal entities
About
Polish National registry of businesses and other legal entities
Security Report
Valid MCP server (3 strong, 3 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.
6 files analyzed · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"krs-poland-mcp-server": {
"command": "npx",
"args": [
"-y",
"krs-poland-mcp-server@1.6.0"
]
}
}
}Some servers take additional arguments. See the repository for details.
Documentation
View on GitHubFrom the project's GitHub README.

KRS Poland MCP Server
An MCP server for the Polish National Court Register (KRS) public API.
Usage
This server is designed to be run with npx, allowing you to use it as a tool provider for LLM clients without a global installation.
Running with npx
Requires Node.js 18 or newer (tested on 22 and 24 in CI).
To start the server, run the following command:
npx krs-poland-mcp-server
Configuration for LLM Clients
To integrate this server with an LLM client (like LM Studio or others that support MCP), you can configure it to spawn the server process. Here is an example configuration:
{
"mcpServers": {
"krs-poland-mcp-server": {
"command": "npx",
"args": [
"-y",
"krs-poland-mcp-server"
]
}
}
}
This configuration tells the client how to start the KRS tool server.
Cache
Responses of the KRS API are kept in memory for 10 minutes (up to 50 most recently used requests), so the status check, the profile and the history of the same entity do not download its extract again. Set KRS_CACHE_TTL_SECONDS in the server's environment to change the lifetime, or to 0 to turn the cache off:
"env": { "KRS_CACHE_TTL_SECONDS": "0" }
Server Functions
The server provides the following tools (checklist):
-
Get Current KRS Record (
get-krs-current-extract): Returns the raw current extract (odpis aktualny) of an entity as JSON. The register (P/S) is optional; both are checked when it is omitted.dzialylimits the answer to selected sections (see below). -
Get Full KRS Record (
get-krs-full-extract): Returns the raw full extract (odpis pełny) — current data plus the complete history of entries — as JSON; also available for entities struck off the register. The register (P/S) is optional. Withdzialyonly the selected sections are returned, and the list of entries in the header is narrowed to the entries that introduced or struck out their fields.The full extract of a large company is long — ORLEN S.A. (KRS 0000028860) has about 212,000 characters as single-line JSON, of which section 2 alone is about 86,000. The sections (
dzialy, numbers 1–6) are: 1 — the entity: name, seat and address, capital, shareholders, branches; 2 — representation: the board and how it acts, supervisory board, commercial proxies, attorneys; 3 — PKD activity codes, filed financial statements, end of the financial year; 4 — arrears, receivables, asset security, dismissed bankruptcy petitions; 5 — court-appointed curator; 6 — liquidation, dissolution, bankruptcy, restructuring, mergers, divisions, transformations, suspension of business. Example arguments:{ "krs": "0000028860", "rejestr": "P", "dzialy": [2] } -
Check KRS Status (
check-krs-status): Checks whether an entity is active and returns a compact report of risk signals found in its register entry — liquidation, bankruptcy, restructuring, suspension, dissolution, arrears with enforcement, asset security, dismissed bankruptcy petitions, court-appointed curator, missing board, overdue annual financial statements, a NIP revoked by the tax office for a false or fictitious address (critical) or annulled (warning), and deletion from the register. The register (P/S) is optional; both are checked when it is omitted. -
Get KRS Entity Profile (
get-krs-entity-profile): A compact profile of the entity from its current extract — NIP/REGON with NIP status, seat and address, contact and e-delivery address, share capital, representation (the board's composition by function and the rule for acting on the entity's behalf, commercial proxies, attorneys, liquidators when applicable), supervisory board, owners (companies are named, people are not), PKD codes, the purpose and public-benefit status of associations, branches, and a one-line status assessment. Personal data is never returned. The register (P/S) is optional. -
Get KRS Entry History (
get-krs-entry-history): Returns a compact history of the entity's register entries, computed from the full extract (which for large companies runs to hundreds of thousands of characters). By default it lists entries newest first — date, description, case reference and the fields each entry changed — optionally filtered withodDaty(dd.mm.yyyyoryyyy-mm-dd) andlimit(default 20, max 100). WithnumerWpisuit shows what that single entry introduced, struck out and changed: name, address, capital, board members, PKD codes and so on. Works for entities struck off the register as well; the register (P/S) is optional. -
Check KRS Watchlist (
check-krs-watchlist): Takes up to 50 watched KRS numbers and a day (data) or a date range (odDaty/doDaty, up to 31 days;doDatydefaults to today) and tells which of the entities had an entry in the register in that period, based on the daily KRS bulletin. For each such entity it returns the bulletin days and — unlessszczegolyisfalse— its name, last register entry (number, date, case reference, court; for an entity struck off also the entry description) and the status assessment ofcheck-krs-status. Entities without entries and bulletin days that could not be fetched are listed separately.Example arguments:
{ "krs": ["0000019193", "0000109411"], "odDaty": "2026-11-01", "doDaty": "2026-11-12" }
Prompts
- Weryfikacja kontrahenta w KRS (
weryfikacja-kontrahenta): argumentskrs(required),rejestrandkontekst(e.g. "umowa dostawy na 200 tys. zł"). Walks the model through the entity profile, the status check and the last 12 months of register entries, and asks for a report with a green/yellow/red assessment and a plain answer to who can sign a contract on the entity's behalf.
All tools are read-only and none of the analytic tools return personal data of natural persons (the KRS API masks names and PESEL numbers but not, for example, birth dates).
Development
To run the server in a development environment:
- Clone the repository.
- Install dependencies:
npm install - Build the project:
npm run build - Run the server:
npm start
Author
Piotr Kolawa (@pkolawa) / (Linkedin)
License
This project is licensed under the MIT License - see the LICENSE file for details.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Memory
Freeby Modelcontextprotocol · Developer Tools
Persistent memory for an assistant, stored as a knowledge graph of entities and relations
Server Git
Freeby Modelcontextprotocol · Developer Tools
Read, search and manipulate Git repositories: status, diff, log, commit, branch and more
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.