Skip to main content
NU

Nuvem Fiscal

v0.2.1API Key

NF-e, NFS-e and NFC-e emission plus CNPJ and CEP lookups: the fiscal utility belt for Brazilian document flows.

24 tools1 env vars🇧🇷 Brazilstable on npm

What your agent can do

Nuvem Fiscal gives your agent 24 tools it calls directly — pick the ones it needs, in Claude, Cursor, or any MCP client.

  • create_nfeCreate a NF-e (nota fiscal eletrônica)
  • get_nfeGet NF-e details by ID
  • cancel_nfeCancel a NF-e
Example call
// Your agent calls a tool directly — no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("create_nfe", { /* ... */ });

Install

terminal
$ npm install @codespar/mcp-nuvem-fiscal

Quickstart

Add this entry to your claude_desktop_config.json (or any MCP-compatible client config).

claude_desktop_config.json
{
  "mcpServers": {
    "nuvem-fiscal": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-nuvem-fiscal"
      ],
      "env": {
        "NUVEM_FISCAL_CLIENT_SECRET": "<your_nuvem_fiscal_client_secret>"
      }
    }
  }
}

After restart, your agent can call any of the 24 tools below — try create_nfe first.

Environment variables · 1

Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.

NUVEM_FISCAL_CLIENT_SECRET
requiredsecret

API key for nuvem-fiscal

Available tools · 24

Each tool is independent — your agent loads only what it needs to reduce context and response time.

WRITEcreate_nfe
Create a NF-e (nota fiscal eletrônica)
READget_nfe
Get NF-e details by ID
DELETEcancel_nfe
Cancel a NF-e
WRITEcreate_nfse
Create a NFS-e (nota fiscal de serviço eletrônica)
READget_nfse
Get NFS-e details by ID
DELETEcancel_nfse
Cancel a NFS-e
WRITEcreate_nfce
Create a NFC-e (nota fiscal de consumidor eletrônica)
READconsult_cnpj
Consult company data by CNPJ number

Compatible frameworks

MCP is a protocol — any framework that speaks it can mount this server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Any MCP clientProtocol

Frequently asked questions

Run `npx -y @codespar/mcp-nuvem-fiscal` and add the config block above to your MCP client — Claude, Cursor, VS Code, or any MCP-compatible client. No build step, no SDK required. Prefer hosted? CodeSpar's managed tier runs it for you with auth handled.
Nuvem Fiscal — MCP server · 24 tools | CodeSpar