npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mcp-server-thetradehub

v0.1.0

Published

MCP server by The Trade Hub - EU customs: TARIC nomenclature, duties, regulations, case law, sanctions - 155,000+ documents

Downloads

114

Readme

@thetradehub/mcp-server-taric

MCP server for EU customs: TARIC nomenclature, tariff duties, regulations, case law, sanctions. Gives AI agents access to 155,000+ documents across the entire EU customs knowledge base.

Free - no billing required.

Tools

Nomenclature TARIC (22,000+ codes)

| Tool | Description | |---|---| | lookup_taric_code | Code detail: description, hierarchy, erga omnes rate, anti-dumping duties | | get_duties | Full tariff measures (preferences, quotas, controls) | | search_nomenclature | Search by code prefix or text description | | fulltext_search | Natural language search across all code descriptions | | browse_nomenclature_tree | Browse sections > chapters > headings |

Reglementation (155,000+ documents)

| Tool | Description | |---|---| | search_regulations | 71,000+ BOD circulars and customs instructions | | get_regulation | Full text of a specific regulation | | search_jurisprudence | 10,000+ French customs court decisions (Cass, CA) | | get_jurisprudence | Full text of a French court decision | | search_eu_case_law | 1,000+ CJEU customs rulings (binding across EU) | | get_eu_case_law | Full text of a CJEU ruling | | search_sanctions | 5,800+ EU sanctions entities (persons, orgs, vessels) | | search_bofip | 1,100+ BOFIP fiscal doctrine documents | | get_bofip | Full text of a BOFIP document | | browse_code_des_douanes | French Code des Douanes (article tree + full text) | | get_referentiel | 291 customs reference tables (RITA, DELTA, AES, NCTS codes) | | search_eu_legislation | EU regulation articles (UCC, DA, IA) + consolidated versions |

Setup

1. Get an API key

Go to app.thetradehub.eu > API Keys > Create a key with the nomenclature scope.

2. Add to Claude Code

claude mcp add taric -e TTH_API_KEY=th_live_... -- npx @thetradehub/mcp-server-taric

3. Use it

> What are the customs duties on TARIC code 7612903000?
> Search for aluminum containers in the EU nomenclature
> What anti-dumping duties apply to biodiesel from China?
> Find CJEU case law on tariff classification of electronic devices
> Is this company on the EU sanctions list?
> What does article 22 of the UCC say about customs valuation?
> Show me the BOFIP doctrine on VAT on imports

Environment variables

| Variable | Required | Default | Description | |---|---|---|---| | TTH_API_KEY | Yes | - | Your Trade Hub API key | | TTH_BASE_URL | No | https://api.thetradehub.eu | API base URL | | TTH_LANG | No | FR | Default language (FR or EN) |

Local development

npm install
npm run dev  # runs with tsx