Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyOther

MCP Fiscal Brasil

Lets your AI agent look up Brazilian company data and check NF-e, SPED, eSocial, Simples Nacional and tax reform rules.

418 stars on GitHubby DeHor LabsLicense MITUpdated 23 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add fiscal-brasil -- uvx mcp-fiscal-brasil

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Look up CNPJ 00.000.000/0001-91 and list the partners.
Is NF-e key 35240300623904000197550010000012341234567890 valid?

What it is

This server connects your agent to Brazilian tax tools such as CNPJ lookups, NF-e parsing and validation, SPED and eSocial analysis, and the 2026 tax reform. Most tools work with no account or key, and many run offline. Some tools return links and steps for government portals instead of data.

What it can do

  • consultar_cnpj: full company data including partners and CNAE
  • validar_chave_nfe: check an NF-e key and extract its data offline
  • parse_nfe_xml: read an NF-e XML into structured data
  • gerar_danfe: make a DANFE PDF from an NF-e XML
  • analisar_sped: analyze an EFD, ECD or ECF file offline
  • risk_score_supplier: score a supplier from 0 to 100
  • compare_tax_regimes: compare MEI, Simples, Lucro Presumido and Lucro Real
  • validate_nfe_full: validate a complete NF-e from its XML

When to use

  • β€ΊWhen you need to check a supplier by CNPJ before hiring them
  • β€ΊWhen you have NF-e XML or SPED files and want them validated or summarized
  • β€ΊWhen you want to compare tax regimes for a company's revenue and payroll

What you need

Python and uvx. Most tools need no account or key. A few SEFAZ tools need an A1 digital certificate file, and some NF-e lookups use an optional paid provider.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Do I need an API key?

The README says it works without keys or an account. A few features are opt-in and need an A1 certificate or a premium provider.

Is it open source?

The README shows a license badge and a public repository, but the license text is not given in the excerpt.

Does it work offline?

Many tools are offline, such as NF-e key validation, XML parsing, DANFE, SPED analysis and the NCM, CFOP and CNAE tables.

Is my certificate sent to a server?

The README says the certificate and password are never sent to an external server, and mTLS and signing happen locally.

How do I install it?

Run uvx mcp-fiscal-brasil, or add it to Claude Desktop with uvx as the command.

Does it do more than MCP?

Yes. It also offers a CLI, a REST API with a demo web page and a Node.js wrapper in preview.

If it does not work

  • β€ΊUse uvx mcp-fiscal-brasil@latest or uvx --refresh to get the newest version, because uvx caches the installed one.
  • β€ΊRestart Claude Desktop after editing claude_desktop_config.json.
  • β€ΊFor SEFAZ status, set NFE_CERTIFICADO_PATH and NFE_CERTIFICADO_SENHA, or the tool will raise a configuration error.

5 new skills a week. 1 minute to read.