mcp-sncf

mcp-sncf

2

The SNCF API MCP Server is a Python-based interface for interacting with the French National Railway's API. It provides features like journey planning, station details, schedule checking, and disruption monitoring, designed to integrate seamlessly with Claude Desktop for enhanced travel information capabilities.

SNCF API MCP Server

This project provides a Python wrapper for the SNCF API with an MCP interface, integrating with Claude Desktop for intelligent journey planning and train information retrieval across France.

Features

  • Plan train journeys between French cities
  • Get information on train stations
  • Check train schedules
  • Monitor service disruptions
  • Smart station location by city name, station name, or coordinates

Installation

  • Requires Python 3.6+ and pip
  • Clone the repository and install dependencies
  • Obtain an API key from the SNCF API Portal

Available MCP Tools

  • Journey Planning: Plan journeys between cities
  • Station Information: Get comprehensive station details
  • Disruption Monitoring: Check for network disruptions

Usage Examples

  • Plan a journey from Paris to Lyon using Claude