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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.