L'Atlas / MCP servers / Brazil Tax & Payroll Engine (x402)
MCP server

Brazil Tax & Payroll Engine (x402)

io.github.brunopompeo1/br-tax-payroll-calc-x402

MCP server OK 3 tools

Get a review See pricing

Simples Nacional (Fator R), progressive INSS/IRRF, FGTS & B2B NFS-e tax engine 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-tax-payroll-calc-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

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.brunopompeo1/br-tax-payroll-calc-x402.svg?lang=en)](https://latlas.dev/en/mcp/io.github.brunopompeo1/br-tax-payroll-calc-x402)
HTML
<a href="https://latlas.dev/en/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?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.brunopompeo1/br-tax-payroll-calc-x402.svg?lang=en)](https://latlas.dev/en/mcp/io.github.brunopompeo1/br-tax-payroll-calc-x402)
HTML
<a href="https://latlas.dev/en/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?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-tax-payroll-calc-x402.architect-x402.workers.dev/mcp
Last result
OK 28 Nov 2026, 10:43
Response time
253 ms (initialize + tools/list)
Protocol version
2025-06-18
Announced name
br-tax-payroll-calc-x402 2.7.1
Tools
3

History

DateResultResponseTools
28 Nov 2026, 10:43OK253 ms3

Exposed tools (3, from 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.

ParameterTypeRequiredDescription
rbt12numberyesGross 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.
monthlyRevenuenumberyesRevenue of the month being assessed, in BRL. The DAS is this amount times the effective rate.
anexoenum: "I" | "II" | "III" | "IV" | "V" | "auto"noAnexo 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.
payroll12mnumbernoTotal 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.
aiSummarybooleannoWhen 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.

ParameterTypeRequiredDescription
grossSalarynumberyesMonthly gross salary or pro-labore, in BRL, for example 6500.
dependentsintegernoNumber of IRRF dependents; each deducts BRL 189.59 from the tax base.
otherDeductionsnumbernoOther legal monthly deductions in BRL, such as court-ordered alimony.
isProLaborebooleannoTrue for a partner's pro-labore: INSS becomes a flat 11% capped at the ceiling and no FGTS is due.
aiSummarybooleannoWhen 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.

ParameterTypeRequiredDescription
invoiceAmountnumberyesGross amount of the service invoice, in BRL, for example 15000.
serviceTypeenum: "geral" | "consultoria_ti_contabil" | "limpeza_vigilancia"no'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.
isSimplesNacionalbooleannoTrue when the provider is a Simples Nacional company, which removes IRRF, CSRF and INSS withholding.
retainIssbooleannoTrue when the buyer withholds ISS at source, as many municipalities require for out-of-town providers.
issRatePctnumbernoMunicipal ISS rate in percent, between 2 and 5 by law; values above 5 are capped at 5. Used only when retainIss is true.
aiSummarybooleannoWhen 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.

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://br-tax-payroll-calc-x402.architect-x402.workers.dev/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http br-tax-payroll-calc-x402 https://br-tax-payroll-calc-x402.architect-x402.workers.dev/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : br-tax-payroll-calc-x402 ; URL : https://br-tax-payroll-calc-x402.architect-x402.workers.dev/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.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
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "br-tax-payroll-calc-x402": {
      "url": "https://br-tax-payroll-calc-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-tax-payroll-calc-x402": {
      "type": "http",
      "url": "https://br-tax-payroll-calc-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-tax-payroll-calc-x402": {
      "url": "https://br-tax-payroll-calc-x402.architect-x402.workers.dev/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "br-tax-payroll-calc-x402": {
      "httpUrl": "https://br-tax-payroll-calc-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-tax-payroll-calc-x402]
url = "https://br-tax-payroll-calc-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 Tax & Payroll Engine (x402) · L’Atlas · Tested on

Markdown
[Brazil Tax & Payroll Engine (x402) — L’Atlas](https://latlas.dev/en/mcp/io.github.brunopompeo1/br-tax-payroll-calc-x402)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.