mcpField
K
krs-poland-mcp-server

krs-poland-mcp-server

Local
github.com/pkolawaLegal & Government4Updated 3w ago

About krs-poland-mcp-server

krs-poland-mcp-server provides MCP tools for retrieving records from Poland’s National Court Register (KRS). It supports both current entity information and full historical records for LLM clients.

Key features

  1. 01Retrieve current KRS records
  2. 02Retrieve full historical KRS records
  3. 03Run through npx without global installation

Use cases

  1. 01Checking an entity’s current KRS information
  2. 02Retrieving an entity’s historical register data

MCP support

Exposes tools that query the Polish National Court Register public API for current and full historical records.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"pkolawa-krs-poland": {
"command": "npx",
"args": [
"-y",
"krs-poland-mcp-server"
]
}
}
}
Run commandnpx -y krs-poland-mcp-server

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmkrs-poland-mcp-server1.3.4

Tools

2

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
krsstringYesNumer KRS (10 cyfr)
rejestrstringYesRejestr: P – przedsiębiorców, S – stowarzyszeń (P/S, wielkość liter bez znaczenia)

Details

From the project README

logo

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

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.

Server Functions

The server provides the following tools (checklist):

  • Get Current KRS Record (get-krs-current-extract): Retrieves the current status and information for a given entity from the KRS.
  • Get Full KRS Record (get-krs-full-extract): Retrieves the complete historical data for a given entity from the KRS.

Development

To run the server in a development environment:

  1. Clone the repository.
  2. Install dependencies: npm install
  3. Build the project: npm run build
  4. 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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.