Calculadora CBS
Server Details
CBS calculator for AI (Brazil tax reform), running Receita Federal's official open-source code.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- mcp-dir/calculadora-cbs-mcp
- GitHub Stars
- 0
- Server Listing
- Calculadora CBS
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 14 tools
The eight calculadora_rtc_* tools each target a distinct step (rates, base, table lookup, error codes, regular-regime calc, Simples calc, XML generation, XML validation), but regime_regular vs gerar_xml and base_calculo vs regime_regular overlap conceptually — mitigated by explicit cross-references in the descriptions. Among the platform tools, authenticate/connect/toolkit_info all touch connection+auth state and could be confused, and marketplace bundles many actions (search/describe/invoke/install) into one entry.
The domain tools follow an excellent, uniform calculadora_rtc_<verb_noun> snake_case pattern. The platform tools break it: bare nouns (marketplace, connect, authenticate) mixed with verb_noun (report_bug, show_version) and noun phrases (toolkit_info). Readable overall, but two conventions coexist.
14 tools is a sensible size, and the eight domain calculators each earn their place across the tax-calculation workflow. The six platform/boilerplate tools (authenticate, connect, marketplace, report_bug, show_version, toolkit_info) are generic overhead relative to the stated Calculadora CBS purpose, but not excessive.
The lifecycle is well covered: rate lookup, base calculation, official table consultation, both tax regimes (regular and Simples Nacional), XML generation and XSD validation, plus error-code explanation — with cross-links (e.g. cAtivSN lookup, REG-/VSN- codes). No obvious dead ends; only niche extras like scenario comparison or batch-document handling are absent.
Available Tools
14 toolsauthenticateAIdempotentInspect
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: "" } after the user pastes, or with no args to get the link.
Inputs: token.
calculadora_rtc_aliquotasARead-onlyIdempotentInspect
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}.
Inputs: uf, ano, data, municipio_ibge.
calculadora_rtc_base_calculoARead-onlyIdempotentInspect
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}.
Inputs: entrada (required), documento.
calculadora_rtc_consultar_tabelaARead-onlyIdempotentInspect
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}.
Inputs: tipo (required), ano, data, busca, +1 more.
calculadora_rtc_explicar_erroARead-onlyIdempotentInspect
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}.
Inputs: codigos (required).
calculadora_rtc_gerar_xmlARead-onlyIdempotentInspect
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}.
Inputs: operacao (required), tipo.
calculadora_rtc_regime_regularARead-onlyIdempotentInspect
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}.
Inputs: operacao (required).
calculadora_rtc_simples_nacionalARead-onlyIdempotentInspect
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}.
Inputs: operacao (required).
calculadora_rtc_validar_xmlARead-onlyIdempotentInspect
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}.
Inputs: xml (required), tipo, subtipo.
connectARead-onlyIdempotentInspect
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.
Inputs: no named parameters.
marketplaceAInspect
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/ link that opens without login.
Inputs: limit, query, action, mcp_id, +19 more.
report_bugAIdempotentInspect
Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.
Inputs: message (required), context, conversation.
show_versionARead-onlyIdempotentInspect
Show the current MCP platform and adapter versions.
Inputs: no named parameters.
toolkit_infoARead-onlyIdempotentInspect
Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
IBS calculator for AI (Brazil tax reform), running Receita Federal's official open-source code.
Brazil tax reform CBS/IBS calculator running Receita Federal's official open-source code.
Brazil tax reform simulator for AI (CBS/IBS/IS) on Receita Federal's official open-source code.
Brazilian AI-powered accounting & tax automation: NFS-e invoicing, CBS/IBS tax reform, compliance.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables calculation of CBS, IBS (state and municipal), and Selective Tax per item for Brazil's consumption tax reform under both the regular regime and Simples Nacional, using the official Receita Federal open-source calculator with per-item calculation memory and reference rates. Also supports querying official tables (CST, cClassTrib, NCM, NBS), explaining error codes, computing unified tax bases, and generating/validating IBS/CBS/IS XML groups.MIT
- AlicenseNot gradedqualityCmaintenanceEnables calculating Brazil's consumption tax reform taxes (CBS, IBS-UF, IBS-Mun and Imposto Seletivo under LC 214/2025) for both the regular regime and Simples Nacional using the Receita Federal's official open-source calculator, with per-item calculation memory, reference rates, and lookups of official tables (CST, cClassTrib, NCM, NBS). It also generates and validates the IBS/CBS/IS tax groups in fiscal XML against the official XSD, returning traceable results (repository, version, commit, base version).MIT
- AlicenseNot gradedqualityCmaintenanceEnables users to calculate CBS, IBS (state and municipal), and Selective Tax for operations under Brazil's regular regime and Simples Nacional, with per-item calculation memory, official reference rates, and official tables (CST, cClassTrib, NCM, NBS). It also supports generating and validating IBS/CBS/IS XML groups against official XSDs.MIT
- AlicenseNot gradedqualityCmaintenanceEnables users to ask in Portuguese for CBS/IBS/IS calculations, receiving amounts computed by the official Receita Federal engine plus explanations and citations to LC 214/2025. Provides visual calculation panels inside Claude, ChatGPT, and Gemini via MCP.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.