mcp-nfse-nacional
An MCP server that allows AI agents to authenticate with a digital certificate (e-CNPJ/e-CPF) and query, detail, and download PDFs of Electronic Service Invoices (NFSe) from the national portal (nfse.gov.br). It exposes tools to search invoices by date, retrieve full details including XML, and download the PDF (DANFSe).
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
Checks and signals
Each line is separate evidence, not a trust score.
- Popularity 18 GitHub stars
What you can do with it
- Search for issued service invoices within a specific date range
- Retrieve detailed information of an invoice using its key
- Download the PDF (DANFSe) of a specific invoice
Source and maintenance
- Last repository push
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
mcp-nfse-nacional 1.0.3
{
"version": "1.0.3",
"transport": "stdio",
"identifier": "mcp-nfse-nacional",
"registryType": "npm",
"environmentVariables": [
{
"name": "CERT_PASSWORD",
"format": "string",
"isRequired": true,
"description": "Senha do certificado digital (e-CNPJ/e-CPF) em formato PFX"
},
{
"name": "CERT_FILE",
"format": "string",
"isRequired": true,
"description": "Caminho para o arquivo do certificado digital (.pfx)"
},
{
"name": "NODE_OPTIONS",
"format": "string",
"default": "--openssl-legacy-provider",
"description": "Opções do Node.js (use --openssl-legacy-provider para compatibilidade com certificados)"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"mcp-nfse-nacional": {
"command": "npx",
"args": [
"-y",
"mcp-nfse-nacional@1.0.3"
],
"env": {
"CERT_PASSWORD": "<YOUR_CERT_PASSWORD>",
"CERT_FILE": "<YOUR_CERT_FILE>",
"NODE_OPTIONS": "<YOUR_NODE_OPTIONS>"
}
}
}
}Cline
{
"mcpServers": {
"mcp-nfse-nacional": {
"command": "npx",
"args": [
"-y",
"mcp-nfse-nacional@1.0.3"
],
"env": {
"CERT_PASSWORD": "<YOUR_CERT_PASSWORD>",
"CERT_FILE": "<YOUR_CERT_FILE>",
"NODE_OPTIONS": "<YOUR_NODE_OPTIONS>"
}
}
}
}VS Code
{
"servers": {
"mcp-nfse-nacional": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-nfse-nacional@1.0.3"
],
"env": {
"CERT_PASSWORD": "<YOUR_CERT_PASSWORD>",
"CERT_FILE": "<YOUR_CERT_FILE>",
"NODE_OPTIONS": "<YOUR_NODE_OPTIONS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"mcp-nfse-nacional": {
"command": "npx",
"args": [
"-y",
"mcp-nfse-nacional@1.0.3"
],
"env": {
"CERT_PASSWORD": "<YOUR_CERT_PASSWORD>",
"CERT_FILE": "<YOUR_CERT_FILE>",
"NODE_OPTIONS": "<YOUR_NODE_OPTIONS>"
}
}
}
}Let your agent find its tools
Find servers like mcp-nfse-nacional from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.