<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: 24hTrack</title>
    <description>The latest articles on DEV Community by 24hTrack (@support24htrack).</description>
    <link>https://dev.to/support24htrack</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4131848%2F4c74856b-d882-4c69-a7ea-08ed099195ad.png</url>
      <title>DEV Community: 24hTrack</title>
      <link>https://dev.to/support24htrack</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/support24htrack"/>
    <language>en</language>
    <item>
      <title>Let Your AI Assistant Track Packages: A Multi-Carrier Tracking MCP Server</title>
      <dc:creator>24hTrack</dc:creator>
      <pubDate>Fri, 18 Sep 2026 16:50:04 +0000</pubDate>
      <link>https://dev.to/support24htrack/let-your-ai-assistant-track-packages-a-multi-carrier-tracking-mcp-server-3e9g</link>
      <guid>https://dev.to/support24htrack/let-your-ai-assistant-track-packages-a-multi-carrier-tracking-mcp-server-3e9g</guid>
      <description>&lt;p&gt;&lt;em&gt;Disclosure: I work on &lt;a href="https://www.24htrack.com" rel="noopener noreferrer"&gt;24hTrack&lt;/a&gt;, the tracking service behind the MCP server in this post.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;If you run a store, a dropshipping business or a support desk, a surprising share of your day is spent answering one question: &lt;em&gt;where is this parcel?&lt;/em&gt; The answer is spread across hundreds of carrier websites, each with its own tracking number format and its own wording for the same events.&lt;/p&gt;

&lt;p&gt;The Model Context Protocol (MCP) lets an AI assistant call tools directly. So instead of opening five carrier sites, you can ask Claude or Cursor "where are these three packages?" and get the answer in the chat.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the server does
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;24htrack-mcp&lt;/code&gt; is an MCP server (on npm and in the official MCP registry) that connects an assistant to 24hTrack, which covers 3,200+ carriers and detects the carrier from the tracking number. It exposes six tools:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;What it does&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;track_package&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Status and full event history for up to 40 packages&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;register_tracking&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Start monitoring new tracking numbers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;list_tracking&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;List your tracked numbers with their status&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;realtime_track&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Force a fresh check (results in a few minutes)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;delete_tracking&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Archive tracking numbers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;get_carriers&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;List supported carriers&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Setup
&lt;/h2&gt;

&lt;p&gt;Create a free account at &lt;a href="https://www.24htrack.com" rel="noopener noreferrer"&gt;24htrack.com&lt;/a&gt;, open &lt;strong&gt;Developer Settings&lt;/strong&gt; and create an API key.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Claude Desktop&lt;/strong&gt; (&lt;code&gt;claude_desktop_config.json&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"24htrack"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"npx"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"args"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"-y"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"24htrack-mcp"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"env"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"TRACK24H_API_KEY"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"your-api-key-here"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Claude Code:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add 24htrack &lt;span class="nt"&gt;--&lt;/span&gt; npx &lt;span class="nt"&gt;-y&lt;/span&gt; 24htrack-mcp
&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;TRACK24H_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;your-api-key-here
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Cursor / Windsurf:&lt;/strong&gt; add the same &lt;code&gt;command&lt;/code&gt;, &lt;code&gt;args&lt;/code&gt; and &lt;code&gt;env&lt;/code&gt; block to your MCP settings.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you can ask
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;"Track 1Z999AA10123456784"&lt;/li&gt;
&lt;li&gt;"Register these numbers and tell me which ones have not moved in a week"&lt;/li&gt;
&lt;li&gt;"Which of my parcels are out for delivery today?"&lt;/li&gt;
&lt;li&gt;"What does 'Held at customs' mean for this parcel, and what should the customer do?"&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You do not need to say which carrier a number belongs to. UPS numbers start with &lt;code&gt;1Z&lt;/code&gt;, many USPS numbers are 22 digits starting with 9, and international postal numbers follow the UPU S10 format (&lt;code&gt;RR123456789CN&lt;/code&gt;), but plenty of regional carriers share plain numeric shapes, so the service checks the carriers that could own a number instead of guessing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the answers are consistent
&lt;/h2&gt;

&lt;p&gt;Every carrier's wording is mapped to the same small set of statuses (Info Received, In Transit, Out for Delivery, Delivered, Exception, Returned), and the carrier's original text is kept in the event history. That makes it easy for an assistant to filter ("show me every Exception") while still quoting the exact scan when a customer asks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Without an AI assistant
&lt;/h2&gt;

&lt;p&gt;The same data is available through a REST API with webhooks, a two-way Google Sheets sync (free) and a web dashboard. Tracking on the website is free and needs no account.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;API docs: &lt;a href="https://www.24htrack.com/api" rel="noopener noreferrer"&gt;https://www.24htrack.com/api&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;npm: &lt;a href="https://www.npmjs.com/package/24htrack-mcp" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/24htrack-mcp&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Open tracking guides and carrier transit-time data: &lt;a href="https://github.com/doanhnd9989/package-tracking-guide" rel="noopener noreferrer"&gt;https://github.com/doanhnd9989/package-tracking-guide&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Questions or carriers you want covered? Leave a comment.&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>api</category>
      <category>ecommerce</category>
    </item>
  </channel>
</rss>
