sii-boletas-mcp
Tú: Emite una boleta por 3 cafés de $3.000, pagados con transferencia.
Claude: Revisé con el SII: boleta afecta, 3 × Café a $3.000, total $9.000, transferencia. ¿La emito?
Tú: Sí.
Claude: ✅ Boleta emitida. Folio 18342 · Total $9.000 · PDF guardado en Boletas SII.
¿Para quién es?
Para pymes, emprendedores y almaceneros que ya usan el sistema gratuito de boletas del SII y quieren dejar de llenar el formulario a mano, y para desarrolladores que quieren emitir boletas desde sus propios sistemas en Node.js sin pagar un intermediario.
Related MCP server: chile-invoice-mcp
Qué hace
🧾 Emite boletas 39 y 41 | Afectas y exentas, con el medio de pago exacto (efectivo, tarjeta, transferencia, cheque). |
🔍 Revisa antes de emitir | Valida contra los datos reales de tu empresa en el SII (sucursales, totales, receptor) y te muestra el resumen. |
✋ Nunca emite sin tu "sí" | La emisión exige tu confirmación explícita. |
📄 Guarda el PDF | Queda en la carpeta Boletas SII de tu computador. |
🔐 Privado | Tu RUT y tu clave tributaria se guardan solo en tu computador y viajan solo al SII. |
🪪 Sin certificado ni folios | Usa el sistema gratuito de boletas del SII: el SII firma y asigna el folio. |
Instalación en 1 minuto
Opción A · Claude Desktop (la más fácil)
Descarga
sii-boletas.mcpbdesde la última versión.Ábrelo con doble clic: Claude Desktop lo instala.
Escribe tu RUT, tu clave tributaria y (opcional) el RUT de tu empresa. Listo.
Opción B · Claude Code
claude mcp add sii-boletas \
-e SII_RUT=12345678-9 -e SII_CLAVE='tu-clave' -e SII_EMPRESA=76123456-7 \
-- npx -y github:TopKreativa/sii-boletas-mcpOpción C · Cualquier cliente MCP (configuración JSON)
{
"mcpServers": {
"sii-boletas": {
"command": "npx",
"args": ["-y", "github:TopKreativa/sii-boletas-mcp"],
"env": { "SII_RUT": "12345678-9", "SII_CLAVE": "tu-clave", "SII_EMPRESA": "76123456-7" }
}
}
}Requisitos: Node.js 20 o superior (Claude Desktop ya lo trae), y que tu RUT esté autorizado en el SII para emitir boletas de la empresa (lo mismo que necesitas para emitir en eboleta.sii.cl).
Úsalo como librería (Node.js)
import { ClienteBoletas } from "sii-boletas-mcp";
const sii = new ClienteBoletas(process.env.SII_RUT, process.env.SII_CLAVE);
const revision = await sii.previsualizar({
tipo: 39, rutEmpresa: "76123456-7", medioPago: "PE",
lineas: [{ nombre: "Café", cantidad: 3, precio: 3000 }], total: 9000,
});
console.log(revision.errores); // [] si está todo bien
const { folio, pdfUrl } = await sii.emitir({ /* la misma boleta */ });Preguntas frecuentes
¿Es oficial del SII? No. Es un proyecto comunitario que usa los mismos servicios que la página de boletas del SII (eboleta.sii.cl). No es una API documentada: si el SII la cambia, puede dejar de funcionar hasta que se actualice.
¿Y las facturas? Las facturas, notas de crédito y guías necesitan certificado digital y van por otro sistema del SII. Están en el plan de trabajo.
Me salió "No se sabe si la boleta se emitió". No reintentes. Revisa tu historial en eboleta.sii.cl: la boleta pudo haber quedado emitida y reintentar la duplicaría.
El SII me pide un código por correo. Pasa la primera vez desde un equipo nuevo. Entra una vez a eboleta.sii.cl desde ese computador y vuelve a intentar.
¿Cómo anulo una boleta? Con una nota de crédito en el sitio del SII (pronto también desde aquí).
Plan de trabajo
Boletas afectas (39) y exentas (41) desde Claude
Revisión previa y confirmación obligatoria
Consultar boletas emitidas del día / del mes
Nota de crédito para anular boletas
Facturas (33/34), notas de crédito (61) y guías (52) con certificado digital
Descuentos por línea
¿Quieres ayudar? Mira los issues marcados como good first issue y la guía para contribuir.
Origen
Es la versión abierta del motor de emisión de Neofolio, la plataforma de documentos tributarios de Top Kreativa, donde ya emite boletas reales todos los días. La liberamos porque emitir una boleta no debería costarle una suscripción a ninguna pyme.
¿Necesitas facturas, notas de crédito, guías y un panel listo, sin instalar nada? Eso es Neofolio.
Aviso
Software entregado "tal cual", sin garantía (ver LICENSE). Cada boleta emitida es un documento tributario real y es responsabilidad de quien la emite. Prueba primero con montos pequeños.
In English
Issue Chilean SII electronic receipts (boletas) by chatting with Claude. A free, MIT-licensed MCP server that drives the SII's free e-receipt system with the user's own tax password, so no digital certificate or CAF folios are needed. It validates against the issuer's real SII data, always previews and asks for confirmation before issuing, and keeps credentials on the user's machine. Install the .mcpb from Releases in Claude Desktop, or use npx -y github:TopKreativa/sii-boletas-mcp in any MCP client. Contributions welcome.
Available Tools
3 toolssii_emitir_boletaEmitir boleta en el SIIADestructive
EMITE una boleta electrónica REAL en el SII (no se puede deshacer; se anula solo con nota de crédito). Antes, usa sii_previsualizar_boleta y obtén la confirmación explícita del usuario con el total. Si falla con 'No se sabe si la boleta se emitió', NO reintentes: pide al usuario revisar eboleta.sii.cl.
Inputs: lineas (required), medioPago (required), confirmado (required), tipo, +4 more.
sii_empresasEmpresas habilitadasARead-only
Lista las empresas para las que el usuario puede emitir boletas en el SII.
Inputs: no named parameters.
sii_previsualizar_boletaRevisar boleta (sin emitir)ARead-only
Valida una boleta contra los datos reales del emisor en el SII y muestra qué se emitiría. NO emite nada. Úsala siempre antes de sii_emitir_boleta y muéstrale el resumen al usuario.
Inputs: lineas (required), medioPago (required), tipo, total, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool targets a distinct step of the boleta workflow: listing emisor companies, dry-run validation, and real emission. The descriptions explicitly contrast preview (NO emite nada) with emit (REAL, irreversible), so there is no realistic confusion between sii_previsualizar_boleta and sii_emitir_boleta.
All three tools use the same sii_ prefix plus a snake_case verb_noun pattern (sii_empresas slightly drops the verb but remains readable and clearly in the same namespace). Consistency is strong throughout.
Three tools is on the low end but each earns its place in a narrow, high-stakes emission workflow (list → preview → emit). The surface is minimal but intentionally so, rather than padded or truncated.
The core emission path is fully covered, but there is no way to list or retrieve already-issued boletas, check emission status, or issue the credit note that the descriptions say is the only way to annul. Given emission is irreversible, missing post-emission operations is a notable gap.
Maintenance
Related MCP Connectors
Chile DTE for AI agents - boleta/factura electronica via OpenFactura or LibreDTE. Stateless BYO.
Chilean DTE/SII invoicing — issue invoices, reconcile payments and manage clients with AI agents.
Issue Brazilian service invoices (NFS-e Nacional) from your AI, with preview and confirmation.
Emite facturas, notas y retenciones del SRI de Ecuador con lenguaje natural.
Related MCP Servers
- AlicenseAqualityBmaintenanceOpen-source MCP server for Chile's SII free invoicing system, enabling AI agents to query issued and received tax documents.126MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to issue Chilean electronic tax documents (boleta and factura) stamped at SII via OpenFactura, with stateless bring-your-own-credentials.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to issue Peruvian electronic invoices (factura/boleta) declared to SUNAT via Nubefact. Supports creating, querying, and canceling invoices with automatic IGV tax computation.MIT
- AlicenseNot gradedqualityDmaintenanceEnables users to interact with Chile's SII tax authority through natural language, including checking tax documents, invoices, filings, and administrative requests. It supports browser-based login and optional write operations when explicitly enabled.1MIT