Skip to main content
SU

SuperFrete

v0.1.0API Key

serverData.superfrete.description

11 herramientas2 env vars🇧🇷 Brasilestable en npm

Qué puede hacer tu agente

SuperFrete le da a tu agente 11 tools que llama directo — elegí las que necesite, en Claude, Cursor o cualquier cliente MCP.

  • calculate_freightCalculate shipping rates across multiple carriers (PAC, SEDEX, JadLog, Loggi, Mini Envios). Returns pricing, delivery time, and carrier details for each available service.
  • create_freightCreate a freight/label order. Returns the order ID, price, protocol, and tracking code. For commercial shipments, invoice details are required.
  • get_freightGet detailed information about a freight order including status, tracking, addresses, pricing, and label print URL.
Ejemplo de llamada
// 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("calculate_freight", { /* ... */ });

Instalar

terminal
$ npm install @codespar/mcp-superfrete

Quickstart

Agregá esta entrada a tu claude_desktop_config.json (o a la config de cualquier cliente compatible con MCP).

claude_desktop_config.json
{
  "mcpServers": {
    "superfrete": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-superfrete"
      ],
      "env": {
        "SUPERFRETE_TOKEN": "<your_superfrete_token>"
      }
    }
  }
}

Después de reiniciar, tu agente puede llamar cualquiera de las 11 herramientas de abajo — probá calculate_freight primero.

Variables de entorno · 2

Necesarias para autenticar el server. Almacenadas cifradas al usar el hosting gestionado de CodeSpar.

SUPERFRETE_TOKEN
obligatoriosecret

SuperFrete API Bearer token from https://web.superfrete.com/#/integrations

SUPERFRETE_SANDBOX
opcional

Set to 'true' to use the sandbox API (https://sandbox.superfrete.com/). Defaults to production.

Herramientas disponibles · 11

Cada herramienta es independiente — tu agente carga solo lo que necesita para reducir contexto y tiempo de respuesta.

READcalculate_freight
Calculate shipping rates across multiple carriers (PAC, SEDEX, JadLog, Loggi, Mini Envios). Returns pricing, delivery time, and carrier details for each available service.
WRITEcreate_freight
Create a freight/label order. Returns the order ID, price, protocol, and tracking code. For commercial shipments, invoice details are required.
READget_freight
Get detailed information about a freight order including status, tracking, addresses, pricing, and label print URL.
READcheckout_freight
Purchase/checkout freight orders. Pays for the orders and generates shipping labels. Returns tracking numbers and label print URLs.
DELETEcancel_freight
Cancel a freight order. Provide the order ID and a reason for cancellation.
READget_user_info
Get authenticated user information including name, email, document (CPF/CNPJ), account balance, and shipment limits.
WRITEget_user_addresses
List all saved addresses for the authenticated user.
READget_services
Get available shipping services with detailed restrictions (min/max weight, dimensions) and carrier information.

Frameworks compatibles

MCP es un protocolo — cualquier framework que lo hable puede montar este server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Cualquier cliente MCPProtocolo

Preguntas frecuentes

Corré `npx -y @codespar/mcp-superfrete` y agregá el bloque de config de arriba a tu cliente MCP — Claude, Cursor, VS Code o cualquier cliente compatible con MCP. Sin build, sin SDK. ¿Preferís hosted? El tier gestionado de CodeSpar lo corre por vos, con la auth resuelta.
SuperFrete — MCP server · 11 tools | CodeSpar