Skip to main content
NU

Nuvem Fiscal

v0.3.1API Key

serverData.nuvem-fiscal.description

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_nfe β€” Create a NF-e (nota fiscal eletrΓ΄nica)
  • get_nfe β€” Get NF-e details by ID
  • cancel_nfe β€” Cancel 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