mcp-ksef-pl MCP Server
Polish e-invoicing MCP: KSeF API v2, FA(3)/FA(2) XML, Peppol BIS 3.0, NIP/REGON validation.
mcp-ksef-pl scores 43 (Fair), licensed Apache-2.0 and written in Python. It installs as a local process. It declares 21 tools. Filed under Finance. GitHub shows 3 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
43 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade B
74/100 for listing completeness. Lost points: short README, 4 of 21 tools barely described, short summary.
How quality is graded
Where the 43 comes from
0 + 20 + 2 + 10 + 4 + 7 = 43. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 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.
{ "mcpServers": { "cmendezs-mcp-ksef-pl": { "command": "uvx", "args": [ "mcp-ksef-pl" ], "env": { "KSEF_SESSION_TOKEN": "", "KSEF_NIP": "", "KSEF_ENVIRONMENT": "", "KSEF_TIMEOUT": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
KSEF_SESSION_TOKEN | Optional | KSeF v2 AccessToken obtained via the challenge/redeem auth flow. Required for submit_invoice_to_ksef. |
KSEF_NIP | Optional | NIP (Polish tax identifier, 10 digits) of the entity submitting invoices. |
KSEF_ENVIRONMENT | Optional | Target KSeF environment: 'production' or 'test' (default: test). |
KSEF_TIMEOUT | Optional | HTTP request timeout in seconds (default: 30). |
Tools21Tool docs quality grade C
All capabilitiesregisterpeppolmlstools
Generates a KSeF-compliant FA(2) XML invoice (legacy format, read-only use)
Generates a KSeF-compliant FA(3) XML invoice (required for KSeF API v2 submissions)
Generates a UBL 2.1 invoice compliant with Peppol BIS Billing 3.0 / EN 16931
Retrieves the processing status of an invoice by its reference number
Parses FA(2) XML into a structured dictionary
Search the public Peppol Directory by participant, name, country, or document type
Fetch the AS4 endpoint for a participant's document type
Check whether a business is registered on the Peppol network; returns registration status and supported document types
peppol_sendtoolTransmit a UBL/CII invoice via AS4
DNS-only (SML) diagnostic, independent of SMP reachability
Searches invoices in KSeF by date range and direction (seller/buyer)
About
Model Context Protocol (MCP) server for Polish Electronic Invoicing (KSeF / FA(2)). Provides tools to validate, generate, and explore API specifications for KSeF interoperability. Vendor-neutral: builds, validates, and signs locally, direct-to-KSeF, no intermediary.
Frequently asked questions
What is mcp-ksef-pl MCP Server?
Polish e-invoicing MCP: KSeF API v2, FA(3)/FA(2) XML, Peppol BIS 3.0, NIP/REGON validation.
How do I install mcp-ksef-pl 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. mcp-ksef-pl MCP Server runs locally from the PyPI package mcp-ksef-pl with the command uvx mcp-ksef-pl.
Is mcp-ksef-pl MCP Server free and open source?
Yes. mcp-ksef-pl MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does mcp-ksef-pl MCP Server support remote (HTTP) connections?
No remote endpoint is listed for mcp-ksef-pl MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does mcp-ksef-pl MCP Server provide?
mcp-ksef-pl MCP Server provides 21 tools, including build_mls_message, generate_fa2_invoice, generate_fa3_invoice, and generate_peppol_invoice. See the full tool list for descriptions and parameters.
How is mcp-ksef-pl MCP Server's trust score calculated?
mcp-ksef-pl MCP Server scores 43 out of 100 (Fair). 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
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.