MCP.Market

Afip MCP server

by codespar·io.github.codespar/mcp-afip·v0.2.0-alpha.3·271 stars

AFIP — Argentine tax authority, electronic invoicing (Factura Electrónica)

B82/100grade B
What users say
No reviews yet
Be the first
Safety scan
B82/100

full report

Adoption
Established

271 stars19 downloads/wk

Reviews

Write one

Nobody 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 posts

Read from the package source without running it. The installed server may list more.

  • cancel_invoicewrite action

    Cancel/void an authorized invoice (FECancel — limited to certain types/conditions)

  • create_credit_notewrite action

    Issue a credit note (Nota de Crédito A/B/C: types 3, 8, 13) referencing an original invoice

  • create_debit_notewrite action

    Issue a debit note (Nota de Débito A/B/C: types 2, 7, 12) referencing an original invoice

  • create_invoicewrite action

    Create an electronic invoice (Factura Electrónica) via AFIP

  • create_invoice_batchwrite action

    Create a batch of invoices in a single CAE request (FECAESolicitar, up to 250)

  • get_authorized_points_of_sale

    List authorized puntos de venta for the CUIT

  • get_cae_status

    Check CAE authorization status for an invoice

  • get_currency_rate

    Get FX rate (cotización) for a currency vs ARS (FEParamGetCotizacion)

  • get_invoice

    Get invoice details by type, point of sale, and number

  • get_invoice_total_x_request

    Max number of records allowed per FECAESolicitar request (FECompTotXRequest)

  • get_last_invoice_number

    Get last authorized invoice number for a point of sale and type

  • get_registration_certificate

    Get constancia de inscripción (registration certificate) for a CUIT

  • get_server_status

    Check AFIP web-service availability (WSFE status)

  • list_concept_types

    List available concept types (FEParamGetTiposConcepto: 1=Products, 2=Services, 3=Both)

  • list_currency_types

    List supported currencies (FEParamGetTiposMonedas)

  • list_doc_types

    List document/identifier types (FEParamGetTiposDoc: 80=CUIT, 86=CUIL, 96=DNI, 99=Consumer Final)

  • list_invoice_types

    List available invoice types (Factura A, B, C, etc.)

  • list_iva_types

    List IVA tax aliquots (FEParamGetTiposIva: 21%, 10.5%, 27%, 0%, etc.)

  • list_tax_types

    List available tax types (IVA, percepciones, retenciones, etc.)

  • lookup_taxpayer

    Padró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

no findings
  • 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
Overall 82/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

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
Add to Cursor

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.

More from codespar →