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-mcp": {
      "command": "uvx",
      "args": [
        "naolib-mcp"
      ],
      "env": {
        "NAOLIB_API_KEY": "ta_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.7.tar.gz (48.5 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.7-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: naolib_mcp-0.2.7.tar.gz
  • Upload date:
  • Size: 48.5 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.7.tar.gz
Algorithm Hash digest
SHA256 8762c6c9afd492972f7503916e21ac38b1b1614916b371fdaeb99e2de9880f24
MD5 2270cc6aa6a1497cf2fab09742da1d2f
BLAKE2b-256 bc99e1327a1ca2631ff1b0a3e402b2688f8e53833562ff05676405eb668ad57b

See more details on using hashes here.

Provenance

The following attestation bundles were made for naolib_mcp-0.2.7.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.7-py3-none-any.whl.

File metadata

  • Download URL: naolib_mcp-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 6.0 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0fafd5016aa2794028f602e3c90e5ae5e707b62c0eeecca30ad17eb17d7ab35a
MD5 ae2285ccf94e0552f555a3e2cd02b10a
BLAKE2b-256 2a7d36354ce597f6c23bc041c0adba505aabb81f8d95a5799460e2c862e7ccd7

See more details on using hashes here.

Provenance

The following attestation bundles were made for naolib_mcp-0.2.7-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