Brazil Boleto, DARF & NF-e Key Parser (x402)
io.github.brunopompeo1/br-docs-parser-x402
MCP server OK 3 tools
FEBRABAN boleto (post-Feb/2025), DARF/FGTS/IPTU tax slip & NF-e key parser via x402 Base USDC.
Technical sheet
- Author
- brunopompeo1 (registry namespace)
- Repository
- github.com/brunopompeo1/brazil-ai-fiscal-apis-x402
- Site
- github.com/brunopompeo1/brazil-ai-fiscal-apis-x402
- Version
- 2.7.1
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://br-docs-parser-x402.architect-x402.workers.dev/mcp Streamable HTTP
- Tools
- 3
- Categories
- Finance and payments
- Last updated
- 26 Nov 2026
- Published
- 26 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.brunopompeo1/br-docs-parser-x402)<a href="https://latlas.dev/en/mcp/io.github.brunopompeo1/br-docs-parser-x402"><img src="https://latlas.dev/badge/statut/mcp/io.github.brunopompeo1/br-docs-parser-x402.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.brunopompeo1/br-docs-parser-x402)<a href="https://latlas.dev/en/mcp/io.github.brunopompeo1/br-docs-parser-x402"><img src="https://latlas.dev/badge/fiche/io.github.brunopompeo1/br-docs-parser-x402.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://br-docs-parser-x402.architect-x402.workers.dev/mcp
- Last result
- OK 28 Nov 2026, 10:09
- Response time
- 319 ms (initialize + tools/list)
- Protocol version
- 2025-06-18
- Announced name
- br-docs-parser-x402 2.7.1
- Tools
- 3
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 10:09 | OK | 319 ms | 3 |
Exposed tools (3, from tools/list, 28 Nov 2026)
decode_bank_boleto
Decode and validate a Brazilian bank boleto
Decodes a Brazilian FEBRABAN bank boleto from its 47-digit digitable line or its 44-digit barcode and checks every check digit, returning the bank name, the amount in reais, the due date under the post-February-2025 factor reset, the free field and both the formatted line and the barcode. Use it before paying or booking a bill, to read amount and due date from a code typed by a person or extracted by OCR, or to convert a line into a barcode. Do not use it for a slip whose line starts with 8, such as a DARF, a utility bill or a city tax, which is a tax or utility slip and belongs to decode_tax_utility_slip, and do not expect payer, beneficiary or payment status, which are not encoded in the digits. Formatting characters such as dots and spaces are ignored. Read 'isValid' and 'boleto'. Costs 0.008 USDC per call, paid with x402 v2 on Base (eip155:8453) or with a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header instead of an exception. A missing or empty 'code' is rejected with HTTP 400 before any charge; a code that is paid for but cannot be decoded comes back as HTTP 422 with success false and 'error', so an agent loop never breaks on a thrown error. Pure computation at the edge: nothing is stored, no bank, SEFAZ or Receita system is contacted, and the same code always yields the same result.
| Parameter | Type | Required | Description |
|---|---|---|---|
| code | string | yes | The boleto's 47-digit digitable line, such as '23793.38128 60082.677139 66003.996703 1 99780000012345', or its 44-digit barcode. Dots, spaces and dashes are stripped before parsing; any other digit count returns HTTP 422 with 'Comprimento inválido para boleto'. |
| aiSummary | boolean | no | When true (the default) the response carries 'aiExecutiveBrief', one Portuguese sentence of at most 30 words naming the document type, issuer, amount, due date and whether the check digits are valid, written by an edge model with a deterministic fallback. Set false to skip it and shave a few hundre… |
decode_tax_utility_slip
Decode a Brazilian tax or utility slip (DARF, FGTS, IPTU, power, water)
Decodes a Brazilian collection slip (guia de arrecadação) from its 48-digit line or 44-digit barcode, both starting with 8: federal and municipal taxes such as DARF, GPS, FGTS, IPTU and ISS, traffic fines, and power, water, gas and telecom bills. It identifies the segment and the collecting agency, extracts the amount in reais when one is encoded, picks Mod-10 or Mod-11 from the third digit and checks all four block digits and the general digit. Use it to confirm a tax or utility payment before sending it, or to read the amount from a code captured by OCR. Do not use it for a bank boleto, whose line starts with the bank code and has 47 digits, which belongs to decode_bank_boleto; and note that these slips do not encode a due date, so none is returned. Read 'isValid' and 'arrecadacao'. Costs 0.008 USDC per call, paid with x402 v2 on Base (eip155:8453) or with a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header instead of an exception. A missing or empty 'code' is rejected with HTTP 400 before any charge; a code that is paid for but cannot be decoded comes back as HTTP 422 with success false and 'error', so an agent loop never breaks on a thrown error. Pure computation at the edge: nothing is stored, no bank, SEFAZ or Receita system is contacted, and the same code always yields the same result.
| Parameter | Type | Required | Description |
|---|---|---|---|
| code | string | yes | The slip's 48-digit line in four blocks of 12, such as '85890000460-9 52460179160-5 60759305086-5 83148300001-0', or its 44-digit barcode; both start with 8. Formatting is stripped; any other digit count returns HTTP 422 with 'Comprimento inválido para guia de arrecadação'. |
| aiSummary | boolean | no | When true (the default) the response carries 'aiExecutiveBrief', one Portuguese sentence of at most 30 words naming the document type, issuer, amount, due date and whether the check digits are valid, written by an edge model with a deterministic fallback. Set false to skip it and shave a few hundre… |
validate_nfe_access_key
Validate and decode a 44-digit NF-e, NFC-e or CT-e access key
Validates the Mod-11 check digit, the IBGE state code and the month of a 44-digit Brazilian fiscal document access key (NF-e model 55, NFC-e model 65, CT-e model 57) and splits it into issuer state, issue month, issuer CNPJ, model, series, invoice number, emission type and numeric code. Use it to reject a mistyped or fabricated key before querying SEFAZ or importing an invoice, or to find the issuer CNPJ and invoice number from a key alone. Do not use it to check whether the invoice was authorised, cancelled or denied, because nothing is queried at SEFAZ: a valid key only proves the digits are well formed; to audit the full XML use the br-nfe-xml-auditor API instead. Read 'isValid' and 'nfeKey'. Costs 0.008 USDC per call, paid with x402 v2 on Base (eip155:8453) or with a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header instead of an exception. A missing or empty 'code' is rejected with HTTP 400 before any charge; a code that is paid for but cannot be decoded comes back as HTTP 422 with success false and 'error', so an agent loop never breaks on a thrown error. Pure computation at the edge: nothing is stored, no bank, SEFAZ or Receita system is contacted, and the same code always yields the same result.
| Parameter | Type | Required | Description |
|---|---|---|---|
| code | string | yes | The 44-digit access key printed on the DANFE or found in the XML 'Id' attribute after the 'NFe' prefix, such as '4323 1012 3456 7800 0199 5500 1000 0012 3410 0000 1234'. Spaces are stripped; any other digit count returns HTTP 422 with 'Chave NF-e/CT-e deve ter 44 dígitos'. |
| aiSummary | boolean | no | When true (the default) the response carries 'aiExecutiveBrief', one Portuguese sentence of at most 30 words naming the document type, issuer, amount, due date and whether the check digits are valid, written by an edge model with a deterministic fallback. Set false to skip it and shave a few hundre… |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://br-docs-parser-x402.architect-x402.workers.dev/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http br-docs-parser-x402 https://br-docs-parser-x402.architect-x402.workers.dev/mcpCustomize > Connectors > + Add > Add custom connector ; Name : br-docs-parser-x402 ; URL : https://br-docs-parser-x402.architect-x402.workers.dev/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : br-docs-parser-x402 ; Server URL : https://br-docs-parser-x402.architect-x402.workers.dev/mcp ; Create as a plugin{
"mcpServers": {
"br-docs-parser-x402": {
"url": "https://br-docs-parser-x402.architect-x402.workers.dev/mcp"
}
}
}{
"mcpServers": {
"br-docs-parser-x402": {
"type": "http",
"url": "https://br-docs-parser-x402.architect-x402.workers.dev/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"br-docs-parser-x402": {
"url": "https://br-docs-parser-x402.architect-x402.workers.dev/mcp"
}
}
}{
"mcpServers": {
"br-docs-parser-x402": {
"httpUrl": "https://br-docs-parser-x402.architect-x402.workers.dev/mcp"
}
}
}[mcp_servers.br-docs-parser-x402]
url = "https://br-docs-parser-x402.architect-x402.workers.dev/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Brazil Boleto, DARF & NF-e Key Parser (x402) · L’Atlas · Tested on
[Brazil Boleto, DARF & NF-e Key Parser (x402) — L’Atlas](https://latlas.dev/en/mcp/io.github.brunopompeo1/br-docs-parser-x402)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.