protogrid

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

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

R0· no sign-in

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

v2.7.1 · active · repository · website · descriptor JSON · versions

An agent can connect right now, no human step.Remote endpoint, no authentication, reachable on the last probe.
Quality89good
Trust92of 100
Uptime, 30 days96%
Latency p50140 msp95 854 ms

Connect

8 clients · secrets stay placeholders
Add to CursorAdd to VS Codeopens the client, which asks before adding the server
{
  "mcpServers": {
    "br-nfe-xml-auditor-x402": {
      "type": "http",
      "url": "https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp"
    }
  }
}
claude mcp add --transport http br-nfe-xml-auditor-x402 https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp
[mcp_servers.br-nfe-xml-auditor-x402]
url = "https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp"
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "br-nfe-xml-auditor-x402": {
      "type": "remote",
      "url": "https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp",
      "enabled": true
    }
  }
}
{
  "mcpServers": {
    "br-nfe-xml-auditor-x402": {
      "type": "http",
      "url": "https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp"
    }
  },
  "deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=br-nfe-xml-auditor-x402&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vYnItbmZlLXhtbC1hdWRpdG9yLXg0MDIuYXJjaGl0ZWN0LXg0MDIud29ya2Vycy5kZXYvbWNwIn0%3D"
}
{
  "servers": {
    "br-nfe-xml-auditor-x402": {
      "type": "http",
      "url": "https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp"
    }
  },
  "deeplink": "vscode:mcp/install?%7B%22name%22%3A%22br-nfe-xml-auditor-x402%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fbr-nfe-xml-auditor-x402.architect-x402.workers.dev%2Fmcp%22%7D"
}
{
  "mcpServers": {
    "br-nfe-xml-auditor-x402": {
      "httpUrl": "https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp"
    }
  }
}
extensions:
  "br-nfe-xml-auditor-x402":
    enabled: true
    name: "br-nfe-xml-auditor-x402"
    type: streamable_http
    uri: "https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp"
    timeout: 300

Quality 89 / 100good

protocol75 · weight 25
  • warn
    protocol.modernnewest supported version is 2025-06-18; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
  • n/a
    protocol.statelessonly applies to 2026-07-28 servers
  • pass
    protocol.transportstreamable HTTP
  • n/a
    protocol.list_ttlonly applies to 2026-07-28 servers
authorizationn/a · weight 15
  • n/a
    auth.prm, auth.as_metadata, auth.cimdno remote uses OAuth
  • n/a
    auth.secret_in_urlno templated URL
tool hygiene94 · weight 30
  • pass
    tools.descriptionsevery tool has a description
  • warn
    tools.description_length3 tools have descriptions over 1,024 characters, which crowds the context
  • pass
    tools.schemasevery tool has an object input schema
  • pass
    tools.annotations3 of 3 tools declare readOnlyHint or destructiveHint
  • pass
    tools.directory_hintsevery tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
  • pass
    tools.token_costabout 2,503 tokens to load every tool
  • pass
    tools.api_dumptools are not a one-to-one API dump
  • pass
    tools.hidden_textno hidden text in tool names, descriptions, schemas or annotations
  • pass
    tools.poisoningno instructions aimed at the model in tool definitions
stability100 · weight 15
  • pass
    stability.changes5 tool changes in 30 days
  • pass
    stability.rug_pullno tool changed its meaning under the same name
  • pass
    stability.new_linksno tool change named a new site
dependenciesn/a · weight 15
  • n/a
    deps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI package

3 tools, about 2,503 tokens to load them all · tool set 64ca76a9886a · tools last changed 2026-11-25 · checked 2026-11-29 14:15 UTC

