trackified-mcp
Official# trackified-mcp
[Model Context Protocol](https://modelcontextprotocol.io) server for the [Trackified](https://trackified.net)
parcel-tracking API. It lets Claude, Cursor and other MCP clients add trackings, read their events,
detect carriers and manage webhooks. Built on the official [`trackified`](https://github.com/trackified/trackified-node) SDK.
Runs locally over stdio. Needs Node.js 18+ and a Trackified API key (`live_…` or `test_…`).
## Setup
### Claude Code
```sh
claude mcp add trackified -e TRACKIFIED_API_KEY=live_... -- npx -y trackified-mcp
```
### Claude Desktop
Settings → Developer → Edit Config (`claude_desktop_config.json`):
```json
{
"mcpServers": {
"trackified": {
"command": "npx",
"args": ["-y", "trackified-mcp"],
"env": { "TRACKIFIED_API_KEY": "live_..." }
}
}
}
```
### Cursor
`~/.cursor/mcp.json` (or `.cursor/mcp.json` in a project):
```json
{
"mcpServers": {
"trackified": {
"command": "npx",
"args": ["-y", "trackified-mcp"],
"env": { "TRACKIFIED_API_KEY": "live_..." }
}
}
}
```
Other clients: run `npx -y trackified-mcp` with `TRACKIFIED_API_KEY` in the environment.
`TRACKIFIED_BASE_URL` overrides the API URL (default `https://api.trackified.net`).
## Tools
| Tool | What it does | Read-only |
| --- | --- | --- |
| `create_tracking` | Start tracking a parcel (carrier ID or free-text name; auto-detected if omitted) | |
| `bulk_create_trackings` | Add a batch of trackings, per-row results | |
| `get_tracking` | One tracking with its full event history | yes |
| `list_trackings` | List/filter trackings by status, carrier, custom_id, number | yes |
| `update_tracking` | Change carrier, custom_id or customer_email | |
| `stop_tracking` | Stop tracking and remove a parcel (destructive) | |
| `retrack` | Ask for a fresh carrier check within a minute | |
| `detect_carrier` | Guess the carrier for a tracking number | yes |
| `list_carriers` | Carriers Trackified tracks | yes |
| `resolve_carrier` | Map a free-text carrier name or provider slug to a carrier ID | yes |
| `search_carriers` | Search the full carrier catalog by name | yes |
| `create_webhook` | Register a webhook endpoint (returns its secret once) | |
| `list_webhooks` | List webhook endpoints | yes |
| `update_webhook` | Change a webhook's URL, event types or enabled state | |
| `delete_webhook` | Remove a webhook endpoint (destructive) | |
| `list_webhook_deliveries` | Recent delivery attempts, for debugging endpoints | yes |
| `get_usage` | This month's quota, usage and rate limit | yes |
| `health` | Check whether the API is up | yes |
API key management and webhook secret rotation are deliberately not exposed as tools (both return secrets). Use the dashboard or the SDK.
Try asking: *"Track 9434650110837017316201 with USPS for order 1001"*, *"Which of my parcels have an exception?"*,
*"Why are my webhooks failing?"*, *"How much of my quota is left?"*
## Development
```sh
npm install
npm test # builds and runs the tests: in-memory MCP client + mocked fetch, plus a stdio smoke test
npm run lint && npm run typecheck
```
Runtime dependencies: `trackified`, `@modelcontextprotocol/sdk` and `zod`.
## License
MIT
TDQS
Scored across 18 tools
Most tools target a distinct resource+action (tracking CRUD, webhook CRUD, deliveries, usage). The only potential confusion cluster is the four carrier tools (detect_carrier, resolve_carrier, list_carriers, search_carriers), but each description explicitly states its boundary (guess from number vs. map a name; active carriers vs. full catalog).
The dominant pattern is consistent snake_case verb_noun (create_tracking, get_tracking, list_webhooks, update_webhook, delete_webhook, get_usage). Minor deviations are the bare-noun 'health' and the bare-verb 'retrack', plus slight plurality variance (get_tracking vs list_trackings), but overall it reads predictably.
18 tools across four sub-domains (trackings, carriers, webhooks, deliveries/usage) is slightly heavy but each tool earns its place, including 2 niche-but-useful ones (bulk_create_trackings, retrack). No obvious filler tools that could be dropped without losing capability.
Core lifecycle is well covered: create/bulk-create/get/list/update/stop trackings, full webhook CRUD plus delivery inspection, carrier lookup, usage, and a health probe. Minor gaps: no get_webhook for a single endpoint, and no explicit event-history or event-type listing tool (events only surface via get_tracking).