Skip to main content
Glama

Calculadora IBS

Server Details

IBS calculator for AI (Brazil tax reform), running Receita Federal's official open-source code.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
mcp-dir/calculadora-ibs-mcp
GitHub Stars
0
Server Listing
Calculadora IBS
ChatGPT
–
Claude
–

TDQS

A3.9/5.0

Scored across 14 tools

Disambiguation4/5

The eight calculadora_rtc_* tools target mostly distinct resource+action pairs (alíquotas, base de cálculo, tabelas, erros, XML válido/inválido, regimes regular e Simples). The main overlap is calculadora_rtc_gerar_xml versus calculadora_rtc_regime_regular, which take the same `operacao` payload and both calculate — only the XML output separates them. The platform tools (authenticate/connect/toolkit_info) are clearly distinct from the calculation surface.

Naming Consistency4/5

The domain tools follow a strict `calculadora_rtc_<verbo_ou_recurso>` snake_case pattern, which is highly predictable. The platform tools (authenticate, connect, marketplace, report_bug, show_version, toolkit_info) live in a separate namespace/style, and the Portuguese/English mix is a minor inconsistency but still readable.

Tool Count4/5

Fourteen tools is within a reasonable range, and the eight calculation tools each map to a real step of the RTC workflow. Six generic platform/account tools (authenticate, connect, marketplace, report_bug, show_version, toolkit_info) make up a large share of the surface and are not part of the stated domain, slightly inflating the count.

Completeness4/5

The lifecycle is well covered: reference rates, base calculation, table lookup, error explanation, regime-regular and Simples Nacional calculation, plus XML generation and XSD validation. Minor gaps exist — NFS-e calculation appears only via base_calculo while the calculation/XML tools lean heavily toward goods documents, and there is no explicit comparison/simulation or batch aggregation tool.

Available Tools

14 tools
authenticateA
Idempotent
Inspect

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_aliquotasA
Read-onlyIdempotent
Inspect

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_calculoA
Read-onlyIdempotent
Inspect

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_tabelaA
Read-onlyIdempotent
Inspect

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_erroA
Read-onlyIdempotent
Inspect

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_xmlA
Read-onlyIdempotent
Inspect

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_regularA
Read-onlyIdempotent
Inspect

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_nacionalA
Read-onlyIdempotent
Inspect

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_xmlA
Read-onlyIdempotent
Inspect

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.

connectA
Read-onlyIdempotent
Inspect

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_bugA
Idempotent
Inspect

Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.

Inputs: message (required), context, conversation.

show_versionA
Read-onlyIdempotent
Inspect

Show the current MCP platform and adapter versions.

Inputs: no named parameters.

toolkit_infoA
Read-onlyIdempotent
Inspect

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

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables calculation of Brazil's consumption tax reform taxes (CBS, state and municipal IBS, and Selective Tax) for both the regular regime and Simples Nacional, with per-item calculation memory, official reference rates and tables, plus XML generation and validation against official XSDs. Results are traceable to the official Receita Federal open-source version and base, without login or API key.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables 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
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables 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
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables 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
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.