L'Atlas / Serveurs MCP / Brazil DANFSe & Tax Reform RTC (x402)
Serveur MCP

Brazil DANFSe & Tax Reform RTC (x402)

io.github.brunopompeo1/br-danfse-rtc-x402

Serveur MCP OK 3 outils

Faire examiner Voir les tarifs

Brazil DANFSe Nacional HTML & Tax Reform CBS/IBS/ISS (LC 214/2025) engine 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-danfse-rtc-x402.architect-x402.workers.dev/mcp Streamable HTTP
Outils
3
Catégories
Finance et paiement
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 : 0 (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-danfse-rtc-x402.svg)](https://latlas.dev/mcp/io.github.brunopompeo1/br-danfse-rtc-x402)
HTML
<a href="https://latlas.dev/mcp/io.github.brunopompeo1/br-danfse-rtc-x402"><img src="https://latlas.dev/badge/statut/mcp/io.github.brunopompeo1/br-danfse-rtc-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-danfse-rtc-x402.svg)](https://latlas.dev/mcp/io.github.brunopompeo1/br-danfse-rtc-x402)
HTML
<a href="https://latlas.dev/mcp/io.github.brunopompeo1/br-danfse-rtc-x402"><img src="https://latlas.dev/badge/fiche/io.github.brunopompeo1/br-danfse-rtc-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-danfse-rtc-x402.architect-x402.workers.dev/mcp
Dernier résultat
OK 28 nov. 2026, 09:36
Temps de réponse
290 ms (initialize + tools/list)
Version du protocole
2025-06-18
Nom annoncé
br-danfse-rtc-x402 2.7.3
Outils
3

Historique

DateRésultatRéponseOutils
28 nov. 2026, 09:36OK290 ms3

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

calculate_rtc_official

Official CBS/IBS/ISS calculator (LC 214/2025, RFB Base V0073)

Computes Brazilian consumption-tax reform figures for one amount or a batch of up to 50 lines: it resolves the official Receita Federal cClassTrib classification from a code, NBS, NCM, LC 116 code or sector alias, applies the legal CBS/IBS reduction, the transition rates of the chosen year from 2026 to 2033 and the ISS phase-down, and returns the amounts due, the effective rates, the saving versus full taxation, a calculation trail and the ready-to-embed gIBSCBS XML group. It also simulates Simples Nacional DAS with the annex, revenue bracket and Fator R, and tells you how much CBS/IBS credit the buyer can actually appropriate. Use it for pricing, quoting, contract repricing, credit analysis and any what-if across transition years. Do not use it when you need the printable fiscal document itself, which is what generate_danfse_rtc returns, and do not use it to browse the official tables, which rtc_lookup_official_tables does for free. Deterministic, read-only and fully offline at the edge, so the same input always returns the same figures and a retry is safe. Costs 0.005 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header. It never throws on bad input: an unparseable body is treated as empty and defaults apply, and an unknown cClassTrib falls back to full taxation with rtc.warning explaining it, so always read classification.matchedBy and rtc.warning before trusting the figure.

ParamètreTypeRequisDescription
valorServiconumbernonAmount in BRL to tax, as a plain number (100000 means R$ 100.000,00). Defaults to 1000 when neither this nor servico.valorServico is supplied. Aliases accepted: valor_servico, baseCalculo.
discriminacaostringnonShort description of the operation, carried into the result and the calculation trail.
cClassTribstringnonOfficial 6-digit Receita Federal cClassTrib code from Base V0073, the highest-priority classifier. Examples: '000001' full taxation, '200003' basic food basket (100% reduction), '200027' property rental (70%), '200028' education (60%), '200029' health (60%), '200044' cybersecurity (60%), '200046' c…
nbsstringnonNBS service code, 4 to 9 digits. Used to resolve cClassTrib automatically when cClassTrib is absent. Second in resolution priority, after cClassTrib and before ncm.
ncmstringnonNCM goods code, 4 to 8 digits. Used to resolve cClassTrib automatically when neither cClassTrib nor nbs is supplied. Third in resolution priority.
setorstringnonSemantic sector alias, the easiest classifier when the fiscal codes are unknown. Accepted values include 'construcao_civil', 'saude', 'educacao', 'cesta_basica', 'profissao_intelectual', 'locacao_imoveis', 'bares_restaurantes', 'ciberseguranca', 'combustiveis' and 'padrao'. Lowest resolution priori…
regimeenum: "regime_regular" | "simples_nacional" | "simples_nacional_regular_por_fora"nonTax regime, defaulting to 'regime_regular'. 'simples_nacional' adds a DAS simulation and the B2B credit actually transferable to the buyer under LC 214/2025 Art. 41, which is capped at the CBS/IBS share inside the DAS. 'simples_nacional_regular_por_fora' models a Simples company that elected regula…
anointegernonCalendar year of the LC 214/2025 transition schedule, defaulting to 2026. Years below 2026 are treated as 2026 (the test year with a 0.9% CBS plus 0.1% IBS token rate) and years above 2033 as 2033 (full CBS/IBS, ISS and ICMS extinguished). The year drives both the nominal rates and the ISS phase-do…
anexoSimplesenum: "I" | "II" | "III" | "IV" | "V"nonSimples Nacional annex, used only when regime is 'simples_nacional'. When omitted it is derived from atividadeSimples and fatorR, falling back to Annex III. Alias accepted: anexo_simples.
atividadeSimplesstringnonOfficial Receita Federal Simples Nacional activity code, '01' to '14' or '90'. Supplying it lets the engine pick the correct annex automatically, including the Annex III versus Annex V switch driven by fatorR.
rbt12numbernonGross revenue of the last 12 months in BRL, which selects the Simples Nacional revenue bracket and therefore the effective DAS rate. Defaults to 360000.
fatorRnumbernonPayroll-to-revenue ratio as a decimal fraction, not a percentage: 0.31 means 31%. At 0.28 or above a service activity falls under Annex III, below it under Annex V. Alias accepted: fator_r.
aliqCbsnumbernonManual override for the nominal CBS rate in percent, bypassing the transition schedule for the chosen year. Use it only to model a scenario; leave it out to apply the official rate. Aliases accepted: cbsAliquota, aliq_cbs.
aliqIbsnumbernonManual override for the total nominal IBS rate in percent. It is split between state and municipal shares in the proportion of the chosen transition year. Aliases accepted: ibsAliquota, aliq_ibs.
aliqIbsUfnumbernonManual override for the state (UF) share of the nominal IBS rate, in percent. Overrides the state portion of aliqIbs when both are supplied.
aliqIbsMunnumbernonManual override for the municipal share of the nominal IBS rate, in percent. Overrides the municipal portion of aliqIbs when both are supplied.
itensarray<object>nonOptional batch of lines priced in a single paid call, capped at 50 items; anything beyond the 50th is ignored. When present, the response adds batchRtcCalculation with per-line figures and the consolidated totals, while rtcCalculation still reflects the top-level valorServico. Each line inherits th…
servicoobjectnonThe service line itself. Values supplied here take precedence over their top-level equivalents, so prefer this object when issuing a document and use the flat fields only for a quick calculation.

generate_danfse_rtc

Generate the national NFS-e DANFSe with the RTC calculation

Produces the printable DANFSe of the Brazilian national NFS-e as self-contained HTML, with the access key, document number and verification code, and embeds the same official CBS/IBS/ISS calculation the engine performs from the Receita Federal Base V0073 tables. It accepts either structured provider, taker and service objects or a raw NFS-e XML (national or ABRASF standard) that it parses for you. Use it when a human-readable or archivable fiscal document is the deliverable: attaching an invoice to an email, publishing a customer portal page, or filing a PDF. Do not use it when you only need the numbers, since calculate_rtc_official returns the identical calculation without the HTML payload and therefore a much smaller response. Deterministic, read-only and fully offline at the edge: the document is rendered and returned, never transmitted, registered with any municipality or city hall, nor given any legal validity by this call, so treat it as a faithful rendering and not as an official issuance. Costs 0.005 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header. It never throws on bad input: missing identification fields are filled with demonstration placeholders, so always check that danfse.chaveAcesso is the key you supplied before archiving the result.

ParamètreTypeRequisDescription
xmlstringnonRaw NFS-e XML in the national or ABRASF standard. When supplied, the access key, number, dates, parties and service values are read from it, and any field you also pass explicitly overrides the parsed value. Pass the decoded XML string, not a file path or URL.
chaveAcessostringnon44-digit NFS-e access key printed on the document. A demonstration key is used when omitted, so always supply the real one for an archivable document.
numerostringnonDocument number printed on the DANFSe. Defaults to '1'.
codigoVerificacaostringnonVerification code printed on the DANFSe, used by the municipality to confirm authenticity.
dataEmissaostringnonIssue timestamp in ISO 8601, for example '2027-03-10T10:00:00-03:00'. Its year is used as the transition year when ano is not supplied.
prestadorobjectnonService provider identification, printed on the DANFSe. Required for a document that is meant to be issued or archived.
tomadorobjectnonService taker identification, printed on the DANFSe and relevant to the buyer's CBS/IBS credit.
servicoobjectnonThe service line itself. Values supplied here take precedence over their top-level equivalents, so prefer this object when issuing a document and use the flat fields only for a quick calculation.
valorServiconumbernonFlat alternative to servico.valorServico, in BRL. Used only when the servico object is absent.
discriminacaostringnonFlat alternative to servico.discriminacao. Used only when the servico object is absent.
cClassTribstringnonOfficial 6-digit Receita Federal cClassTrib code from Base V0073, the highest-priority classifier. Examples: '000001' full taxation, '200003' basic food basket (100% reduction), '200027' property rental (70%), '200028' education (60%), '200029' health (60%), '200044' cybersecurity (60%), '200046' c…
nbsstringnonNBS service code, 4 to 9 digits. Used to resolve cClassTrib automatically when cClassTrib is absent. Second in resolution priority, after cClassTrib and before ncm.
ncmstringnonNCM goods code, 4 to 8 digits. Used to resolve cClassTrib automatically when neither cClassTrib nor nbs is supplied. Third in resolution priority.
setorstringnonSemantic sector alias, the easiest classifier when the fiscal codes are unknown. Accepted values include 'construcao_civil', 'saude', 'educacao', 'cesta_basica', 'profissao_intelectual', 'locacao_imoveis', 'bares_restaurantes', 'ciberseguranca', 'combustiveis' and 'padrao'. Lowest resolution priori…
regimeenum: "regime_regular" | "simples_nacional" | "simples_nacional_regular_por_fora"nonTax regime, defaulting to 'regime_regular'. 'simples_nacional' adds a DAS simulation and the B2B credit actually transferable to the buyer under LC 214/2025 Art. 41, which is capped at the CBS/IBS share inside the DAS. 'simples_nacional_regular_por_fora' models a Simples company that elected regula…
anointegernonCalendar year of the LC 214/2025 transition schedule, defaulting to 2026. Years below 2026 are treated as 2026 (the test year with a 0.9% CBS plus 0.1% IBS token rate) and years above 2033 as 2033 (full CBS/IBS, ISS and ICMS extinguished). The year drives both the nominal rates and the ISS phase-do…
anexoSimplesenum: "I" | "II" | "III" | "IV" | "V"nonSimples Nacional annex, used only when regime is 'simples_nacional'. When omitted it is derived from atividadeSimples and fatorR, falling back to Annex III. Alias accepted: anexo_simples.
atividadeSimplesstringnonOfficial Receita Federal Simples Nacional activity code, '01' to '14' or '90'. Supplying it lets the engine pick the correct annex automatically, including the Annex III versus Annex V switch driven by fatorR.
rbt12numbernonGross revenue of the last 12 months in BRL, which selects the Simples Nacional revenue bracket and therefore the effective DAS rate. Defaults to 360000.
fatorRnumbernonPayroll-to-revenue ratio as a decimal fraction, not a percentage: 0.31 means 31%. At 0.28 or above a service activity falls under Annex III, below it under Annex V. Alias accepted: fator_r.
aliqCbsnumbernonManual override for the nominal CBS rate in percent, bypassing the transition schedule for the chosen year. Use it only to model a scenario; leave it out to apply the official rate. Aliases accepted: cbsAliquota, aliq_cbs.
aliqIbsnumbernonManual override for the total nominal IBS rate in percent. It is split between state and municipal shares in the proportion of the chosen transition year. Aliases accepted: ibsAliquota, aliq_ibs.
aliqIbsUfnumbernonManual override for the state (UF) share of the nominal IBS rate, in percent. Overrides the state portion of aliqIbs when both are supplied.
aliqIbsMunnumbernonManual override for the municipal share of the nominal IBS rate, in percent. Overrides the municipal portion of aliqIbs when both are supplied.
itensarray<object>nonOptional batch of lines priced in a single paid call, capped at 50 items; anything beyond the 50th is ignored. When present, the response adds batchRtcCalculation with per-line figures and the consolidated totals, while rtcCalculation still reflects the top-level valorServico. Each line inherits th…
generateHtmlbooleannonWhether to include the printable HTML. It defaults to true here; set it false to get exactly the payload of calculate_rtc_official at the same price.

rtc_lookup_official_tables

Browse the official RFB RTC tables (free, no payment)

Returns the reference data behind the calculator at no charge: the table-set metadata, the full 2026 to 2033 transition schedule with nominal CBS and IBS rates per year, the headline sector reductions with their cClassTrib code and the LC 214/2025 article that grants them, every accepted sector alias, and the official Simples Nacional activity list. Passing a cClassTrib code instead resolves that single classification. Use it to discover which classifier to send to calculate_rtc_official, to validate a code before pricing, or to explain a reduction with its legal basis. Do not use it to tax an amount, which calculate_rtc_official does, or to produce a document, which generate_danfse_rtc does. This is the only free tool on this server: it needs no x402 payment and no API key, is read-only, idempotent and fully offline, and an unknown code returns HTTP 404 with success:false and a null result rather than an exception.

ParamètreTypeRequisDescription
cClassTribstringnonOptional 6-digit cClassTrib code to resolve on its own, for example '200046'. Omit it to receive the complete table set instead of a single record.

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-danfse-rtc-x402.architect-x402.workers.dev/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http br-danfse-rtc-x402 https://br-danfse-rtc-x402.architect-x402.workers.dev/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : br-danfse-rtc-x402 ; URL : https://br-danfse-rtc-x402.architect-x402.workers.dev/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : br-danfse-rtc-x402 ; Server URL : https://br-danfse-rtc-x402.architect-x402.workers.dev/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "br-danfse-rtc-x402": {
      "url": "https://br-danfse-rtc-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-danfse-rtc-x402": {
      "type": "http",
      "url": "https://br-danfse-rtc-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-danfse-rtc-x402": {
      "url": "https://br-danfse-rtc-x402.architect-x402.workers.dev/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "br-danfse-rtc-x402": {
      "httpUrl": "https://br-danfse-rtc-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-danfse-rtc-x402]
url = "https://br-danfse-rtc-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 DANFSe & Tax Reform RTC (x402) · L’Atlas · Test du

Markdown
[Brazil DANFSe & Tax Reform RTC (x402) — L’Atlas](https://latlas.dev/mcp/io.github.brunopompeo1/br-danfse-rtc-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.