Mcp Correios

io.github.codespar由 GitHub 帳號 codespar 發布v0.2.0-alpha.3更新於 Oct 24, 2026

MCP server for Correios — package tracking, shipping rates, CEP lookup

已驗證STDIO僅桌面位置與生活商業與電商

概覽

AI 產生的概覽

針對巴西 Correios 郵政的 MCP 伺服器:可查詢包裹物流、計算運費、依 CEP 查地址,並管理預投遞與取件訂單。

可以做什麼
  • 依 Correios 物流單號查詢單筆或批次包裹的配送狀態。
  • 計算兩個 CEP 之間的運費、配送時效、可用服務、投遞方式與 CEP 區間。
  • 依 CEP 查詢地址、批次查詢,或依街道與地點搜尋 CEP。
  • 建立、列出、查詢與取消預投遞訂單,並將已投遞物件封單產生 PLP。
  • 申請 SIGEP 標籤區間、預約或取消到府收件,以及建立或查詢逆物流(退貨)訂單。
適用情境
適合需要巴西物流資料或 Correios 業務的情境:查看配送狀態、依 CEP 試算運費、解析地址,或為持有 Correios 合約的使用者處理預投遞、標籤、收件與退貨。
執行需求
以 stdio 在本機執行,通常透過 npx 從 npm 套件啟動。需要 Correios API 合約與憑證:環境變數 CORREIOS_USER 與 CORREIOS_TOKEN(清單僅宣告 CORREIOS_TOKEN)。測試可使用 homologation 環境的獨立憑證。僅支援桌面用戶端。
安裝前請注意
README 標示這是 alpha 版本,端點路徑尚未完全經線上驗證,建議鎖定精確版本。多個工具會建立、取消或送出真實的寄件訂單、標籤與收件,可能產生費用並改變物流狀態。憑證以環境變數傳入,應避免寫入共用設定檔。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Correios,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@codespar/mcp-correios

Alpha release — published under the alpha npm dist-tag. Endpoint paths follow public docs and BACEN/provider conventions but have not been fully live-validated. Pin exact versions during 0.x.x-alpha. Install with npm install <pkg>@alpha.

MCP server for Correios — Brazilian postal service tracking, rates, and shipping

[npm] [License: MIT]

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

json
{  "mcpServers": {    "correios": {      "command": "npx",      "args": ["-y", "@codespar/mcp-correios"],      "env": {        "CORREIOS_USER": "your-user",        "CORREIOS_TOKEN": "your-token"      }    }  }}

Claude Code

bash
claude mcp add correios -- npx @codespar/mcp-correios

Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

json
{  "servers": {    "correios": {      "command": "npx",      "args": ["-y", "@codespar/mcp-correios"],      "env": {        "CORREIOS_USER": "your-user",        "CORREIOS_TOKEN": "your-token"      }    }  }}

Tools (21)

ToolPurpose
track_packageTrack a package by Correios tracking code
track_bulkTrack multiple Correios packages in a single call (up to 50 codes)
calculate_shippingCalculate shipping rates between two CEPs
get_delivery_timeGet estimated delivery time between two CEPs
list_servicesList available Correios shipping services
find_cepLook up address by CEP via Correios
find_cep_bulkBatch address lookup for up to 20 CEPs in a single call
list_cep_rangesList CEP ranges (faixas de CEP) served by a given shipping service
get_delivery_modalityGet delivery modality (forma de entrega) for a CEP and service — whether delivery is domicile, agency picku...
create_prepostCreate a pre-posting order for shipping
get_prepostGet a pre-posting order by ID
list_prepostsList pre-posting orders with optional filters (date range, status)
cancel_prepostCancel a pre-posting order
buy_label_rangeRequest a range of SIGEP tracking labels (etiquetas) for a service
post_objectsClose and post a list of pre-posted objects (fechar postagem SIGEP) — creates a PLP
list_postal_codesSearch addresses by street name or location (returns matching CEPs)
create_collectionSchedule a package collection (pickup) from an address
get_collectionGet collection request details by ID
cancel_collectionCancel a scheduled collection request
create_reverseCreate a reverse logistics (return) order
get_reverseGet reverse logistics order details by ID

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

  1. Go to Correios CWS Portal
  2. Register for API access (requires a contract with Correios)
  3. Get your username and token
  4. Set the environment variables

Environment Variables

VariableRequiredDescription
CORREIOS_USERYesCorreios API username
CORREIOS_TOKENYesCorreios API token

Roadmap

v0.2 (planned)

  • list_postal_codes — List postal codes for a region
  • get_postal_code_range — Get postal code range for a city
  • create_collection — Schedule a package collection
  • get_collection — Get collection request details
  • create_reverse — Create a reverse logistics (return) request

v0.3 (planned)

  • batch_tracking — Track multiple packages in a single request
  • international_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

來源:packages/ecommerce/correios/README.md,提交 d0a519a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.0-alpha.3最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分