About mcp-krs-poland
mcp-krs-poland is an MCP server for querying Poland’s National Court Register. It lets LLM clients retrieve current or complete historical records for a legal entity, and can be launched with npx.
Key features
- 01Retrieve current KRS records
- 02Retrieve full historical records
- 03Run through npx
Use cases
- 01Check an entity’s current registration details
- 02Review an entity’s historical KRS data
MCP support
The server exposes tools for retrieving current and full KRS extracts to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project 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
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:
- 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.
Comments
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.