Serveur MCP pour les informations de trafic en temps réel de Naolib (Nantes)
Project description
Naolib MCP
Un serveur MCP pour obtenir les informations de trafic en temps réel de Naolib (Nantes Métropole) via le protocole SIRI.
Fonctionnalités
- Recherche d'arrêts : Trouvez l'identifiant technique d'un arrêt à partir de son nom (avec recherche floue).
- Suivi en temps réel : Obtenez les horaires de passage (arrivées/départs) pour un arrêt spécifique.
- Alertes Trafic : Accédez aux informations de perturbations et incidents du réseau.
- Synchronisation Dynamique : Mise à jour automatique du catalogue des arrêts via les données NeTEx de Nantes Métropole.
- Cache Intelligent : Optimisation des appels API avec un cache interne pour réduire la latence.
Installation via PyPI
Une fois le package publié, vous pouvez l'installer simplement avec :
pip install naolib-mcp
Configuration
L'utilisation d'une clé API est facultative, mais fortement recommandée pour éviter les limitations de fréquence.
Variables d'environnement :
NAOLIB_API_KEY: Votre clé API obtenue sur le portail Naolib/Okina.NAOLIB_BASE_URL: (Optionnel) Par défauthttps://api.okina.fr.
Intégration (claude_desktop_config.json)
Si vous avez installé le package via PyPI, utilisez la commande naolib-mcp :
{
"mcpServers": {
"naolib-traffic": {
"command": "naolib-mcp",
"env": {
"NAOLIB_API_KEY": "VOTRE_CLE_API_ICI"
}
}
}
}
Utilisation
Lancer le serveur manuellement :
naolib-mcp
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file naolib_mcp-0.2.5.tar.gz.
File metadata
- Download URL: naolib_mcp-0.2.5.tar.gz
- Upload date:
- Size: 48.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d55d1419446abc1fc6b8aec62259781e2f61f4c95901bd976033bcf4bb827e6f
|
|
| MD5 |
8c565ca5f44b6e63a324c1960ed9cb07
|
|
| BLAKE2b-256 |
f1bd1db88e4e506ff3d910ff785de71cf7c7a7c8d9c003ca80f36f2c9e495884
|
Provenance
The following attestation bundles were made for naolib_mcp-0.2.5.tar.gz:
Publisher:
publish.yml on alexandrerodenas/naolib-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
naolib_mcp-0.2.5.tar.gz -
Subject digest:
d55d1419446abc1fc6b8aec62259781e2f61f4c95901bd976033bcf4bb827e6f - Sigstore transparency entry: 1493307930
- Sigstore integration time:
-
Permalink:
alexandrerodenas/naolib-mcp@1b0211af457c34f8627f5f08d4e5d342a3a64750 -
Branch / Tag:
refs/tags/v0.2.5 - Owner: https://github.com/alexandrerodenas
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1b0211af457c34f8627f5f08d4e5d342a3a64750 -
Trigger Event:
release
-
Statement type:
File details
Details for the file naolib_mcp-0.2.5-py3-none-any.whl.
File metadata
- Download URL: naolib_mcp-0.2.5-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2ba6f2456818cacbf2f280e30d366ab6837508a6c3788925441b9fa5d5b37fa
|
|
| MD5 |
b6700ec471886afb5d53d58a472d60d6
|
|
| BLAKE2b-256 |
da4f10a35c49dd1bbf8fe5dc00d4cd985e660a6f6b9f33c98ea4aae963caef3b
|
Provenance
The following attestation bundles were made for naolib_mcp-0.2.5-py3-none-any.whl:
Publisher:
publish.yml on alexandrerodenas/naolib-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
naolib_mcp-0.2.5-py3-none-any.whl -
Subject digest:
b2ba6f2456818cacbf2f280e30d366ab6837508a6c3788925441b9fa5d5b37fa - Sigstore transparency entry: 1493308009
- Sigstore integration time:
-
Permalink:
alexandrerodenas/naolib-mcp@1b0211af457c34f8627f5f08d4e5d342a3a64750 -
Branch / Tag:
refs/tags/v0.2.5 - Owner: https://github.com/alexandrerodenas
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1b0211af457c34f8627f5f08d4e5d342a3a64750 -
Trigger Event:
release
-
Statement type: