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
- Suivi des arrêts en temps réel (arrivées/départs).
- Échanges de situations (alertes trafic et perturbations).
- Cache interne pour optimiser les appels API et respecter les contraintes du protocole SIRI.
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. Sans clé, vous serez soumis à des limitations plus strictes sur la fréquence des appels.
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 directement :
{
"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.1.0.tar.gz.
File metadata
- Download URL: naolib_mcp-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e70ebc70a7c081e9265dc3d8bfd7f13f74902c6aa8ae4563824cb2a9deece4b
|
|
| MD5 |
ada74d3f9784476e42ba7c832b489015
|
|
| BLAKE2b-256 |
273fb208cf04fd2df81d7ff713d1a429e5ee6f02a618b7a78fc9f181e14438e6
|
Provenance
The following attestation bundles were made for naolib_mcp-0.1.0.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.1.0.tar.gz -
Subject digest:
6e70ebc70a7c081e9265dc3d8bfd7f13f74902c6aa8ae4563824cb2a9deece4b - Sigstore transparency entry: 1485840362
- Sigstore integration time:
-
Permalink:
alexandrerodenas/naolib-mcp@5ee194993bfe8f2ba2167810427193b1a9f2dc86 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/alexandrerodenas
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5ee194993bfe8f2ba2167810427193b1a9f2dc86 -
Trigger Event:
release
-
Statement type:
File details
Details for the file naolib_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: naolib_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 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 |
04393b85fe510cb7ed1271f3808f51c7b32ec2b5ec9df3c8f7e796b09dfc6bf0
|
|
| MD5 |
5e2b741f541b8f4baa9ab188f1bf738c
|
|
| BLAKE2b-256 |
cc7de1bbc8014e247322b95dda47b87c2cadaa7b303fb5e41ee6e6a72c193757
|
Provenance
The following attestation bundles were made for naolib_mcp-0.1.0-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.1.0-py3-none-any.whl -
Subject digest:
04393b85fe510cb7ed1271f3808f51c7b32ec2b5ec9df3c8f7e796b09dfc6bf0 - Sigstore transparency entry: 1485840384
- Sigstore integration time:
-
Permalink:
alexandrerodenas/naolib-mcp@5ee194993bfe8f2ba2167810427193b1a9f2dc86 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/alexandrerodenas
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5ee194993bfe8f2ba2167810427193b1a9f2dc86 -
Trigger Event:
release
-
Statement type: