Skip to main content

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éfaut https://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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

naolib_mcp-0.2.1.tar.gz (47.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

naolib_mcp-0.2.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file naolib_mcp-0.2.1.tar.gz.

File metadata

  • Download URL: naolib_mcp-0.2.1.tar.gz
  • Upload date:
  • Size: 47.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for naolib_mcp-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a3b1b369af3297da7d90b2711efd9e681e1e087dd2291d5f38bfd9f1bb624ceb
MD5 294694c180fb29ca703b6023e24a4131
BLAKE2b-256 90648ea0dc0c503d4462a699c68b62ae77c0240fcbbb4e6312587fc366846546

See more details on using hashes here.

Provenance

The following attestation bundles were made for naolib_mcp-0.2.1.tar.gz:

Publisher: publish.yml on alexandrerodenas/naolib-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file naolib_mcp-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: naolib_mcp-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for naolib_mcp-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 339b560d524292912923b1b1878d7bd91b58e00d364512ad2703d240ee9a7c6f
MD5 18ef6bde260c3b9b1d327dccf26383c7
BLAKE2b-256 e80fed7c0d919ff986757e508869a7f48fae9c2109c382f3516e2063559892ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for naolib_mcp-0.2.1-py3-none-any.whl:

Publisher: publish.yml on alexandrerodenas/naolib-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page