An MCP server for the Polish National Court Register (KRS) public API.
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.
To start the server, run the following command:
npx krs-poland-mcp-serverTo 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.
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.
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
Piotr Kolawa (@pkolawa) / (Linkedin)
This project is licensed under the MIT License - see the LICENSE file for details.
