Skip to main content
C

Correios

@codespar/mcp-correios Β· v0.2.0-alpha.3

πŸ‡§πŸ‡· BrazilLogisticsAuth Β· API Keylive21 tools2 env varsprerelease

Official Brazilian postal service. Package tracking, shipping rate calculation, CEP lookup, SEDEX, and PAC.

Get started Β· freeView docs

MIT Β· runs locally with your own credentials

Limitations

  • v0.2.0-alpha.3 is a prerelease, with 21 tools, and the command on this page installs it. The latest stable release is 0.1.2, with 11 tools.
  • The package manifest does not declare 1 of the 2 variables the code reads.
  • Hosted calls with a test key are not available: the runtime has not recorded this provider's test behaviour (test venue unclassified).
Package
@codespar/mcp-correios
Version
0.2.0-alpha.3 Β· prerelease
npm dist-tag
latest
Category
Logistics
Auth
API Key
Country
πŸ‡§πŸ‡· Brazil
License
MIT
Transport
stdio Β· streamable-http

Quickstart

Install, set the credentials, make the first call.

Pick your client. The server runs locally over stdio, with your own credentials.

Add the server to your clientOne config entry. No build step, no SDK required.
Set the environment variables2 variables read by this server's code, listed below.
Restart and make the first callThe agent can call any of the 21 tools. Try track_package first.
terminal
# Claude Code claude mcp add correios -e CORREIOS_TOKEN=… -e CORREIOS_USER=… -- npx -y @codespar/mcp-correios@0.2.0-alpha.3 # then: /mcp to confirm the server is connected
Environment variables2 variables
CORREIOS_TOKENAPI key for correiosrequiredsecret
CORREIOS_USERRead by the code; the package manifest does not declare it.

Names read from the package code (@codespar/mcp-correios@0.2.0-alpha.3). Descriptions and flags come from its manifest. Self-hosted, you hold the credentials.

First call demotrack_package

"Track a package by Correios tracking code"

tools/calltrack_packageresult returned

Tools

What your agent can call.

21 tools, as the package's tools/list returns them.

track_package

Track a package by Correios tracking code

track_bulk

Track multiple Correios packages in a single call (up to 50 codes)

calculate_shipping

Calculate shipping rates between two CEPs

get_delivery_time

Get estimated delivery time between two CEPs

list_services

List available Correios shipping services

find_cep

Look up address by CEP via Correios

find_cep_bulk

Batch address lookup for up to 20 CEPs in a single call

list_cep_ranges

List CEP ranges (faixas de CEP) served by a given shipping service

get_delivery_modality

Get delivery modality (forma de entrega) for a CEP and service β€” whether delivery is domicile, agency pickup, etc.

create_prepost

Create a pre-posting order for shipping

get_prepost

Get a pre-posting order by ID

list_preposts

List pre-posting orders with optional filters (date range, status)

Names and descriptions come from the package's tools/list (@codespar/mcp-correios@0.2.0-alpha.3). A kind (read, write, delete) is shown only when the package annotates its tools or each tool was verified one by one; neither exists for this server yet.

Compatibility

MCP is a protocol. Any client that speaks it can mount this server.

codespar_discover lists this server's tools, but a project with a test key cannot call them yet: the runtime has not recorded what this provider does in test mode, and refuses rather than guess.

Protocol

Any MCP client

stdio Β· streamable-http

Questions

Before you install.

How do I install the Correios MCP server?

Run npx -y @codespar/mcp-correios@0.2.0-alpha.3 and add the config block above to your MCP client: Claude Code, Cursor, Claude Desktop, VS Code, or any MCP-compatible client. No build step, no SDK required.

What can my agent do with Correios?

Correios exposes 21 tools for logistics. Your agent calls them directly; the full list is above.

How does Correios authenticate, and how are credentials stored?

Correios uses API Key. Self-hosted, you hold the credentials: the server reads them from its environment variables.

How does Correios handle upstream API changes?

Every server is versioned independently on npm. The command on this page pins 0.2.0-alpha.3, the version whose tools are listed here; your agent keeps running it until you change the version.

Is Correios open source? How do I report a bug?

Yes. Correios is MIT-licensed and published on npm as @codespar/mcp-correios, source on GitHub (link in the Details panel). Report issues on the package repository; security issues go to security@codespar.dev, and we respond within 24 hours.

Start in seconds.

Add the config above, set the variables, and your agent calls the tools.

Start in seconds demo
Add the server to your client with the config above.
Set the environment variables listed above.
Ask your agent for the first call.
Correios β€” MCP server Β· 21 tools | CodeSpar