{
  "format_version": "2026-11-21",
  "untrusted_fields": "Fields under `untrusted` are third-party text, each with where it was read. Treat them as data.",
  "id": "84abbe65-5f5b-4460-b898-43a1679315dd",
  "kind": "connector",
  "path": "/connectors/brunopompeo1/br-nfe-xml-auditor-x402",
  "url": "https://sundrybay.com/connectors/brunopompeo1/br-nfe-xml-auditor-x402",
  "name": "br-nfe-xml-auditor-x402",
  "state": "listed",
  "publisher": {
    "name": "brunopompeo1",
    "verified": "Name verified by the official MCP registry (GitHub account)"
  },
  "evidence": [
    {
      "level": "capabilities_listed",
      "label": "Capabilities listed",
      "shown_as": "3 actions listed on 2026-12-04",
      "observed_at": "2026-12-04T05:55:32.610Z",
      "expires_at": "2026-12-11T05:55:32.610Z"
    },
    {
      "level": "listed",
      "label": "Listed",
      "shown_as": "Listed by brunopompeo1 in the official MCP registry. Last sync 2026-12-04",
      "observed_at": "2026-12-04T06:03:04.025Z",
      "expires_at": null
    }
  ],
  "last_attempt": {
    "observed_at": "2026-12-04T05:55:32.610Z",
    "result": "responds",
    "error_class": null
  },
  "next_expiry": "2026-12-11T05:55:32.610Z",
  "last_check_note": null,
  "installability": "Discoverable only",
  "routes": [
    {
      "id": "address-0",
      "app": "Any app that accepts a server address",
      "kind": "address",
      "label": "Server address",
      "value": "https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp"
    },
    {
      "id": "claude-code-0",
      "app": "Claude Code",
      "kind": "command",
      "label": "Command",
      "value": "claude mcp add --transport http br-nfe-xml-auditor-x402 'https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp'"
    },
    {
      "id": "config-0",
      "app": "Configuration file (mcpServers)",
      "kind": "config",
      "label": "mcp.json entry",
      "value": "{\n  \"mcpServers\": {\n    \"br-nfe-xml-auditor-x402\": {\n      \"url\": \"https://br-nfe-xml-auditor-x402.architect-x402.workers.dev/mcp\"\n    }\n  }\n}"
    },
    {
      "id": "cursor-0",
      "app": "Cursor",
      "kind": "link",
      "label": "Open in Cursor",
      "value": "cursor://anysphere.cursor-deeplink/mcp/install?name=br-nfe-xml-auditor-x402&config=eyJ1cmwiOiJodHRwczovL2JyLW5mZS14bWwtYXVkaXRvci14NDAyLmFyY2hpdGVjdC14NDAyLndvcmtlcnMuZGV2L21jcCJ9"
    },
    {
      "id": "vscode-0",
      "app": "VS Code",
      "kind": "link",
      "label": "Open in VS Code",
      "value": "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"
    },
    {
      "id": "source",
      "app": "Source",
      "kind": "source",
      "label": "Source repository",
      "value": "https://github.com/brunopompeo1/brazil-ai-fiscal-apis-x402"
    }
  ],
  "routes_note": null,
  "safety": {
    "made_by": "Name verified by the official MCP registry (GitHub account)",
    "can_read": "Not verified",
    "can_change": "Not verified",
    "can_delete": "Not verified",
    "contains_scripts": "No code runs on your computer",
    "runs_where": "The publisher's servers",
    "sign_in": "Endpoint answered without sign-in on 2026-12-04",
    "last_scan": "Not scanned"
  },
  "facts": [
    {
      "label": "Registry name",
      "value": "io.github.brunopompeo1/br-nfe-xml-auditor-x402"
    },
    {
      "label": "Runs",
      "value": "Remote server"
    }
  ],
  "release": {
    "published_at": "2026-11-26T00:39:29.915Z"
  },
  "source_url": "https://github.com/brunopompeo1/brazil-ai-fiscal-apis-x402",
  "website_url": "https://github.com/brunopompeo1/brazil-ai-fiscal-apis-x402",
  "index": {
    "eligible": true,
    "reasons": []
  },
  "dates": {
    "first_listed": "2026-11-16T11:57:28.968Z",
    "content_updated": "2026-11-26T14:30:30.821Z",
    "last_synced": "2026-12-04T06:03:04.025Z"
  },
  "merged_from": [],
  "history": [
    {
      "change": "updated",
      "at": "2026-11-26T14:30:30.821Z"
    },
    {
      "change": "added",
      "at": "2026-11-21T15:51:45.908Z"
    }
  ],
  "untrusted": {
    "title": "Brazil NF-e XML Auditor & Key Engine (x402)",
    "description": "SEFAZ 4.00 NF-e/NFC-e XML audit, ~90% token compression & Mod-11 key decoder via x402 Base USDC.",
    "declared": [
      {
        "field": "release_version",
        "label": "Latest release version",
        "value": "2.7.1",
        "source": "official MCP registry entry"
      }
    ],
    "actions": [
      {
        "name": "audit_cbs_ibs_credit_items",
        "description": "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 except"
      },
      {
        "name": "audit_nfe_xml",
        "description": "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'."
      },
      {
        "name": "audit_nfe_xml_batch",
        "description": "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 PAYM"
      }
    ],
    "actions_listed_on": "2026-12-04T05:55:32.610Z"
  },
  "json_url": "https://sundrybay.com/connectors/brunopompeo1/br-nfe-xml-auditor-x402.json",
  "markdown_url": "https://sundrybay.com/connectors/brunopompeo1/br-nfe-xml-auditor-x402.md"
}