Afip MCP server
AFIP — Argentine tax authority, electronic invoicing (Factura Electrónica)
271 stars19 downloads/wk
Reviews
Write oneNobody has reviewed Afip yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Afip tools (20, 5 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
cancel_invoicewrite actionCancel/void an authorized invoice (FECancel — limited to certain types/conditions)
create_credit_notewrite actionIssue a credit note (Nota de Crédito A/B/C: types 3, 8, 13) referencing an original invoice
create_debit_notewrite actionIssue a debit note (Nota de Débito A/B/C: types 2, 7, 12) referencing an original invoice
create_invoicewrite actionCreate an electronic invoice (Factura Electrónica) via AFIP
create_invoice_batchwrite actionCreate a batch of invoices in a single CAE request (FECAESolicitar, up to 250)
get_authorized_points_of_saleList authorized puntos de venta for the CUIT
get_cae_statusCheck CAE authorization status for an invoice
get_currency_rateGet FX rate (cotización) for a currency vs ARS (FEParamGetCotizacion)
get_invoiceGet invoice details by type, point of sale, and number
get_invoice_total_x_requestMax number of records allowed per FECAESolicitar request (FECompTotXRequest)
get_last_invoice_numberGet last authorized invoice number for a point of sale and type
get_registration_certificateGet constancia de inscripción (registration certificate) for a CUIT
get_server_statusCheck AFIP web-service availability (WSFE status)
list_concept_typesList available concept types (FEParamGetTiposConcepto: 1=Products, 2=Services, 3=Both)
list_currency_typesList supported currencies (FEParamGetTiposMonedas)
list_doc_typesList document/identifier types (FEParamGetTiposDoc: 80=CUIT, 86=CUIL, 96=DNI, 99=Consumer Final)
list_invoice_typesList available invoice types (Factura A, B, C, etc.)
list_iva_typesList IVA tax aliquots (FEParamGetTiposIva: 21%, 10.5%, 27%, 0%, etc.)
list_tax_typesList available tax types (IVA, percepciones, retenciones, etc.)
lookup_taxpayerPadrón lookup by CUIT (WS_SR_PADRON A4/A5/A13 — fiscal status, name, address)
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan3 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 29 days ago15/15
- Maintainer identityregistry namespace matches repository owner7/10
How Afip compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 63% of 48,255 servers
- Tools
- 20
- the typical server has 7
- Tools that change things
- 25%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 271
- more than 95% of 28,688 servers
- Downloads a week
- 19
- more than 6% of 12,191 servers with a package
What its tools let an agent do: 15 read · 4 create · 1 delete
Install Afip in Claude Code, Cursor or VS Code
Runs npx -y @codespar/mcp-afip on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add mcp-afip -- npx -y @codespar/mcp-afip
What the publisher says
From the Afip repository's README, as published. We do not edit it. Read it on GitHub
MCP Dev LATAM 🌎 Every commerce API your AI agent needs to run a business in Latin America. Brazil 🇧🇷 · Mexico 🇲🇽 · Argentina 🇦🇷 · Colombia 🇨🇴 · Chile 🇨🇱 · Peru 🇵🇪 · plus 4 agentic payment protocols. MCP servers for LATAM commerce · live in the official MCP Registry · MIT License Machine-readable catalog: codespar.dev/api/servers Catalog · Quick Start · Agentic Protocols · All Servers · Contribute
The Problem
AI agents can write code, analyze data, and chat. But they can't operate a business — collect payments, issue invoices, ship products, or notify customers. Especially not in Latin America, where every service has its own API, auth pattern, and quirks (mTLS for BACEN Pix v2, JWT-RSA for STP-SPEI, AFIP web services, contract-gated developer portals, and on).
Meanwhile, four agentic payment protocols are shipping in parallel — checkout protocols (Stripe ACP, Google UCP), authorization layers (AP2), and micropayment rails (x402) — and none of them compose cleanly with each other or with the regional rails businesses actually run on.
MCP Dev LATAM bridges both gaps. Traditional LATAM services + the new agentic payment protocols, all accessible through a single MCP interface.
The Solution
Each MCP server in this repo wraps a real provider — payments, fiscal, logistics, messaging, banking, ERP, identity, fraud, crypto, and the agentic protocols — so your agent can operate a complete business workflow.
🛒 Customer places order
→ 💳 Agent charges via Pix (Asaas / Mercado Pago / Zoop)
→ 📄 Agent issues NFe (Nuvem Fiscal / Focus NFe / NFe.io)
→ 📦 Agent generates shipping label (Melhor Envio / Skydropx)
→ 📱 Agent sends tracking via WhatsApp (Z-API / WhatsApp Cloud)
→ 📊 Agent records in ERP (Omie / Bling / Tiny)
→ 🏦 Agent reconciles balance (Stark Bank / Itaú / BTG)Six systems. Zero human intervention. One agent.
Agentic Payment Protocols
Four servers for the emerging agentic payment stack:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Afip: common questions
- Is Afip MCP server safe?
- Mostly: it is graded B (82/100). Read the Afip safety report
- How do I install Afip?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Afip need an API key?
- Yes. The registry entry asks for
AFIP_KEY_PATH. - Is Afip maintained?
- The last commit was 67 days ago (2026-08-29). The latest release is v0.2.0-alpha.3.
- How does Afip compare with other MCP servers?
- safety score 82/100 (higher than 63% of 48,255 servers); tools 20 (the typical server has 7); tools that change things 25% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.