io.github.Courouge/douanecode-mcp
EU customs code search (HS, NC8, TARIC): tariff classification and duty rates
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
douanecode-mcpclaude mcp add douanecode-mcp -e 'DOUANECODE_API_KEY=<your douanecode_api_key>' -- uvx douanecode-mcp==0.1.2
{
"mcpServers": {
"douanecode-mcp": {
"command": "uvx",
"args": [
"douanecode-mcp==0.1.2"
],
"env": {
"DOUANECODE_API_KEY": "<your douanecode_api_key>"
}
}
}
}
Environment variables
DOUANECODE_API_KEYrequired secret DouaneCode API key (Pro plan) — get one at https://douanecode.fr/compte
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
Contents
douanecode-mcp
mcp-name: io.github.Courouge/douanecode-mcp
EU/French customs code search (HS, NC8, TARIC) for AI agents — natural-language tariff classification, duty rates and regulatory watch, powered by douanecode.fr. Requires a DouaneCode API key (Pro plan).
Serveur MCP officiel de DouaneCode.fr : donne aux agents IA (Claude, Cursor, agents logistique/ERP/e-commerce) un accès outillé à la recherche de codes douaniers HS/NC8/TARIC, aux taux de droits et à la veille tarifaire.
Modèle économique : chaque appel exige une clé API DouaneCode (plan Pro, 99 €/an — tier Cabinet à venir). Le serveur est un wrapper mince ; le backend existant applique authentification, rate limiting par plan et analytics.
Outils exposés
| Outil | Description |
|---|---|
search_customs_code | Description produit en langage naturel → codes candidats |
get_code_details | Détail d'un code (libellés, hiérarchie, unités) |
get_duty_rates | Droits de douane + mesures, option pays d'origine |
get_tariff_changes | Changements tarifaires récents (veille) |
Usage local (Claude Desktop / Claude Code / Cursor)
{
"mcpServers": {
"douanecode": {
"command": "uvx",
"args": ["douanecode-mcp"],
"env": { "DOUANECODE_API_KEY": "dc_..." }
}
}
}
Clé API : https://douanecode.fr/compte (plan Pro requis).
Dev
pip install -e ".[dev]"
pytest
Déploiement hébergé
Dockerfile + deploy/k8s.yaml (mcp.douanecode.fr, transport streamable-http).
Voir la note dans le manifeste : le mode hébergé nécessite de lire la clé API
depuis les headers client (TODO) ; le mode stdio publié sur PyPI fonctionne
sans cela.
Distribution (go-to-market)
- Publier sur PyPI (
douanecode-mcp) → utilisable viauvximmédiatement. - Lister sur les annuaires MCP (mcp.so, Smithery, PulseMCP, Glama) +
registre officiel
registry.modelcontextprotocol.io. - Page https://douanecode.fr/mcp expliquant l'installation → conversion Pro.
Frequently asked questions
What is io.github.Courouge/douanecode-mcp?
EU customs code search (HS, NC8, TARIC): tariff classification and duty rates
How do I install io.github.Courouge/douanecode-mcp?
It runs on your machine. In Claude Code: claude mcp add douanecode-mcp -e 'DOUANECODE_API_KEY=<your douanecode_api_key>' -- uvx douanecode-mcp==0.1.2. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.Courouge/douanecode-mcp need an API key?
Yes. It expects DOUANECODE_API_KEY, which you set in its configuration.
Is io.github.Courouge/douanecode-mcp open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains io.github.Courouge/douanecode-mcp?
It is published by Courouge. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.