Koskamo

Brasil NFe MCP MCP server

Official MCP server by Brasil NFe that exposes fiscal API tools, resources, and prompts via Model Context Protocol. It allows AI agents to issue Brazilian fiscal documents (NF-e, NFC-e, NFS-e, CT-e, MDF-e, DC-e) and manage fiscal events using natural language, leveraging the same authentication and contracts as the REST API.

Endpoint and access

No sign-in: your client connects and lists tools immediately, with no account or key.

No sign-inEndpoint checked 2026-10-05Operated by BRASIL NFE LTDA
MCP endpoint (Streamable HTTP)
https://api.brasilnfe.com.br/services/Mcp
Vendor documentation

What you can do with it

  • Issue NF-e and NFC-e fiscal notes
  • Generate NFS-e via Portal Nacional
  • Cancel or correct fiscal documents
  • Check SEFAZ service status
Tools advertised by the last live check:
  • nfe_emitir
  • nfe_emitir_complementar
  • nfe_previsualizar
  • nfenercom_gerar_arquivo
  • nfenercom_emitir
  • nfse_emitir
  • nfse_consultar
  • cte_emitir
  • cte_desacordo
  • mdfe_emitir
  • mdfe_encerrar
  • dce_emitir
  • evento_cancelar
  • evento_carta_correcao
  • evento_manifestar
  • evento_inutilizar
  • sefaz_status
  • cadastro_consultar
  • cliente_consultar
  • cliente_criar
  • cliente_editar
  • produto_consultar
  • produto_criar
  • produto_editar
  • tributacao_consultar
  • tributacao_criar
  • tributacao_editar
  • nota_listar
  • imposto_calcular
  • arquivo_baixar
  • arquivo_baixar_evento
  • arquivo_baixar_periodo
  • fci_gerar
  • health

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers a Streamable HTTP server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http brasil-nfe-mcp https://api.brasilnfe.com.br/services/Mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add brasil-nfe-mcp --url https://api.brasilnfe.com.br/services/Mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable brasil-nfe-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "brasil-nfe-mcp": {
      "url": "https://api.brasilnfe.com.br/services/Mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure). The type must be streamableHttp for a remote HTTP server.
Cline configuration
{
  "mcpServers": {
    "brasil-nfe-mcp": {
      "type": "streamableHttp",
      "url": "https://api.brasilnfe.com.br/services/Mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start brasil-nfe-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "brasil-nfe-mcp": {
      "type": "http",
      "url": "https://api.brasilnfe.com.br/services/Mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http brasil-nfe-mcp https://api.brasilnfe.com.br/services/Mcp

Claude Desktop

Merge this into claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then restart Claude Desktop.
Claude Desktop configuration
{
  "mcpServers": {
    "brasil-nfe-mcp": {
      "url": "https://api.brasilnfe.com.br/services/Mcp"
    }
  }
}

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "brasil-nfe-mcp": {
      "serverUrl": "https://api.brasilnfe.com.br/services/Mcp"
    }
  }
}

Do you run Brasil NFe MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing