MCP Nfse Nacional MCP Server

MCP Server para consulta de NFSe no portal nacional (nfse.gov.br)

Local serverstdio

What is the MCP Nfse Nacional MCP Server?

MCP Server para consulta de NFSe no portal nacional (nfse.gov.br)

The short version

MCP Server para consulta de Notas Fiscais de Serviço Eletrônicas (NFSe) no portal nacional (nfse.gov.br). Permite que agentes de IA autentiquem-se com certificado digital e-CNPJ/e-CPF e consultem, detalhem e baixem PDFs de NFSe emitidas.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
nfse_buscarBusca NFSe emitidas em um período. Retorna lista com data, destinatário, valor, status e chave de cada nota.
nfse_detalhesObtém os detalhes completos de uma NFSe a partir da sua chave. Retorna cabeçalho, emitente, valores, DPS e salva o XML localmente.
nfse_pdfBaixa o PDF (DANFSe) de uma NFSe a partir da sua chave. Retorna o caminho do arquivo PDF salvo localmente.

How to install the MCP Nfse Nacional MCP Server

{
  "mcpServers": {
    "nfse-nacional": {
      "command": "npx",
      "args": ["-y", "mcp-nfse-nacional"],
      "env": {
        "CERT_FILE": "your-value",
        "CERT_PASSWORD": "your-value",
        "STORAGE_PATH": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
CERT_FILEConfiguration value read at startup.Optional
CERT_PASSWORDConfiguration value read at startup.Optional
STORAGE_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • “Use MCP Nfse Nacional to Ferramenta.”
  • “Use MCP Nfse Nacional to nfse buscar.”
  • “Use MCP Nfse Nacional to nfse detalhes.”

Frequently asked questions

MCP Server para consulta de NFSe no portal nacional (nfse.gov.br) Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.