Connects to Brazil's national electronic service invoice portal (nfse.gov.br) using e-CNPJ or e-CPF digital certificates for authentication. Exposes three tools: nfse_buscar searches invoices by date range, nfse_detalhes pulls full invoice details and saves XML locally, and nfse_pdf downloads the DANFSe PDF. Handles session management automatically, reauthorizing when tokens expire. Requires a PFX/P12 certificate file and password via environment variables. Runs over stdio for direct Claude Desktop integration or as an HTTP server for remote access. Useful if you're building AI workflows around Brazilian fiscal documents and need programmatic access to issued NFSe data without manual portal navigation.
claude mcp add --transport stdio samuelmoraesf-mcp-nfse-nacional uvx mcp-nfse-nacional