L'Atlas / Serveurs MCP / Brazil NF-e XML Auditor & Key Engine (x402)
Serveur MCP

Brazil NF-e XML Auditor & Key Engine (x402)

io.github.brunopompeo1/br-nfe-xml-auditor-x402

Serveur MCP OK 3 outils

Faire examiner Voir les tarifs

SEFAZ 4.00 NF-e/NFC-e XML audit, ~90% token compression & Mod-11 key decoder via x402 Base USDC.

Fiche technique

Auteur
brunopompeo1 (espace de noms du registre)
Dépôt
github.com/brunopompeo1/brazil-ai-fiscal-apis-x402
Site
github.com/brunopompeo1/brazil-ai-fiscal-apis-x402
Version
2.7.1
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp Streamable HTTP
Outils
3
Catégories
Finance et paiement, Sécurité
Dernière mise à jour
26 nov. 2026
Publication
26 nov. 2026

Auteur vérifié et popularité

Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la

Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.

  • Visiteurs distincts de la fiche sur 30 jours : 2 (il en faut 30) pas encore
  • ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
  • et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli

Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche

MarkdownREADME.md
[![Statut sur L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.brunopompeo1/br-nfe-xml-auditor-x402.svg)](https://latlas.dev/mcp/io.github.brunopompeo1/br-nfe-xml-auditor-x402)
HTML
<a href="https://latlas.dev/mcp/io.github.brunopompeo1/br-nfe-xml-auditor-x402"><img src="https://latlas.dev/badge/statut/mcp/io.github.brunopompeo1/br-nfe-xml-auditor-x402.svg" alt="Statut sur L’Atlas" height="20"></a>

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.github.brunopompeo1/br-nfe-xml-auditor-x402.svg)](https://latlas.dev/mcp/io.github.brunopompeo1/br-nfe-xml-auditor-x402)
HTML
<a href="https://latlas.dev/mcp/io.github.brunopompeo1/br-nfe-xml-auditor-x402"><img src="https://latlas.dev/badge/fiche/io.github.brunopompeo1/br-nfe-xml-auditor-x402.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp
Dernier résultat
OK 28 nov. 2026, 11:40
Temps de réponse
210 ms (initialize + tools/list)
Version du protocole
2025-06-18
Nom annoncé
br-nfe-xml-auditor-x402 2.7.1
Outils
3

Historique

DateRésultatRéponseOutils
28 nov. 2026, 11:40OK210 ms3

Outils exposés (3, réponse à tools/list, 28 nov. 2026)

audit_nfe_xml

Audit one NF-e or NFC-e XML: totals, CFOP, SEFAZ protocol and CBS/IBS credit

Parses one Brazilian NF-e (model 55) or NFC-e (model 65) XML in SEFAZ layout 4.00, including the 2025 tax-reform group, into compact JSON with about 90% fewer tokens, then audits it: checks that items, freight, discounts and taxes add up to the invoice total, that CFOPs fit an in-state or interstate operation, that the access key passes Mod-11 and that the embedded SEFAZ protocol says authorised; and, under LC 214/2025, compares the CBS and IBS highlighted per item with the official rates to compute the credit at risk in reais and draft a supplier alert. Use it when an agent receives a purchase invoice to book, pay or reconcile, or must answer questions about one without spending tokens on raw XML. Do not use it for a batch of invoices, which is audit_nfe_xml_batch, for an NFS-e service invoice, whose XML is different, or to confirm the current status at SEFAZ, since a later cancellation does not appear in the XML. Read 'auditReport', then 'rtcCreditAudit' and 'supplierAlert'. Costs 0.010 USDC per call, paid with x402 v2 on Base (eip155:8453), a B2B X-API-Key or a Wafermap marketplace signature; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header instead of an exception, and every failure is a JSON body with 'error', so an agent loop never breaks on a thrown error. Pure parsing and arithmetic at the edge: the XML is not stored, SEFAZ is not queried (authorisation is read from the protocol embedded in the XML) and no e-mail is sent.

ParamètreTypeRequisDescription
xmlstringouiFull XML text of one invoice, either the authorised (preferred, it carries the SEFAZ protocol) or a bare . Send the XML itself as a string, not a file path, a URL or a DANFE PDF. Text that is not a NF-e or NFC-e returns HTTP 422.
includeItemsbooleannonInclude the per-item lines in 'items' (default true). Set false to cut the response size on invoices with hundreds of items.
auditRtcCreditbooleannonRun the CBS/IBS tax-credit audit under LC 214/2025 against the official RFB classification tables (default true). Set false for a pure parse-and-totals audit.
referenceYearintegernonCalendar year whose CBS/IBS transition rates are expected, 2026 to 2033. Defaults to the invoice's issue year, or 2026 when there is none. Drives the expected-credit figures and the 2027 projection.
buyerRegimeenum: "regime_regular" | "simples_nacional"nonTax regime of the buying company. 'regime_regular' (default) can take CBS/IBS credits, so missing highlights are a loss; 'simples_nacional' changes what counts as credit at risk.
supplierEmailstringnonOptional supplier e-mail, only used to prefill supplierAlert.emailDraft so the alert can be sent with the agent-email API. Nothing is sent by this tool.
aiSummarybooleannonWhen true (the default) a single-XML audit carries 'aiExecutiveBrief', one Portuguese sentence of at most 38 words with the operation, total, SEFAZ status and credit risk. Set false to skip it and save latency.

audit_nfe_xml_batch

Audit up to 25 NF-e XMLs at once and total the CBS/IBS credit at risk

Audits a batch of up to 25 Brazilian NF-e or NFC-e XMLs in one paid call and returns one compact audit per invoice plus batch totals: total invoiced, number of invoices with credit risk, total CBS/IBS credit at risk and overcharged tax in reais, the 2027 projection, a severity breakdown and one supplier alert per invoice that needs action. Use it for a monthly purchase-ledger review, a supplier compliance sweep before the CBS/IBS transition, or any time several invoices would otherwise mean several calls. Do not use it when you need the full detail of one invoice, such as its items, which audit_nfe_xml returns, and do not send more than 25 XMLs: extras are ignored and 'truncatedAtMax25' turns true. An XML that fails to parse is reported in its own entry instead of failing the batch. Read 'batchSummary' and 'supplierAlerts'. Costs 0.010 USDC per call, paid with x402 v2 on Base (eip155:8453), a B2B X-API-Key or a Wafermap marketplace signature; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header instead of an exception, and every failure is a JSON body with 'error', so an agent loop never breaks on a thrown error. Pure parsing and arithmetic at the edge: the XML is not stored, SEFAZ is not queried (authorisation is read from the protocol embedded in the XML) and no e-mail is sent.

ParamètreTypeRequisDescription
xmlsarray<string>ouiBetween 1 and 25 invoice XMLs as strings. Items beyond the 25th are ignored.
includeItemsbooleannonInclude per-item lines inside each invoice entry (default true). Set false for large batches.
auditRtcCreditbooleannonRun the CBS/IBS tax-credit audit under LC 214/2025 against the official RFB classification tables (default true). Set false for a pure parse-and-totals audit.
referenceYearintegernonCalendar year whose CBS/IBS transition rates are expected, 2026 to 2033. Defaults to the invoice's issue year, or 2026 when there is none. Drives the expected-credit figures and the 2027 projection.
buyerRegimeenum: "regime_regular" | "simples_nacional"nonTax regime of the buying company. 'regime_regular' (default) can take CBS/IBS credits, so missing highlights are a loss; 'simples_nacional' changes what counts as credit at risk.

audit_cbs_ibs_credit_items

Audit CBS/IBS tax credit on purchase items without an XML (LC 214/2025)

Audits the CBS and IBS tax credit of up to 100 purchase or fleet items given as plain JSON, for when there is no XML at hand, such as an ERP export or a spreadsheet: for each item it finds the expected rate in the official RFB classification tables by NCM or cClassTrib for the reference year, compares it with the CBS and IBS the supplier highlighted, and returns the credit at risk and overcharged tax in reais, projections to 2027 and 2033 and a supplier alert with a ready e-mail draft. Use it for procurement and fleet cost reviews and to quantify the cash impact of the tax reform on a supplier. Do not use it when you have the invoice XML, which audit_nfe_xml audits more completely, or to compute ICMS, IPI or PIS/COFINS, which are not covered. Read 'rtcCreditAudit' and 'supplierAlert'. Costs 0.010 USDC per call, paid with x402 v2 on Base (eip155:8453), a B2B X-API-Key or a Wafermap marketplace signature; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header instead of an exception, and every failure is a JSON body with 'error', so an agent loop never breaks on a thrown error. Pure parsing and arithmetic at the edge: the XML is not stored, SEFAZ is not queried (authorisation is read from the protocol embedded in the XML) and no e-mail is sent.

ParamètreTypeRequisDescription
itemsarray<object>ouiBetween 1 and 100 purchase items. Items beyond the 100th are ignored.
referenceYearintegernonCalendar year whose CBS/IBS transition rates are expected, 2026 to 2033. Defaults to the invoice's issue year, or 2026 when there is none. Drives the expected-credit figures and the 2027 projection.
buyerRegimeenum: "regime_regular" | "simples_nacional"nonTax regime of the buying company. 'regime_regular' (default) can take CBS/IBS credits, so missing highlights are a loss; 'simples_nacional' changes what counts as credit at risk.
supplierNamestringnonSupplier name for the alert and e-mail draft.
supplierCnpjstringnonSupplier CNPJ, 14 digits, for the alert.
supplierEmailstringnonOptional supplier e-mail, only used to prefill supplierAlert.emailDraft so the alert can be sent with the agent-email API. Nothing is sent by this tool.
accessKeystringnonOptional 44-digit access key of the related invoice; when given it is Mod-11 checked and returned in 'accessKeyAudit'.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http br-nfe-xml-auditor-x402 https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : br-nfe-xml-auditor-x402 ; URL : https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : br-nfe-xml-auditor-x402 ; Server URL : https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "br-nfe-xml-auditor-x402": {
      "url": "https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "br-nfe-xml-auditor-x402": {
      "type": "http",
      "url": "https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "br-nfe-xml-auditor-x402": {
      "url": "https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "br-nfe-xml-auditor-x402": {
      "httpUrl": "https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.br-nfe-xml-auditor-x402]
url = "https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

Brazil NF-e XML Auditor & Key Engine (x402) · L’Atlas · Test du

Markdown
[Brazil NF-e XML Auditor & Key Engine (x402) — L’Atlas](https://latlas.dev/mcp/io.github.brunopompeo1/br-nfe-xml-auditor-x402)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 3 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.