
Mcp Correios
io.github.codesparPublished by GitHub account codesparv0.2.0-alpha.3Updated Oct 24, 2026
MCP server for Correios — package tracking, shipping rates, CEP lookup
Overview
MCP server for Brazil's Correios postal service: track packages, calculate shipping rates, look up CEP addresses and manage pre-posting and collection orders.
- What you can do
- Track single or bulk packages by Correios tracking code and read their status.
- Calculate shipping rates, delivery times, available services, delivery modality and CEP ranges between two CEPs.
- Look up addresses by CEP, in batches, or search CEPs by street and location.
- Create, list, fetch and cancel pre-posting orders, and close posted objects into a PLP.
- Request SIGEP label ranges, schedule or cancel package pickups, and create or read reverse logistics orders.
- When to use it
- Useful when an assistant needs Brazilian shipping data or Correios operations: checking delivery status, quoting freight between CEPs, resolving addresses, or handling pre-posting, labels, pickups and returns for a Correios contract holder.
- Requirements
- Runs locally over stdio, typically via npx from the npm package. Needs a Correios API contract and credentials: the CORREIOS_USER and CORREIOS_TOKEN environment variables (the manifest declares only CORREIOS_TOKEN). A homologation environment exists for testing with separate credentials. Desktop client only.
Installation
In SourceWeft
- Open Mcp Correios in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
@codespar/mcp-correios
Alpha release — published under the
alphanpm dist-tag. Endpoint paths follow public docs and BACEN/provider conventions but have not been fully live-validated. Pin exact versions during0.x.x-alpha. Install withnpm install <pkg>@alpha.
MCP server for Correios — Brazilian postal service tracking, rates, and shipping
Quick Start
Claude Desktop
Add to ~/.config/claude/claude_desktop_config.json:
Claude Code
Cursor / VS Code
Add to .cursor/mcp.json or .vscode/mcp.json:
Tools (21)
Authentication
Correios uses Basic Auth for token generation, then Bearer token for subsequent requests. The server automatically manages authentication.
Sandbox / Testing
Correios provides a homologation environment for testing. Contact Correios for homologation credentials.
Get your credentials
- Go to Correios CWS Portal
- Register for API access (requires a contract with Correios)
- Get your username and token
- Set the environment variables
Environment Variables
Roadmap
v0.2 (planned)
list_postal_codes— List postal codes for a regionget_postal_code_range— Get postal code range for a citycreate_collection— Schedule a package collectionget_collection— Get collection request detailscreate_reverse— Create a reverse logistics (return) request
v0.3 (planned)
batch_tracking— Track multiple packages in a single requestinternational_shipping— Calculate international shipping rates
Want to contribute? Open a PR or request a tool.
Links
Enterprise
Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
License
MIT
Source: packages/ecommerce/correios/README.md at commit d0a519a
Tools
0Version history
1- v0.2.0-alpha.3LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts