Brazil tax reform CBS/IBS calculator running Receita Federal's official open-source code.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "<jwt>" } after the user pastes, or with no args to get the link.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http calculadora_rtc-mcp https://api.mcp.ai/p_calculadora_rtc
MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "<jwt>" } after the user pastes, or with no args to get the link.
| Argument | Type | Description |
|---|---|---|
| token | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"token": {
"type": "string"
}
}
}Alíquotas de REFERÊNCIA de CBS (União), IBS estadual (UF) e IBS municipal vigentes numa data, direto da base oficial. Recebe `data` (AAAA-MM-DD) ou `ano`, e opcionalmente `uf` (sigla ou código IBGE) e `municipio_ibge` (7 dígitos). Só devolve o que a base oficial tem: quando não há alíquota cadastrada para a data (na versão atual, só 2026 está cadastrado; de 2027 em diante a calculadora exige alíquotas informadas), a resposta diz isso em `sem_aliquota_na_base` e `observacao`, sem estimar número. Cálculo oficial das calculadoras da Reforma Tributária da Receita Federal do Brasil (código aberto, licença MIT), sem recálculo nosso. A resposta traz `fonte` {repo, versao, commit, versao_base_dados}.
| Argument | Type | Description |
|---|---|---|
| uf | string | |
| ano | number | |
| data | string | |
| municipio_ibge | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"uf": {
"type": "string"
},
"ano": {
"type": "number"
},
"data": {
"type": "string"
},
"municipio_ibge": {
"type": "string"
}
}
}Base de cálculo UNIFICADA oficial de um item de NF-e/NFC-e (documento 'nfe') ou NFS-e ('nfse'): devolve as bases do regime regular, do Imposto Seletivo e do Simples Nacional, aplicando a vigência de cada componente no ano (com avisos de campos ignorados). Exemplo nfe: {"anoFatoGerador":2027,"tipoDocumento":55,"natureza":"bem","vProd":1000,"vFrete":50,"vDesc":50,"vICMS":180}. Cálculo oficial das calculadoras da Reforma Tributária da Receita Federal do Brasil (código aberto, licença MIT), sem recálculo nosso. A resposta traz `fonte` {repo, versao, commit, versao_base_dados}.
| Argument | Type | Description |
|---|---|---|
| entrada* | object | |
| documento | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"entrada"
],
"properties": {
"entrada": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"documento": {
"enum": [
"nfe",
"nfse"
],
"type": "string"
}
}
}Consulta as tabelas oficiais da calculadora numa data de vigência. tipo: cst (CST de CBS/IBS com suas classificações), cclasstrib (classificação tributária: descrição, reduções, documentos, fundamentação), fundamentacao (fundamentações legais), ncm, nbs, atividade_simples (atividades do Simples Nacional, cAtivSN). Aceita `codigos` (lista, até 50) para buscar vários de uma vez, ou `busca` (texto) para filtrar listas (até 100 itens por resposta). Cálculo oficial das calculadoras da Reforma Tributária da Receita Federal do Brasil (código aberto, licença MIT), sem recálculo nosso. A resposta traz `fonte` {repo, versao, commit, versao_base_dados}.
| Argument | Type | Description |
|---|---|---|
| ano | number | |
| data | string | |
| tipo* | string | |
| busca | string | |
| codigos | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"tipo"
],
"properties": {
"ano": {
"type": "number"
},
"data": {
"type": "string"
},
"tipo": {
"enum": [
"cst",
"cclasstrib",
"fundamentacao",
"ncm",
"nbs",
"atividade_simples"
],
"type": "string"
},
"busca": {
"type": "string"
},
"codigos": {
"type": "array",
"items": {
"type": "string"
}
}
}
}Explica códigos de erro das calculadoras oficiais: REG-xxx (regime regular) e VSN-xxx (Simples Nacional), com título, descrição e orientação do catálogo oficial. Aceita uma lista de códigos. Cálculo oficial das calculadoras da Reforma Tributária da Receita Federal do Brasil (código aberto, licença MIT), sem recálculo nosso. A resposta traz `fonte` {repo, versao, commit, versao_base_dados}.
| Argument | Type | Description |
|---|---|---|
| codigos* | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"codigos"
],
"properties": {
"codigos": {
"type": "array",
"items": {
"type": "string"
}
}
}
}Calcula a operação do regime regular (modo estrito: qualquer item inválido recusa a operação inteira) e gera o XML dos grupos de tributação IBS/CBS/IS para o documento fiscal (`tipo`: nfe, nfce, cte, bpe, nf3e, nfcom etc.). Mesma `operacao` de calculadora_rtc_regime_regular. Cálculo oficial das calculadoras da Reforma Tributária da Receita Federal do Brasil (código aberto, licença MIT), sem recálculo nosso. A resposta traz `fonte` {repo, versao, commit, versao_base_dados}.
| Argument | Type | Description |
|---|---|---|
| tipo | string | |
| operacao* | object |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"operacao"
],
"properties": {
"tipo": {
"type": "string"
},
"operacao": {
"type": "object",
"required": [
"id",
"versao",
"dhFatoGerador",
"municipio",
"uf",
"itens"
],
"properties": {
"id": {
"type": "string"
},
"uf": {
"type": "string"
},
"itens": {
"type": "array",
"items": {
"type": "object",
"required": [
"numero",
"cst",
"cClassTrib"
],
"properties": {
"cst": {
"type": "string"
},
"nbs": {
"type": "string"
},
"ncm": {
"type": "string"
},
"numero": {
"type": "number"
},
"unidade": {
"type": "string"
},
"cClassTrib": {
"type": "string"
},
"quantidade": {
"type": "number"
},
"baseCalculo": {
"type": "number"
},
"impostoSeletivo": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"aliquotasNominais": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"additionalProperties": {}
}
},
"versao": {
"type": "string"
},
"municipio": {
"type": "number"
},
"dhFatoGerador": {
"type": "string"
}
},
"additionalProperties": {}
}
}
}Calcula CBS, IBS (UF e município) e Imposto Seletivo de uma operação do REGIME REGULAR (LC 214/2025) pela calculadora oficial da Receita, com erros por item (um item inválido não derruba os outros). Recebe `operacao` no JSON oficial. Exemplo: {"id":"op-1","versao":"1.0.0","dhFatoGerador":"2026-03-10T10:00:00-03:00","municipio":5002704,"uf":"MS","itens":[{"numero":1,"ncm":"84713012","cst":"000","cClassTrib":"000001","baseCalculo":1000,"quantidade":1,"unidade":"UN"}]}. Em 2026 as alíquotas vêm da base oficial e aliquotasNominais não é aceito; a partir de 2027 aliquotasNominais é obrigatório em cada item e o resultado sai como simulado. Retorna `memoria` (por item: estado, base, alíquota, redução, alíquota efetiva e valor de CBS/IBS-UF/IBS-Mun/IS, CST/cClassTrib, erros e o texto oficial de memória de cálculo com a norma), `totais` e `resultado_oficial` (JSON da Receita, intacto). Item com erro traz o código REG-xxx, descrito no catálogo oficial de calculadora_rtc_explicar_erro. Cálculo oficial das calculadoras da Reforma Tributária da Receita Federal do Brasil (código aberto, licença MIT), sem recálculo nosso. A resposta traz `fonte` {repo, versao, commit, versao_base_dados}.
| Argument | Type | Description |
|---|---|---|
| operacao* | object |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"operacao"
],
"properties": {
"operacao": {
"type": "object",
"required": [
"id",
"versao",
"dhFatoGerador",
"municipio",
"uf",
"itens"
],
"properties": {
"id": {
"type": "string"
},
"uf": {
"type": "string"
},
"itens": {
"type": "array",
"items": {
"type": "object",
"required": [
"numero",
"cst",
"cClassTrib"
],
"properties": {
"cst": {
"type": "string"
},
"nbs": {
"type": "string"
},
"ncm": {
"type": "string"
},
"numero": {
"type": "number"
},
"unidade": {
"type": "string"
},
"cClassTrib": {
"type": "string"
},
"quantidade": {
"type": "number"
},
"baseCalculo": {
"type": "number"
},
"impostoSeletivo": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"aliquotasNominais": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"additionalProperties": {}
}
},
"versao": {
"type": "string"
},
"municipio": {
"type": "number"
},
"dhFatoGerador": {
"type": "string"
}
},
"additionalProperties": {}
}
}
}Calcula CBS e IBS de uma operação de empresa do SIMPLES NACIONAL pela calculadora oficial da Receita (NT 2026.005), com erros por item. Recebe `operacao` no JSON oficial. Exemplo: {"id":"op-1","versao":"2.0.0","data":"2027-03-15","tpDoc":"55","CRT":"1","itens":[{"numero":1,"cAtivSN":"01","cClassTrib":"000001","baseCalculo":"950.00","valorImpostoSeletivo":"0.00","pIBSSN":"1.25","pCBSSN":"2.75"}]}. Retorna `memoria` (por item: receita bruta, base, alíquotas e valores de IBS/CBS do Simples, valores pendentes/suspensos, total do item, erros VSN-xxx), `totais` e `resultado_oficial`. A lista de atividades válidas (cAtivSN) está em calculadora_rtc_consultar_tabela, tipo atividade_simples. Cálculo oficial das calculadoras da Reforma Tributária da Receita Federal do Brasil (código aberto, licença MIT), sem recálculo nosso. A resposta traz `fonte` {repo, versao, commit, versao_base_dados}.
| Argument | Type | Description |
|---|---|---|
| operacao* | object |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"operacao"
],
"properties": {
"operacao": {
"type": "object",
"required": [
"id",
"versao",
"data",
"tpDoc",
"CRT",
"itens"
],
"properties": {
"id": {
"type": "string"
},
"CRT": {
"type": "string"
},
"data": {
"type": "string"
},
"itens": {
"type": "array",
"items": {
"type": "object",
"required": [
"numero",
"cAtivSN",
"cClassTrib",
"baseCalculo",
"pIBSSN",
"pCBSSN"
],
"properties": {
"numero": {
"type": "number"
},
"pCBSSN": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"pIBSSN": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"cAtivSN": {
"type": "string"
},
"cClassTrib": {
"type": "string"
},
"baseCalculo": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"valorImpostoSeletivo": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
},
"additionalProperties": {}
}
},
"tpDoc": {
"type": "string"
},
"versao": {
"type": "string"
},
"tpEnteGov": {
"type": "string"
}
},
"additionalProperties": {}
}
}
}Valida um XML contra o XSD oficial: só os grupos de tributação (subtipo 'grupo') ou a nota completa ('nota'). Devolve `valido` e, se inválido, a linha/coluna do erro. Cálculo oficial das calculadoras da Reforma Tributária da Receita Federal do Brasil (código aberto, licença MIT), sem recálculo nosso. A resposta traz `fonte` {repo, versao, commit, versao_base_dados}.
| Argument | Type | Description |
|---|---|---|
| xml* | string | |
| tipo | string | |
| subtipo | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string"
},
"tipo": {
"type": "string"
},
"subtipo": {
"enum": [
"grupo",
"nota"
],
"type": "string"
}
}
}Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/<slug> link that opens without login.
| Argument | Type | Description |
|---|---|---|
| limit | number | |
| query | string | |
| action | string | |
| mcp_id | string | |
| message |
Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.
| Argument | Type | Description |
|---|---|---|
| context | string | |
| message* | string | |
| conversation | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"message"
],
"properties": {
"context": {
"type": "string",
"default": ""
},
"message": {
"type": "string"
},
"conversation": {
"type": "string",
"default": "[]"
}
}
}Show the current MCP platform and adapter versions.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 18, 2026.
Takes a password, API key or token as an argument, so the secret passes through the model's context and chat logs.
Fix: Read credentials from the server's own configuration (environment, OAuth) instead of a tool argument.
| string |
| tool_id | string |
| arguments | string |
| immediate | boolean |
| tier_slug | string |
| prompt_body | string |
| prompt_slug | string |
| prompt_tool | string |
| prompt_vars | string |
| conversation | string |
| prompt_title | string |
| request_name | string |
| cancel_reason | string |
| cancel_comment | string |
| prompt_targets | array |
| report_context | string |
| prompt_category | string |
| request_details | string |
| prompt_description | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"default": 10
},
"query": {
"type": "string",
"default": ""
},
"action": {
"enum": [
"search",
"describe",
"install",
"uninstall",
"subscribe",
"cancel",
"resume",
"report_bug",
"request_mcp",
"list_tools",
"invoke",
"search_prompts",
"get_prompt",
"publish_prompt"
],
"type": "string",
"default": "search"
},
"mcp_id": {
"type": "string",
"default": ""
},
"message": {
"type": "string",
"default": ""
},
"tool_id": {
"type": "string",
"default": ""
},
"arguments": {
"type": "string",
"default": "{}"
},
"immediate": {
"type": "boolean",
"default": false
},
"tier_slug": {
"type": "string",
"default": ""
},
"prompt_body": {
"type": "string",
"default": ""
},
"prompt_slug": {
"type": "string",
"default": ""
},
"prompt_tool": {
"type": "string",
"default": ""
},
"prompt_vars": {
"type": "string",
"default": "{}"
},
"conversation": {
"type": "string",
"default": "[]"
},
"prompt_title": {
"type": "string",
"default": ""
},
"request_name": {
"type": "string",
"default": ""
},
"cancel_reason": {
"enum": [
"too_expensive",
"missing_features",
"switched_service",
"unused",
"customer_service",
"too_complex",
"low_quality",
"other"
],
"type": "string"
},
"cancel_comment": {
"type": "string",
"default": ""
},
"prompt_targets": {
"type": "array",
"items": {
"enum": [
"claude",
"chatgpt",
"cursor",
"lovable"
],
"type": "string"
},
"default": []
},
"report_context": {
"type": "string",
"default": ""
},
"prompt_category": {
"type": "string",
"default": ""
},
"request_details": {
"type": "string",
"default": ""
},
"prompt_description": {
"type": "string",
"default": ""
}
}
}