MCP Fiscal Brasil MCP Server

Ferramentas fiscais brasileiras: CNPJ, NF-e, IBS/CBS, ICMS, Simples Nacional, NCM/CFOP. Sem API key.

Local serverstdioPython

What is the MCP Fiscal Brasil MCP server?

Connect MCP Fiscal Brasil to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Ferramentas fiscais brasileiras: CNPJ, NF-e, IBS/CBS, ICMS, Simples Nacional, NCM/CFOP. Sem API key. The mcp fiscal brasil mcp server is what makes that connection.

What the server does

O único servidor MCP com suporte nativo a NF-e, NFS-e, SPED, eSocial, Simples Nacional e Reforma Tributária 2026 (IBS/CBS) - sem conta, sem chave e sem configuração.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Ferramenta — Quando usar
  • analyze_cnpj_compliance — Relatório consolidado de compliance fiscal de um CNPJ
  • risk_score_supplier — Aprovar, investigar ou recusar fornecedor
  • consultar_empresas_lote — Triar carteira de fornecedores com score e erro por CNPJ
  • compare_tax_regimes — Comparar regimes tributários por cenário
  • validate_nfe_full — Validar uma NFe completa a partir do XML
  • summarize_sped — Transformar SPED em resumo executivo

Installation

Installation goes through your MCP client rather than a global install: point it at mcp-fiscal-brasil on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Credentials and setup notes

Configuration is passed through the environment: NFE_CERTIFICADO_PATH, BRASILAPI_BASE_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Where it fits

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. MCP Fiscal Brasil's toolset — Ferramenta, analyze_cnpj_compliance, risk_score_supplier and 4 more — is a fair guide to whether it matches your workflow. It is maintained by DeHor-Labs; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against MCP Fiscal Brasil's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
FerramentaQuando usar
analyze_cnpj_complianceRelatório consolidado de compliance fiscal de um CNPJ
risk_score_supplierAprovar, investigar ou recusar fornecedor
consultar_empresas_loteTriar carteira de fornecedores com score e erro por CNPJ
compare_tax_regimesComparar regimes tributários por cenário
validate_nfe_fullValidar uma NFe completa a partir do XML
summarize_spedTransformar SPED em resumo executivo

How to install the MCP Fiscal Brasil MCP server

{
  "mcpServers": {
    "fiscal-brasil": {
      "command": "uvx",
      "args": ["mcp-fiscal-brasil"],
      "env": {
        "NFE_CERTIFICADO_PATH": "your-value",
        "BRASILAPI_BASE_URL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
NFE_CERTIFICADO_PATHFilesystem location the server is allowed to use.Optional
BRASILAPI_BASE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use MCP Fiscal Brasil to Ferramenta.
  • Use MCP Fiscal Brasil to analyze cnpj compliance.
  • Use MCP Fiscal Brasil to risk score supplier.

Frequently asked questions

It connects MCP Fiscal Brasil to MCP-compatible AI assistants such as Claude and Cursor, exposing 7 tools (Ferramenta, analyze_cnpj_compliance, risk_score_supplier, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Fiscal Brasil directly.