@mbstudio/sbb-mcp
v1.0.5
Published
A MCP (Model Context Protocol) server for the Swiss Federal Railways
Maintainers
Readme
SBB/CFF/FFS MCP
A Model Context Protocol server for the Swiss Federal Railways.
This project is a proof of concept for a Model Context Protocol server that provides information about the Swiss Federal Railways (SBB/CFF/FFS) trains, stations, and other related data.
Usage
Run the MCP server with the following command:
npx -y @mbstudio/sbb-mcp@latestOr add to your mcp.json:
"sbb": {
"command": "npx",
"args": [
"-y",
"@mbstudio/sbb-mcp@latest"
]
}Available Tools
| Tool | Description |
| ---------------- | ----------------------------------------------------------- |
| sbb_get_places | Return a list of places available from name |
| sbb_get_trips | Return a list of trips available from two places ID or name |
Development
To run the MCP server in development mode, you can use the MCP Inspector.
First build the server:
pnpm buildThen run the server inspector:
npx @modelcontextprotocol/inspector node dist/index.js