Chit Chats MCP Server
An MCP server for the Chit Chats shipping API that enables shipment management, tracking, rate comparison, and batch operations.
README
Chit Chats MCP Server
A Model Context Protocol (MCP) server for the Chit Chats shipping API. Query shipments, track packages, manage batches, and access shipping rates programmatically.
Features
- Shipment Management - List, search, create, and manage shipments
- Cost Analysis - Get detailed cost breakdowns including postage, tariffs, broker fees
- HS Tariff Codes - Access line item details with HS codes, SKUs, manufacturer info
- Shipping Rates - Compare all available carrier options with delivery times
- Label Downloads - Get PNG, PDF, and ZPL label URLs
- Batch Operations - Organize shipments into batches for drop-off
- Order Tracking - Track shipments by order ID (Shopify, Etsy, etc.)
Installation
git clone https://github.com/yourusername/chitchats-mcp.git
cd chitchats-mcp
npm install
npm run build
Configuration
-
Get your API credentials from Chit Chats Settings > Developer > API Access Tokens
-
Set your credentials using one of these methods:
Option A: Environment variables in MCP config (recommended)
Pass credentials via
-eflags (CLI) orenvblock (JSON) - see Usage section below.Option B:
.envfilecp .env.example .envAdd your credentials to
.env:CHITCHATS_CLIENT_ID=your_client_id CHITCHATS_ACCESS_TOKEN=your_access_token
Usage
Claude Code (CLI)
Add the MCP server using the Claude Code CLI (replace the path and credentials):
claude mcp add chitchats -s user \
-e CHITCHATS_CLIENT_ID=your_client_id \
-e CHITCHATS_ACCESS_TOKEN=your_access_token \
-- node <ABSOLUTE_PATH_TO>/chitchats-mcp/dist/index.js
Example with real path:
claude mcp add chitchats -s user \
-e CHITCHATS_CLIENT_ID=abc123 \
-e CHITCHATS_ACCESS_TOKEN=sk_live_xxx \
-- node /Users/jane/projects/chitchats-mcp/dist/index.js
Or manually add to your settings file (~/.claude/settings.json):
{
"mcpServers": {
"chitchats": {
"command": "node",
"args": ["<ABSOLUTE_PATH_TO>/chitchats-mcp/dist/index.js"],
"env": {
"CHITCHATS_CLIENT_ID": "your_client_id",
"CHITCHATS_ACCESS_TOKEN": "your_access_token"
}
}
}
}
Scopes:
-s user- Available in all projects (recommended)-s project- Only in current project (adds to.claude/settings.json)
Verify the server is connected:
claude mcp list
Claude Desktop
Add to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"chitchats": {
"command": "node",
"args": ["<ABSOLUTE_PATH_TO>/chitchats-mcp/dist/index.js"],
"env": {
"CHITCHATS_CLIENT_ID": "your_client_id",
"CHITCHATS_ACCESS_TOKEN": "your_access_token"
}
}
}
}
Note: Replace
<ABSOLUTE_PATH_TO>with the actual path where you cloned the repo (e.g.,/Users/jane/projectsorC:\Users\Jane\projects).
Restart Claude Desktop after adding the configuration.
Available Tools
| Tool | Description |
|---|---|
chitchats_list_shipments |
List/search shipments with filters |
chitchats_get_shipment |
Get full shipment details |
chitchats_get_rates |
Get available shipping rates |
chitchats_get_labels |
Get label download URLs |
chitchats_get_line_items |
Get HS codes, SKUs, manufacturer info |
chitchats_create_shipment |
Create a new shipment |
chitchats_delete_shipment |
Delete an unpaid shipment |
chitchats_buy_postage |
Purchase postage |
chitchats_refund_shipment |
Request a refund |
chitchats_refresh_rates |
Refresh rate quotes |
chitchats_count_shipments |
Count shipments by status |
chitchats_list_batches |
List batches |
chitchats_create_batch |
Create a batch |
chitchats_get_batch |
Get batch details |
chitchats_delete_batch |
Delete an empty batch |
chitchats_add_to_batch |
Add shipments to a batch |
chitchats_remove_from_batch |
Remove shipments from batches |
chitchats_count_batches |
Count batches |
chitchats_list_returns |
List return shipments |
chitchats_track_shipment |
Get tracking information |
Example Queries
"What did I pay for shipping on order #1234?"
"Show me the HS codes for my recent shipments"
"What shipping options are available to California?"
"Get the label for shipment ABC123"
"List all delivered shipments from last month"
Data Available
Shipment Details
- Order info (order_id, store platform)
- Recipient (name, address, phone, email)
- Package (dimensions, weight, declared value)
- Costs (postage, tariff, broker fee, taxes)
- Labels (PNG, PDF, ZPL URLs)
- Tracking (carrier, tracking number, status)
Line Items
- HS tariff codes
- SKU codes
- Country of origin
- Manufacturer details
Rates
- All carrier options
- Cost breakdowns
- Delivery time estimates
API Reference
This MCP server wraps the Chit Chats API v1.
Rate Limits: 2,000 requests per 5-minute window
Sandbox: Use https://staging.chitchats.com for testing (test card: 4242 4242 4242 4242)
Development
npm install # Install dependencies
npm run build # Compile TypeScript
npm run dev # Build and run
See CONTRIBUTING.md for development guidelines.
License
MIT License - see LICENSE for details.
Links
- Chit Chats - Canadian shipping solution
- Chit Chats API Docs
- MCP Protocol
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。