io.github.Fabsbags/swisstrip-mcp
Canonical SwissTrip MCP — independent SBB/CFF/FFS schedules, prices, and ticket links by SwissTrip.
ماذا يمكنك أن تفعل مع io.github.Fabsbags/swisstrip-mcp؟
search_stations— find Swiss stations, addresses, and points of interestsearch_connections— train schedules between two stationsget_trip_details— detailed trip with all intermediate stopsget_more_connections— earlier or later trains for a previous searchget_prices— ticket prices with Halbtax / GA / Sparbillet discountsget_ticket_link— direct purchase link to SBB.ch
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http swisstrip-mcp 'https://mcp.swisstrip.app/mcp'
{
"mcpServers": {
"swisstrip-mcp": {
"type": "http",
"url": "https://mcp.swisstrip.app/mcp"
}
}
}
swisstrip-mcpclaude mcp add swisstrip-mcp -e 'SWISSTRIP_MCP_URL=<SWISSTRIP_MCP_URL>' -- npx -y swisstrip-mcp@0.6.3
{
"mcpServers": {
"swisstrip-mcp": {
"command": "npx",
"args": [
"-y",
"swisstrip-mcp@0.6.3"
],
"env": {
"SWISSTRIP_MCP_URL": "<SWISSTRIP_MCP_URL>"
}
}
}
}
متغيرات البيئة
SWISSTRIP_MCP_URLOverride the hosted server URL. Default: https://mcp.swisstrip.app/mcp.
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
swisstrip-mcp
The canonical SwissTrip MCP client. Connects AI assistants to Swiss Federal Railways (SBB / CFF / FFS) data: train schedules, station search, ticket prices, and direct ticket purchase links.
Backed by SwissTrip's hosted MCP service at https://mcp.swisstrip.app/mcp. Independent third-party implementation; not the official SBB MCP.
Install
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"swisstrip": {
"command": "npx",
"args": ["-y", "swisstrip-mcp"]
}
}
}
Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"swisstrip": {
"command": "npx",
"args": ["-y", "swisstrip-mcp"]
}
}
}
Gemini CLI / Continue / other stdio MCP clients
Same pattern: command: npx, args: ["-y", "swisstrip-mcp"].
ChatGPT (Plus / Pro / Business / Enterprise with Developer Mode)
No install required. Add a custom connector pointing at:
https://mcp.swisstrip.app/mcp
Tools
search_stations— find Swiss stations, addresses, and points of interestsearch_connections— train schedules between two stationsget_trip_details— detailed trip with all intermediate stopsget_more_connections— earlier or later trains for a previous searchget_prices— ticket prices with Halbtax / GA / Sparbillet discountsget_ticket_link— direct purchase link to SBB.ch
Languages
Tool descriptions and natural-language responses available in 9 languages: English, German, French, Italian, Spanish, Portuguese, Dutch, Polish, Russian.
Optional configuration
| Environment variable | Purpose |
|---|---|
SWISSTRIP_MCP_URL | Override the hosted server URL. Default: https://mcp.swisstrip.app/mcp. |
SBB_MCP_URL | Same as above (legacy name, still supported). |
Aliases (also published, all spawn this canonical package)
The following npm packages are brand-protective aliases that spawn swisstrip-mcp:
swisstrip,swisstrip-ai,swisstrip-server— SwissTrip-brandedsbb-mcp,sbb-mcp-official,sbb-cff-ffs-mcp— SBB-themed (may transfer to SBB AG on request)swiss-rail-mcp,swiss-railways-mcp,swiss-train-mcp— generic descriptive
Recommended: install swisstrip-mcp directly. The aliases exist for discoverability and brand protection.
License
Proprietary. See LICENSE. © 2026 SwissTrip.
For commercial licensing inquiries: fabsforward2@gmail.com.
الأسئلة الشائعة
ما هو io.github.Fabsbags/swisstrip-mcp؟
Canonical SwissTrip MCP — independent SBB/CFF/FFS schedules, prices, and ticket links by SwissTrip.
كيف أثبّت io.github.Fabsbags/swisstrip-mcp؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http swisstrip-mcp 'https://mcp.swisstrip.app/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.Fabsbags/swisstrip-mcp إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل io.github.Fabsbags/swisstrip-mcp مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون io.github.Fabsbags/swisstrip-mcp؟
ينشره Fabsbags. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.