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.
Metadata
Release files for douanecode-mcp 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| douanecode_mcp-0.1.2.tar.gz | 6.3 kB | Without provenance | Details for douanecode_mcp-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| douanecode_mcp-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for douanecode_mcp-0.1.2-py3-none-any.whl |
Total release size: 11.8 kB
Release files / douanecode_mcp-0.1.2.tar.gz
| Download URL | douanecode_mcp-0.1.2.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e9a6b49a08e8481e043dad5e1decc7f086215c690aaa272a52e9d10c8aa229a
|
|
BLAKE2b-256 checksum How to use checksums |
d064a785c6efb1b8a0ab608172c5862d20d6d9380e2da5b3063e09ead704f56a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / douanecode_mcp-0.1.2-py3-none-any.whl
| Download URL | douanecode_mcp-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b64d74044983e8be3a970c2625601ed5b0c0f4058bb528e5f16ec6f25af5b2d9
|
|
BLAKE2b-256 checksum How to use checksums |
accb52977a1231c4c7a7bb63f05cf7a7cec23e100cc33cbfee5a7f953acc6fa8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for douanecode-mcp 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.