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

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


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.1.0.tar.gz (3.4 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.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

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

Hashes for naolib_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6e70ebc70a7c081e9265dc3d8bfd7f13f74902c6aa8ae4563824cb2a9deece4b
MD5 ada74d3f9784476e42ba7c832b489015
BLAKE2b-256 273fb208cf04fd2df81d7ff713d1a429e5ee6f02a618b7a78fc9f181e14438e6

See more details on using hashes here.

Provenance

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

Hashes for naolib_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04393b85fe510cb7ed1271f3808f51c7b32ec2b5ec9df3c8f7e796b09dfc6bf0
MD5 5e2b741f541b8f4baa9ab188f1bf738c
BLAKE2b-256 cc7de1bbc8014e247322b95dda47b87c2cadaa7b303fb5e41ee6e6a72c193757

See more details on using hashes here.

Provenance

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