MCP server
MCP Ksef Pl
Polish e-invoicing MCP: KSeF API v2, FA(3)/FA(2) XML, Peppol BIS 3.0, NIP/REGON…
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.10.2
- Listing updated
- 6 days ago
About MCP Ksef Pl
MCP Ksef Pl is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Polish e-invoicing MCP: KSeF API v2, FA(3)/FA(2) XML, Peppol BIS 3.0, NIP/REGON validation.
Install
Run in a terminal
claude mcp add mcp-ksef-pl -- uvx mcp-ksef-plAdd to claude_desktop_config.json
{
"mcpServers": {
"mcp-ksef-pl": {
"command": "uvx",
"args": [
"mcp-ksef-pl"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-ksef-pl": {
"command": "uvx",
"args": [
"mcp-ksef-pl"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"mcp-ksef-pl": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-ksef-pl"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-ksef-pl": {
"command": "uvx",
"args": [
"mcp-ksef-pl"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-ksef-pl": {
"command": "uvx",
"args": [
"mcp-ksef-pl"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
KSEF_SESSION_TOKENKSeF v2 AccessToken obtained via the challenge/redeem auth flow. Required for submit_invoice_to_ksef.KSEF_NIPNIP (Polish tax identifier, 10 digits) of the entity submitting invoices.KSEF_ENVIRONMENTTarget KSeF environment: 'production' or 'test' (default: test).KSEF_TIMEOUTHTTP request timeout in seconds (default: 30).
Pricing
Open source
MCP Ksef Pl FAQ
Is MCP Ksef Pl free?
Yes. MCP Ksef Pl is open source, so you can use and self-host it for free.
How do I add MCP Ksef Pl to Claude Code?
Run this command in your terminal: claude mcp add mcp-ksef-pl -- uvx mcp-ksef-pl
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.