Skip to main content
Glama
fakturka-api-mcp

fakturka-api-mcp

by softvoyagers

Faktuj MCP Server

npm version Website API Status

Integrate Faktuj into Claude, Cursor, VS Code, and any MCP-compatible AI assistant. Generate VAT invoices and proforma invoices, look up companies by NIP, check NBP exchange rates, and validate IBAN numbers — all from your AI workflow. Fully aligned with KSeF compliance requirements.

No API key required. Free forever.

Quick Start

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "faktuj": {
      "command": "npx",
      "args": ["-y", "faktuj-mcp"]
    }
  }
}

Or install globally:

npm install -g faktuj-mcp

Then add to your config:

{
  "mcpServers": {
    "faktuj": {
      "command": "faktuj-mcp"
    }
  }
}

Related MCP server: mcp-ksef-pl

Available Tools

Tool

Description

generate_invoice

Generate a Polish VAT invoice PDF. Pass full invoice JSON with seller, buyer, and line items. Returns invoice number and base64 PDF.

generate_proforma

Generate a proforma invoice PDF. Same schema as VAT invoice. Returns invoice number and base64 PDF.

preview_invoice

Preview and validate invoice data without generating a PDF. Returns validated data or validation errors.

lookup_nip

Look up a Polish company by NIP tax identification number. Returns company name, address, and registration data.

lookup_nbp_rate

Look up NBP (National Bank of Poland) exchange rate for a given currency and date.

validate_iban

Validate an IBAN number. Returns validation result and bank details if valid.

Example Usage

Ask your AI assistant:

  • "Generate a VAT invoice from ACME sp. z o.o. (NIP: 1234567890) to Beta S.A. for 10 hours of consulting at 200 PLN/h"

  • "Look up the company with NIP 5263442510"

  • "What was the EUR/PLN exchange rate on 2026-03-20?"

  • "Validate IBAN PL61109010140000071219812874"

Architecture

AI Assistant <--stdio--> faktuj-mcp <--HTTPS--> faktuj.pl REST API

This is a thin stdio MCP transport layer over the Faktuj REST API. The MCP server translates tool calls into HTTP requests and returns structured responses.

Configuration

Environment Variable

Default

Description

FAKTUJ_API_URL

https://faktuj.pl

Base URL for the Faktuj API

Resources

SoftVoyagers Ecosystem

Faktuj is part of the SoftVoyagers open-source portfolio:

Product

Description

Website

LinkMeta

Free URL metadata extraction API

linkmeta.dev

PageShot

Free screenshot & webpage capture API

pageshot.site

PDFSpark

Free HTML/URL to PDF conversion API

pdfspark.dev

OGForge

Free Open Graph image generator API

ogforge.dev

LinkShrink

Free privacy-first URL shortener API

linkshrink.dev

Faktuj

Free Polish VAT invoice generator

faktuj.pl

QRMint

Free styled QR code generator & API

qrmint.dev

PageDrop

Free instant HTML hosting API

pagedrop.dev

PismoSzyteNaMiarę

Darmowy generator pism urzędowych

pismoszytenamiare.pl

License

MIT

Available Tools

6 tools
generate_invoiceB

Generate a Polish VAT invoice PDF. Pass the full invoice JSON (with sprzedawca, nabywca, pozycje, etc.) as a string. Returns invoice number and base64-encoded PDF.

Inputs: data (required).

generate_proformaB

Generate a Polish proforma invoice PDF. Pass the full invoice JSON (with sprzedawca, nabywca, pozycje, etc.) as a string. Returns invoice number and base64-encoded PDF.

Inputs: data (required).

lookup_nbp_rateB

Look up the NBP (National Bank of Poland) exchange rate for a given currency and date.

Inputs: date (required), currency (required).

lookup_nipA

Look up a Polish company by NIP tax identification number. Returns company name, address, and registration data.

Inputs: nip (required).

preview_invoiceA

Preview and validate invoice data without generating a PDF. Pass the full invoice JSON as a string. Returns validated invoice data or validation errors.

Inputs: data (required).

validate_ibanB

Validate an IBAN (International Bank Account Number). Returns validation result and bank details if valid.

Inputs: iban (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct role: two document generators differentiated by document type (VAT vs. proforma), a validation-only preview tool explicitly stated not to emit a PDF, and three lookup/validation helpers for NIP, NBP rates, and IBAN. The descriptions make the preview-vs-generate boundary explicit, so an agent can reliably pick the right tool.

    Naming Consistency5/5

    All six names follow a strict snake_case verb_noun pattern (generate_invoice, generate_proforma, preview_invoice, lookup_nip, lookup_nbp_rate, validate_iban). Verb choice also matches intent (generate for output, preview for dry-run, lookup/validate for read-only checks).

    Tool Count5/5

    Six tools is well-scoped for an invoicing server: two generation paths, one validation path, and three supporting lookups. Every tool earns its place with no filler or redundant variants.

    Completeness4/5

    Core lifecycle is covered: validate data, generate VAT or proforma PDFs, plus external data lookups (NIP, NBP rate, IBAN). Minor gaps remain for the Polish invoicing domain, notably no corrective/correction invoice (faktura korygująca) generation and no way to list or re-fetch previously generated invoices.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      MCP server for DACH e-invoicing. Create XRechnung (UBL) and ZUGFeRD 2.3 (Factur-X CII) invoices, validate against EN 16931 rules, extract data from XML, and convert between UBL, CII and JSON formats.
      6
      62 npm
      3
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Model Context Protocol (MCP) server for Polish Electronic Invoicing (KSeF / FA(2)). Provides tools to validate, generate, and explore API specifications for KSeF interoperability.
      10
      102 PyPI
      3
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for the Invapi E-Invoicing API, enabling conversion, validation, and extraction of invoices in UBL, CII, ZUGFeRD, Excel, and more.
      49 npm
      MIT