Nfse Nacional MCP Server
by samuelmoraesfio.github.SamuelMoraesF/mcp-nfse-nacionalv1.0.3
MCP Server para consulta de NFSe no portal nacional (nfse.gov.br)
context tax
queued
security
queued
cold start
queued
freshness
Stale8mo ago
Install Nfse Nacional MCP server
Install in Claude Code
claude mcp add nfse-nacional -e CERT_PASSWORD='<cert-password>' -e CERT_FILE='<cert-file>' -- npx -y mcp-nfse-nacionalInstall in Cursor
{
"mcpServers": {
"nfse-nacional": {
"command": "npx",
"args": [
"-y",
"mcp-nfse-nacional"
],
"env": {
"CERT_PASSWORD": "<cert-password>",
"CERT_FILE": "<cert-file>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"nfse-nacional": {
"command": "npx",
"args": [
"-y",
"mcp-nfse-nacional"
],
"env": {
"CERT_PASSWORD": "<cert-password>",
"CERT_FILE": "<cert-file>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"nfse-nacional": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-nfse-nacional"
],
"env": {
"CERT_PASSWORD": "<cert-password>",
"CERT_FILE": "<cert-file>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"nfse-nacional": {
"command": "npx",
"args": [
"-y",
"mcp-nfse-nacional"
],
"env": {
"CERT_PASSWORD": "<cert-password>",
"CERT_FILE": "<cert-file>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| CERT_PASSWORD | yes | yes | Senha do certificado digital (e-CNPJ/e-CPF) em formato PFX |
| CERT_FILE | yes | — | Caminho para o arquivo do certificado digital (.pfx) |
| NODE_OPTIONS | — | — | Opções do Node.js (use --openssl-legacy-provider para compatibilidade com certificados) |
| MCP_PORT | — | — | Porta do servidor HTTP |
| STORAGE_PATH | — | — | Diretório onde os XMLs e PDFs baixados serão armazenados |
Freshness
Stale — last maintenance signal 8mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-02-12 · 8mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-02-12 · 8mo ago · official registry · v1.0.3
FAQ
›How do I install the Nfse Nacional MCP server in Claude Code?
Run: claude mcp add nfse-nacional -e CERT_PASSWORD='<cert-password>' -e CERT_FILE='<cert-file>' -- npx -y mcp-nfse-nacional. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Nfse Nacional require an API key?
Yes. It expects CERT_PASSWORD, CERT_FILE, of which 1 is a secret.
›Can I use Nfse Nacional as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is Nfse Nacional in the official MCP registry?
Yes, as io.github.SamuelMoraesF/mcp-nfse-nacional.