Skip to main content
MCP server CX Codex

mcp-correios — Claude Code MCP server: features and setup

Connects your coding agent to the Correios postal API in Brazil. Tracks packages, calculates shipping rates, and searches addresses by CEP postal code.

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

What mcp-correios does

This server exposes 21 tools designed for Brazilian postal logistics. Agents can check package tracking status individually or in batches of up to 50 codes. It also quotes shipping prices between two postal codes, calculates transit times, and resolves street addresses for up to 20 CEPs in one request.

Beyond basic lookups, the package handles core shipping operations. It can create pre-posting entries, request SIGEP label intervals, generate dispatch PLPs, schedule courier pickups, and trigger return orders. Authentication runs under the hood: the server exchanges basic credentials for session tokens without manual intervention.

Calls will fail immediately without an active Correios corporate agreement. You must obtain API credentials from the CWS portal and pass them through CORREIOS_USER and CORREIOS_TOKEN. Because the package is currently an alpha release, locking exact package versions prevents unexpected breaking changes.

What it helps with

  • track packages across Brazil using official Correios codes
  • calculate shipping costs and transit times between two CEP codes
  • resolve street names and municipal data from Brazilian postal codes
  • generate SIGEP pre-posting slips and finalize dispatch batches
  • schedule warehouse pickups and reverse logistics return requests

Example prompts for the agent

  • Track package AA123456789BR through Correios and report its latest status
  • Calculate delivery rates and estimated transit days from CEP 01001-000 to 20040-002
  • Look up the address details for CEP 70040-010

How to install mcp-correios

Platform CLI

claude mcp add mcp-correios -e CORREIOS_TOKEN=<CORREIOS_TOKEN> -- npx -y @codespar/mcp-correios

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-correios

How to install mcp-correios in Claude Code?

Run claude mcp add mcp-correios -e CORREIOS_TOKEN=<CORREIOS_TOKEN> -- npx -y @codespar/mcp-correios in your terminal. Replace the placeholder with your actual API token.

What does mcp-correios do?

It equips your AI assistant with Brazilian postal operations. It handles parcel tracking, rate calculation, CEP lookups, and shipping order preparation directly through Correios systems.

What prerequisites are required to use mcp-correios?

You need a registered business contract with Correios and credentials from their CWS portal. The server requires both CORREIOS_USER and CORREIOS_TOKEN environment variables to access the endpoints.

Similar MCP servers

All MCP servers for Backend and APIs →

From the same set124

mcp-ebanx Hands your agent 18 EBANX tools: take a payment, refund it, send a payout, read an exchange rate. Useful when the product charges customers in Latin America. CX Codex +1 ★ 274repo stars mcp-dock Connects AI agents to the Brazilian Dock BaaS platform for accounts, Pix, and card issuing. The package is currently deprecated because Dock endpoints no longer resolve. CX Codex +1 ★ 274repo stars mcp-dlocal Connects an agent to dLocal for payments, payouts, and refunds across Latin America. Useful when a project needs local payment methods through one API. CX Codex +1 ★ 274repo stars mcp-culqi An MCP server for Culqi, Peru's payment provider: charges, refunds, saved cards, Yape and PagoEfectivo orders, subscription plans. CX Codex +1 ★ 274repo stars mcp-coordinadora Connect an AI agent to Coordinadora’s Colombian shipping API. Create shipments, check rates and coverage, or follow parcel activity through MCP tools. CX Codex +1 ★ 274repo stars mcp-conta-azul An MCP server that connects an AI agent to Conta Azul: customers, products, services, sales, receivables and a financial summary. CX Codex +1 ★ 274repo stars mcp-conekta Connects your coding agent to the Conekta payment gateway. Useful for managing Mexican card charges, OXXO cash vouchers, and SPEI bank transfers directly from prompts. CX Codex +1 ★ 274repo stars mcp-colppy Connect an agent to Colppy to manage invoices, customers, payments, stock and reports. The server needs a Colppy API key and company ID. 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