How to Use the AfterShip Tracking MCP in Claude Code
Connect Claude Code to your logistics pipeline and track ecommerce shipments straight from the terminal.
Works with every AI agent you already use
…and any MCP-compatible client
Connect AfterShip Tracking MCP to Claude Code
Create your Vinkius account to connect AfterShip Tracking to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Identify carriers from the command line
The `detect_courier` tool inspects raw tracking numbers to determine the routing carrier. You pipe a text file of unformatted strings into Claude Code, and it returns the exact provider for each one. Once identified, the agent pushes them to `create_tracking`. This initiates real-time monitoring and sets up the necessary webhooks without you ever opening a browser or writing a curl request.
Audit shipments with Claude Code
Extracting historical logistics data relies on the `list_trackings` tool. Your terminal agent pulls down the complete record of active and delivered packages currently monitored by your account. This is perfect for end-of-month reporting. You ask the CLI to find all packages stuck in transit for more than five days, and it filters the JSON output right in your console.
Monitor live transit events via MCP Server
The `get_tracking_details` tool fetches the current delivery status and highly accurate location updates for a specific ID. You get the exact timestamp of the last warehouse scan. To ensure a specific provider is supported before a big shipment, run `list_couriers`. The agent checks your active AfterShip configuration and confirms the carrier is enabled before proceeding.
Set up AfterShip Tracking MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seeaftership-tracking-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest AfterShip Tracking transactions." It will automatically discover and invoke the available AfterShip Tracking tools.
claude mcp add --transport http aftership-tracking-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about AfterShip Tracking MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the AfterShip Tracking MCP today
We host it, we monitor it, we maintain it. You just paste one token.