Brazil Tax & Payroll Engine (x402)
io.github.brunopompeo1/br-tax-payroll-calc-x402
Serveur MCP OK 3 outils
Simples Nacional (Fator R), progressive INSS/IRRF, FGTS & B2B NFS-e tax 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-tax-payroll-calc-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
[](https://latlas.dev/mcp/io.github.brunopompeo1/br-tax-payroll-calc-x402)<a href="https://latlas.dev/mcp/io.github.brunopompeo1/br-tax-payroll-calc-x402"><img src="https://latlas.dev/badge/statut/mcp/io.github.brunopompeo1/br-tax-payroll-calc-x402.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.brunopompeo1/br-tax-payroll-calc-x402)<a href="https://latlas.dev/mcp/io.github.brunopompeo1/br-tax-payroll-calc-x402"><img src="https://latlas.dev/badge/fiche/io.github.brunopompeo1/br-tax-payroll-calc-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-tax-payroll-calc-x402.architect-x402.workers.dev/mcp
- Dernier résultat
- OK 28 nov. 2026, 10:43
- Temps de réponse
- 253 ms (initialize + tools/list)
- Version du protocole
- 2025-06-18
- Nom annoncé
- br-tax-payroll-calc-x402 2.7.1
- Outils
- 3
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 10:43 | OK | 253 ms | 3 |
Outils exposés (3, réponse à tools/list, 28 nov. 2026)
calculate_simples_nacional_das
Estimate the monthly Simples Nacional DAS, bracket and effective rate
Computes the monthly DAS of a Brazilian Simples Nacional company from its revenue of the last 12 months (RBT12) and the month's revenue: it picks the bracket of the chosen anexo, applies the fixed deduction to get the effective rate, and, when you send the 12-month payroll, applies the 28% Fator R rule that moves service companies between Anexo III and Anexo V. It also flags the BRL 3.6 million sublimit and the BRL 4.8 million ceiling. Use it for monthly tax provisioning, pricing a service, or deciding whether raising pro-labore to reach Fator R pays off. Do not use it for Lucro Presumido or Lucro Real companies, for an MEI, whose DAS is a fixed monthly amount, or to file or pay the DAS, which happens on PGDAS-D. Read 'simplesNacional'. 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, and every failure is a JSON body with 'error', so an agent loop never breaks on a thrown error. Deterministic arithmetic at the edge: nothing is stored or filed, no government system is contacted, and the same input always gives the same numbers. Results are estimates for planning and reconciliation, not a substitute for an accountant's sign-off.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| rbt12 | number | oui | Gross revenue of the 12 months before the assessed month, in BRL, for example 720000. Selects the bracket; above 4800000 the company is outside the Simples and 'alert' says so. |
| monthlyRevenue | number | oui | Revenue of the month being assessed, in BRL. The DAS is this amount times the effective rate. |
| anexo | enum: "I" | "II" | "III" | "IV" | "V" | "auto" | non | Anexo of the activity: I commerce, II industry, III and V services, IV construction, cleaning and security. 'auto' (default) chooses between III and V by Fator R, falling back to V without payroll12m. |
| payroll12m | number | non | Total payroll of the last 12 months, in BRL, including pro-labore and INSS employer charges. Needed for the Fator R; when given it decides between III and V even if anexo says otherwise. |
| aiSummary | boolean | non | When true (the default) the response carries 'aiExecutiveBrief', one Portuguese sentence of at most 35 words with the key amounts, written by an edge model with a deterministic fallback. Set false to skip it when you only need the numbers. |
calculate_payroll_net_salary
Calculate INSS, IRRF, net salary and employer FGTS for one salary
Calculates the monthly payroll deductions of one Brazilian salary or pro-labore under the 2025-2026 tables: progressive employee INSS up to the ceiling, IRRF choosing automatically whichever of the legal deductions or the BRL 607.20 simplified discount is cheaper, the resulting net salary and the employer's 8% FGTS deposit. Use it to show an employee or candidate their take-home pay, to compare CLT with pro-labore, or to check a payslip. Do not use it for 13th salary, vacation pay, termination amounts, overtime or benefits, which are not modelled, or for the employer's own 20% INSS and third-party charges, which are not returned. Read 'payrollCalc'. 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, and every failure is a JSON body with 'error', so an agent loop never breaks on a thrown error. Deterministic arithmetic at the edge: nothing is stored or filed, no government system is contacted, and the same input always gives the same numbers. Results are estimates for planning and reconciliation, not a substitute for an accountant's sign-off.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| grossSalary | number | oui | Monthly gross salary or pro-labore, in BRL, for example 6500. |
| dependents | integer | non | Number of IRRF dependents; each deducts BRL 189.59 from the tax base. |
| otherDeductions | number | non | Other legal monthly deductions in BRL, such as court-ordered alimony. |
| isProLabore | boolean | non | True for a partner's pro-labore: INSS becomes a flat 11% capped at the ceiling and no FGTS is due. |
| aiSummary | boolean | non | When true (the default) the response carries 'aiExecutiveBrief', one Portuguese sentence of at most 35 words with the key amounts, written by an edge model with a deterministic fallback. Set false to skip it when you only need the numbers. |
calculate_nfse_withholdings
Calculate IRRF, CSRF (PIS/COFINS/CSLL), INSS and ISS withheld on a B2B service invoice
Calculates the taxes a Brazilian company must withhold when paying a B2B service invoice (NFS-e): IRRF at 1.5% or 1%, CSRF at 4.65% split into PIS, COFINS and CSLL, INSS at 11% on labour-supply services, and ISS when the buyer retains it, applying the BRL 10.00 minimum waivers and exempting Simples Nacional providers from the federal withholdings; it returns the net amount to transfer. Use it in accounts payable before paying a supplier, or on the provider side to predict what will reach the bank. Do not use it for goods (NF-e), for payments to individuals, or to decide the municipality's ISS rate, which you must pass in. Read 'nfseRetentions'. 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, and every failure is a JSON body with 'error', so an agent loop never breaks on a thrown error. Deterministic arithmetic at the edge: nothing is stored or filed, no government system is contacted, and the same input always gives the same numbers. Results are estimates for planning and reconciliation, not a substitute for an accountant's sign-off.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| invoiceAmount | number | oui | Gross amount of the service invoice, in BRL, for example 15000. |
| serviceType | enum: "geral" | "consultoria_ti_contabil" | "limpeza_vigilancia" | non | 'consultoria_ti_contabil' (default) for professional, IT and accounting services: IRRF 1.5% + CSRF 4.65%. 'limpeza_vigilancia' for cleaning, security and labour supply: IRRF 1% + CSRF 4.65% + INSS 11%. 'geral' for other services: IRRF 1.5% only. |
| isSimplesNacional | boolean | non | True when the provider is a Simples Nacional company, which removes IRRF, CSRF and INSS withholding. |
| retainIss | boolean | non | True when the buyer withholds ISS at source, as many municipalities require for out-of-town providers. |
| issRatePct | number | non | Municipal ISS rate in percent, between 2 and 5 by law; values above 5 are capped at 5. Used only when retainIss is true. |
| aiSummary | boolean | non | When true (the default) the response carries 'aiExecutiveBrief', one Portuguese sentence of at most 35 words with the key amounts, written by an edge model with a deterministic fallback. Set false to skip it when you only need the numbers. |
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.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://br-tax-payroll-calc-x402.architect-x402.workers.dev/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http br-tax-payroll-calc-x402 https://br-tax-payroll-calc-x402.architect-x402.workers.dev/mcpCustomize > Connectors > + Add > Add custom connector ; Name : br-tax-payroll-calc-x402 ; URL : https://br-tax-payroll-calc-x402.architect-x402.workers.dev/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : br-tax-payroll-calc-x402 ; Server URL : https://br-tax-payroll-calc-x402.architect-x402.workers.dev/mcp ; Create as a plugin{
"mcpServers": {
"br-tax-payroll-calc-x402": {
"url": "https://br-tax-payroll-calc-x402.architect-x402.workers.dev/mcp"
}
}
}{
"mcpServers": {
"br-tax-payroll-calc-x402": {
"type": "http",
"url": "https://br-tax-payroll-calc-x402.architect-x402.workers.dev/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"br-tax-payroll-calc-x402": {
"url": "https://br-tax-payroll-calc-x402.architect-x402.workers.dev/mcp"
}
}
}{
"mcpServers": {
"br-tax-payroll-calc-x402": {
"httpUrl": "https://br-tax-payroll-calc-x402.architect-x402.workers.dev/mcp"
}
}
}[mcp_servers.br-tax-payroll-calc-x402]
url = "https://br-tax-payroll-calc-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 Tax & Payroll Engine (x402) · L’Atlas · Test du
[Brazil Tax & Payroll Engine (x402) — L’Atlas](https://latlas.dev/mcp/io.github.brunopompeo1/br-tax-payroll-calc-x402)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.