Italian e-invoicing: FatturaPA XML/SDI v1.6.1, 21 MCP tools for B2B and B2G.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-cmendezs-mcp-fattura-elettronica-it": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Server MCP Python per la fatturazione elettronica italiana in formato FatturaPA XML (standard SDI / Agenzia delle Entrate, versione 1.6.1). Permette agli agenti IA (Claude, IDE) di generare, validare e analizzare fatture elettroniche B2B, B2G e transfrontaliere direttamente conformi alle specifiche tecniche del Sistema di Interscambio (SDI).
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in other
Persistent memory using a knowledge graph
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Pre-build reality check. Scans GitHub, HN, npm, PyPI, Product Hunt — returns 0-100 signal.
Hash-verified file editing MCP server with token efficiency hook. 11 tools for AI coding agents.
MCP Security Weekly
Get CVE alerts and security updates for io.github.cmendezs/mcp-fattura-elettronica-it and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Server MCP Python per la fatturazione elettronica italiana in formato FatturaPA XML (standard SDI / Agenzia delle Entrate, versione 1.6.1). Permette agli agenti IA (Claude, IDE) di generare, validare e analizzare fatture elettroniche B2B, B2G e transfrontaliere direttamente conformi alle specifiche tecniche del Sistema di Interscambio (SDI).
This is a Model Context Protocol (MCP) server for Italian electronic invoicing. It exposes 21 tools covering the full lifecycle of a FatturaPA XML document: transmission header construction, seller/buyer validation, document type codes (TD01–TD28), line items, VAT summary computation, payment terms, XSD validation against the official Agenzia delle Entrate schema (v1.6.1), XML generation, parsing, JSON export, SDI filename generation, and withholding tax (ritenuta d'acconto) calculation. The server requires no external API calls — all logic runs locally. Licensed under Apache 2.0.
pip install mcp-fattura-elettronica-it
Senza installazione previa con uvx:
uvx mcp-fattura-elettronica-it
git clone https://github.com/cmendezs/mcp-fattura-elettronica-it.git
cd mcp-fattura-elettronica-it
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e ".[dev]"
cp .env.example .env
Il server non richiede credenziali esterne in v0.1.0. Le variabili d'ambiente disponibili sono:
| Variabile | Descrizione | Default |
|---|---|---|
LOG_LEVEL | Livello di log (DEBUG, INFO, WARNING, ERROR) | INFO |
FATTURA_XSD_PATH | Percorso del file XSD FatturaPA | schemas/FatturaPA_v1.6.1.xsd |
Aggiungere al file claude_desktop_config.json:
{
"mcpServers": {
"fattura-elettronica-it": {
"command": "uvx",
"args": ["mcp-fattura-elettronica-it"]
}
}
}
File di configurazione (~/.cursor/mcp.json oppure .cursor/mcp.json nella cartella del progetto):
{
"mcpServers": {
"fattura-elettronica-it": {
"command": "uvx",
"args": ["mcp-fattura-elettronica-it"]
}
}
}
{
"mcpServers": {
"fattura-elettronica-it": {
"command": "uvx",
"args": ["mcp-fattura-elettronica-it"],
"disabled": false,
"autoApprove": []
}
}
}
| Strumento | Descrizione |
|---|---|
build_transmission_header | Build DatiTrasmissione block: ProgressivoInvio, CodiceDestinatario, PECDestinatario |
validate_cedente_prestatore | Validate seller block: IdFiscaleIVA, Anagrafica, Sede, RegimeFiscale codes |
validate_cessionario | Validate buyer block: IdFiscaleIVA or CodiceFiscale, Sede |
get_regime_fiscale_codes | Return all valid RegimeFiscale codes with descriptions (RF01–RF19) |
validate_partita_iva | Validate Italian VAT number (Partita IVA) format and checksum (11 digits) |
generate_progressivo_invio | Generate a unique ProgressivoInvio identifier (max 10 alphanumeric chars) |
lookup_codice_destinatario | Return info about a CodiceDestinatario (6-char SDI code) or PEC address |
| Strumento | Descrizione |
|---|---|
build_dati_generali | Build Dat |