Definition changes

  • br_nfe_xml_auditorremoved

    Brazilian NF-e/NFC-e XML-to-JSON compressor (~90% token savings), mathematical & CFOP tax auditor, 44-digit Access Key Mod-11 decoder, and LC 214/2025 CBS/IBS Tax Credit Auditor (single XML, batch xmls[], or direct items[]) with ready-to-send supplierAlert (0.01 USDC via x402 on Base).

  • audit_cbs_ibs_credit_itemsadded

    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.

  • audit_nfe_xml_batchadded

    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.

  • audit_nfe_xmladded

    Parses one Brazilian NF-e (model 55) or NFC-e (model 65) XML in SEFAZ layout 4.00, including the 2025 tax-reform <IBSCBS> 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.

  • br_nfe_xml_auditorchangeddescription, input schema
    before

    Brazilian NF-e/NFC-e XML-to-JSON compressor (~90% token savings), mathematical & CFOP tax auditor, and 44-digit Access Key Mod-11 decoder (0.01 USDC via x402 on Base).

    after · 65% of words in common

    Brazilian NF-e/NFC-e XML-to-JSON compressor (~90% token savings), mathematical & CFOP tax auditor, 44-digit Access Key Mod-11 decoder, and LC 214/2025 CBS/IBS Tax Credit Auditor (single XML, batch xmls[], or direct items[]) with ready-to-send supplierAlert (0.01 USDC via x402 on Base).

Full history: list_changes · trend: quality JSON.

Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.

Trust 92 / 100

duplicate-repo
provenance90
liveness98
freshness100
hygiene80

+repository +namespace-matches-repo +website +reachable +uptime-96% +updated-4d-ago -duplicate-repo(13 names)

Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.

Endpoints

Last 30 days96% of probes answered
remoteauthreachableuptime 30dp50p95protocollast ok
https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp streamable-httpnoneyes96%140 ms854 ms2025-06-182026-11-29

Tools (3)

audit_cbs_ibs_credit_itemsread-onlyAudits 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.
audit_nfe_xmlread-onlyParses one Brazilian NF-e (model 55) or NFC-e (model 65) XML in SEFAZ layout 4.00, including the 2025 tax-reform <IBSCBS> 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.
audit_nfe_xml_batchread-onlyAudits 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.

Schemas: list_tools.

Also listed as

12 other active names share this repository (showing 10): io.github.brunopompeo1/agent-email-x402, io.github.brunopompeo1/agent-guard-x402, io.github.brunopompeo1/base-defi-shield-x402, io.github.brunopompeo1/brazil-ai-x402-mcp, io.github.brunopompeo1/br-business-intel-x402, io.github.brunopompeo1/br-danfse-rtc-x402, io.github.brunopompeo1/br-docs-parser-x402, io.github.brunopompeo1/br-fin-calculators-x402, io.github.brunopompeo1/br-tax-payroll-calc-x402, io.github.brunopompeo1/crypto-perp-pulse-x402

Similar MCP servers

More from io.github.brunopompeo1

And 6 more from this publisher.

Official server.json
{
  "name": "io.github.brunopompeo1/br-nfe-xml-auditor-x402",
  "_meta": {
    "io.modelcontextprotocol.registry/publisher-provided": {
      "x402": {
        "llmsUrl": "https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/llms.txt",
        "network": "eip155:8453",
        "currency": "USDC",
        "protocol": "x402-v2",
        "priceUsdc": "0.01",
        "sampleUrl": "https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/sample",
        "openApiUrl": "https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/openapi.json",
        "prepaidKeyByCard": "https://credits.brunopompeo.com.br/card?pack=1"
      }
    }
  },
  "title": "Brazil NF-e XML Auditor & Key Engine (x402)",
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "remotes": [
    {
      "url": "https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp",
      "type": "streamable-http"
    }
  ],
  "version": "2.7.1",
  "repository": {
    "id": "1458965478",
    "url": "https://github.com/brunopompeo1/brazil-ai-fiscal-apis-x402",
    "source": "github"
  },
  "websiteUrl": "https://github.com/brunopompeo1/brazil-ai-fiscal-apis-x402",
  "description": "SEFAZ 4.00 NF-e/NFC-e XML audit, ~90% token compression & Mod-11 key decoder via x402 Base USDC."
}