Skip to main content
MCP server CX Codex

mcp-melhor-envio — Claude Code MCP server: setup

Connects an agent to Melhor Envio for carrier rates, shipment orders, labels, agencies, and tracking. It fits delivery workflows that need API access.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add mcp-melhor-envio -e MELHOR_ENVIO_TOKEN=<MELHOR_ENVIO_TOKEN> -- npx -y @codespar/mcp-melhor-envio
Open on GitHub

What mcp-melhor-envio does

mcp-melhor-envio connects an agent to Melhor Envio, a shipping service that compares carrier rates. Its tools can price a route, create or cancel shipment orders, retrieve order details, and follow a shipment by its ID.

The server also covers label previews and downloads, pickup-agency searches, stored addresses, available services, tracking history, account balance, and cart checkout. It runs through npx and authenticates with the Bearer token stored in MELHOR_ENVIO_TOKEN.

For testing, set MELHOR_ENVIO_SANDBOX=true to use the Melhor Envio sandbox. Without MELHOR_ENVIO_TOKEN, authentication will fail.

What it helps with

  • compare carrier rates for a route
  • create a shipment order
  • track a shipment by order ID
  • generate and download a label PDF
  • find nearby carrier pickup agencies

Example prompts for the agent

  • Compare shipping prices and available services for the sender and recipient addresses.
  • Create a shipment, add it to the cart, and prepare the checkout.
  • Show the full tracking history for this order ID and produce its label PDF.

How to install mcp-melhor-envio

Platform CLI

claude mcp add mcp-melhor-envio -e MELHOR_ENVIO_TOKEN=<MELHOR_ENVIO_TOKEN> -- npx -y @codespar/mcp-melhor-envio

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about mcp-melhor-envio

How do I install mcp-melhor-envio in Claude Code?

Run claude mcp add mcp-melhor-envio -e MELHOR_ENVIO_TOKEN=<MELHOR_ENVIO_TOKEN> -- npx -y @codespar/mcp-melhor-envio.

What does mcp-melhor-envio do?

It gives an agent Melhor Envio tools for rate calculation, shipment orders, labels, pickup agencies, and tracking.

What is required for the server to work?

You need a Melhor Envio Bearer token in MELHOR_ENVIO_TOKEN. Set MELHOR_ENVIO_SANDBOX=true when using the test environment.

Similar MCP servers

All MCP servers for Backend and APIs →

From the same set124

mcp-midaz Connects your coding agent to a self-hosted Midaz ledger to inspect balances, create accounts, and post balanced double-entry transactions. CX Codex +1 ★ 274repo stars mcp-mercado-pago Connect an agent to Mercado Pago tools for payments, refunds, PIX, and subscriptions. The server needs a Mercado Pago access token to run. CX Codex +1 ★ 274repo stars mcp-mercado-libre Wires Mercado Libre into your coding agent: product search, orders, shipments, buyer questions and reviews. Useful if you sell on the marketplace and work from chat. CX Codex +1 ★ 274repo stars mcp-mercado-bitcoin Connects AI coding assistants to the Mercado Bitcoin exchange for automated trading, orderbook tracking, and balance checks. Useful for Brazilian crypto workflows. CX Codex +1 ★ 274repo stars mcp-matera An MCP server for Matera, Brazil's core-banking infrastructure: issue Pix charges, resolve DICT keys, move money. The package is deprecated because api.matera.com no longer resolves. CX Codex +1 ★ 274repo stars mcp-legiti Connects Legiti fraud detection tools to an AI coding assistant for transaction risk analysis. The package is marked deprecated because its default host cannot be resolved via DNS. CX Codex +1 ★ 274repo stars mcp-kushki An MCP server that lets an agent call the Kushki payments API: cards, PSE and SPEI transfers, cash and subscriptions. Useful when you build checkout flows for Latin America. CX Codex +1 ★ 274repo stars mcp-konduto An MCP server that lets your agent submit orders to Konduto for fraud scoring, read the verdict and manage the provider's lists. Useful when antifraud work happens from a chat. CX Codex +1 ★ 274repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor