Skip to content
MCP server
Registry

krs-mcp MCP Server

Polish KRS company register: search by name, KRS, NIP or REGON and fetch official extracts.

krs-mcp scores 68 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 4 tools. Filed under Search. GitHub shows 2 stars. Package registries report about 75 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by soba-labsMITTypeScript2 stars
Trust score
68Good
Trust score 68 of 100, Good

Good trust

68 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 68 comes from

22 + 20 + 2 + 10 + 4 + 10 = 68. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity2 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 2 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "soba-labs-krs-mcp": {      "command": "npx",      "args": [        "-y",        "krs-mcp@0.1.1"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools4Tool docs quality grade D

All capabilities
  • same as getcompany

  • krs (1–10 digits, padding applied automatically), rejestr (P/S, default P)

  • same as getcompany

  • query (name or partial name) and/or krs, nip, regon; optional registries (array of registry types: P = entrepreneurs, S = associations; defaults to ["P", "S"], both searched), page, pageSize

About

krs-mcp

npm npm downloads MCP Registry CI License: MIT Built by Soba Labs

An MCP server for the Polish KRS (Krajowy Rejestr Sądowy — National Court Register). It lets any MCP-capable AI client search Polish companies by name, KRS, NIP or REGON, and fetch official current and full registry extracts.

All four tools are read-only and require no API key, account, or configuration. KRS data is public record. Node.js 22.12 or later is required.

Tools

ToolInputsReturns
search_companiesquery (name or partial name) and/or krs, nip, regon; optional registries (array of registry types: P = entrepreneurs, S = associations; defaults to ["P", "S"], both searched), page, pageSizeMatching entities with their zero-padded 10-digit KRS numbers, city, registry, bankruptcy flag; paginated. Use this first to resolve a company name to a KRS number.
get_companykrs (1–10 digits, padding applied automatically), rejestr (P/S, default P)Current official extract (odpis aktualny): identity, address, board, capital, PKD — as markdown
get_company_fullsame as get_companyFull official extract (odpis pełny) as semantic JSON, preserving all historical entries. Much larger; prefer get_company unless you need history
get_boardsame as get_companySlim view of just the board, supervisory bodies and proxies (prokurenci)

How it works

  • Search uses an undocumented endpoint behind the Ministry of Justice's public search website, wyszukiwarka-krs.ms.gov.pl. The endpoint is not part of the documented KRS Open API and may change or reject programmatic access without notice.
  • Extracts (odpisy) come from the Ministry of Justice's official, keyless API at api-krs.ms.gov.pl.
  • Search results and current extracts are formatted as compact, LLM-friendly markdown. Full extracts remain semantic JSON so no historical entries are discarded.
  • Every successful result includes a second text block containing JSON provenance: the source URL, retrieval time, source-production time when supplied, and a description of krs-mcp's processing. The source services do not currently provide a separate production timestamp, so sourceProducedAt is null rather than inferred. The full extract remains parseable JSON in the first text block.

Reliability

Requests time out after 15 seconds. Network errors, HTTP 429 responses, and server errors are retried twice with short delays. Authentication or permission failures are returned immediately.

A daily GitHub Actions check verifies company-name search and the official extract API against a known public Soba Labs record. A contract change or access failure opens or updates one incident issue. Temporary upstream outages fail the check without creating an issue. Maintainers can also run npm run check:live manually.

GitHub may disable scheduled workflows in a public repository after 60 days without repository activity. If this repository becomes inactive, a maintainer must re-enable the workflow or run it manually.

The live check detects breakage; it does not make the undocumented search endpoint official or supported. A 403 requires human review. Maintainers and repair agents must not bypass new access controls automatically. The official extract tools remain usable if only name search breaks.

Setup

Claude Code / Codex / opencode-style clients

Add to your MCP configuration:

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

From source

git clone https://github.com/soba-labs/krs-mcp.git
cd krs-mcp
npm install && npm run build

npm test is fully self-contained (synthetic fixtures, no network). Optionally, node scripts/fetch-test-fixtures.mjs refreshes ignored live captures for manual comparison with KRS 0001245101.

{
  "mcpServers": {
    "krs-mcp": {
      "command": "node",
      "args": ["<path-to-repo>/dist/index.js"]
    }
  }
}

Example workflow

  1. search_companies with "query": "allegro" → get the padded KRS number
  2. get_company with "krs": "0000245961" → current extract
  3. get_board with the same KRS → just the people

Need an MCP server for your own registry, CRM or internal data? Talk to Soba Labs.

Data reuse and privacy

The Ministry of Justice's public-sector information reuse conditions require users to identify the source, the time the information was produced and obtained, and any processing applied to it. krs-mcp adds those disclosure fields to every successful tool result and explicitly marks an unavailable source-production time as null. Downstream users remain responsible for preserving the required attribution and complying with applicable privacy and reuse rules.

krs-mcp sends requests only to the Ministry's KRS services. It has no telemetry and does not persist registry responses. Your MCP client may send tool output to its configured model provider; review that provider's privacy terms before processing personal data. The Ministry controls masking in the source responses, and krs-mcp does not independently redact fields in full extracts.

Disclaimer

This project is not affiliated with, endorsed by, or connected to the Polish Ministry of Justice (Ministerstwo Sprawiedliwości). Registry data is fetched from public government sources. Formatted tools transform or select fields as described above; full extracts are passed through as JSON. Provided without warranty of any kind.

License

MIT

Read more

Built by Soba Labs

krs-mcp is free and open source under the MIT license, built and maintained by Soba Labs, an AI-native software development agency that builds and operates production agentic systems. If you need an MCP server or an agent built on your own data, talk to Soba Labs or write to contact@sobalabs.ai.

Frequently asked questions

What is krs-mcp MCP Server?

Polish KRS company register: search by name, KRS, NIP or REGON and fetch official extracts.

How do I install krs-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. krs-mcp MCP Server runs locally from the npm package krs-mcp with the command npx -y krs-mcp@0.1.1.

Is krs-mcp MCP Server free and open source?

Yes. krs-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does krs-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for krs-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does krs-mcp MCP Server provide?

krs-mcp MCP Server provides 4 tools: get_board, get_company, get_company_full, and search_companies. See the full tool list for descriptions and parameters.

How is krs-mcp MCP Server's trust score calculated?

krs-mcp MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server