原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚 登录

Transitous public transport

作者:udondan版本 1.2.0i★ 0i在你的电脑上运行代码仓库 ↗

安装方法

能做什么

Stops, departures and connections on Transitous, with cancellations, delays and missed transfers

作者提供的原文

  • 连接方式 在你的电脑上运行
  • 账号或密钥 无需密钥 · 需填写 1 项设置(TRANSITOUS_CONTACT)
  • 分类 其他

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度0/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度12/1230 天内有发布或代码更新得满分
仍在响应0/8上次检查时云端端点有响应
使用分12/100

质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

选择你使用的 AI 应用,然后复制设置。

通过 3/3 项检查 · 在你的电脑上运行

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要填写 1 项设置(TRANSITOUS_CONTACT) · 需要先在电脑上安装 Docker(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

  1. 安装 Docker(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    docker --version
    • 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令

    打开 Docker 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: docker --version

    安装一次,所有需要 Docker 的工具都能用

  2. 填写 1 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • TRANSITOUS_CONTACT Transitous 使用规则要求的 User-Agent 联系方式:URL、mailto: 链接或电子邮件地址。若未提供,所有工具都会返回 contact_missing。
      查看英文原文Contact for the User-Agent that the Transitous usage rules require: a URL, mailto: URL or email address. Without it, every tool answers contact_missing.

    说明为自动翻译,变量名保持原样;不确定时请查看原文。

  3. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  4. 粘贴这些设置并保存文件

    正在检查命令 · 通过后才会显示复制按钮

  5. 退出 Claude 再重新打开

  6. 试一试

    用 Transitous public transport 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Transitous public transport,或回答中出现 Transitous public transport 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 Transitous public transport

Transitous public transport 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 Transitous public transport 的应用

  • 需要填写 1 项设置(TRANSITOUS_CONTACT) · 需要先在电脑上安装 Docker(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要填写 1 项设置(TRANSITOUS_CONTACT) · 需要先在电脑上安装 Docker(只需一次)
  • 需要填写 1 项设置(TRANSITOUS_CONTACT) · 需要先在电脑上安装 Docker(只需一次)
  • 需要填写 1 项设置(TRANSITOUS_CONTACT) · 需要先在电脑上安装 Docker(只需一次)

B · 其他 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要填写 1 项设置(TRANSITOUS_CONTACT) · 需要先在电脑上安装 Docker(只需一次)

  1. 安装 Docker(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    docker --version
    • 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令

    打开 Docker 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: docker --version

    安装一次,所有需要 Docker 的工具都能用

  2. 填写 1 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • TRANSITOUS_CONTACT Transitous 使用规则要求的 User-Agent 联系方式:URL、mailto: 链接或电子邮件地址。若未提供,所有工具都会返回 contact_missing。
      查看英文原文Contact for the User-Agent that the Transitous usage rules require: a URL, mailto: URL or email address. Without it, every tool answers contact_missing.

    说明为自动翻译,变量名保持原样;不确定时请查看原文。

  3. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  4. 粘贴这条命令并按 Enter

    正在检查命令 · 通过后才会显示复制按钮

  5. 在 Claude Code 中输入 /mcp

    应能看到 Transitous public transport 在列表中并显示已连接

  6. 试一试

    用 Transitous public transport 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Transitous public transport,或回答中出现 Transitous public transport 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要填写 1 项设置(TRANSITOUS_CONTACT) · 需要先在电脑上安装 Docker(只需一次)

  1. 安装 Docker(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    docker --version
    • 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令

    打开 Docker 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: docker --version

    安装一次,所有需要 Docker 的工具都能用

  2. 填写 1 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • TRANSITOUS_CONTACT Transitous 使用规则要求的 User-Agent 联系方式:URL、mailto: 链接或电子邮件地址。若未提供,所有工具都会返回 contact_missing。
      查看英文原文Contact for the User-Agent that the Transitous usage rules require: a URL, mailto: URL or email address. Without it, every tool answers contact_missing.

    说明为自动翻译,变量名保持原样;不确定时请查看原文。

  3. 点击这个按钮打开 Cursor

    正在检查命令 · 通过后才会显示复制按钮

  4. 填写你的密钥

    在 Transitous public transport 的设置中,TRANSITOUS_CONTACT 还是空的,填入你的密钥并保存

  5. 在 Cursor 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 Transitous public transport 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Transitous public transport,或回答中出现 Transitous public transport 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要填写 1 项设置(TRANSITOUS_CONTACT) · 需要先在电脑上安装 Docker(只需一次)

  1. 安装 Docker(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    docker --version
    • 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令

    打开 Docker 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: docker --version

    安装一次,所有需要 Docker 的工具都能用

  2. 填写 1 项设置

    这些是程序设置,不是密钥,无需注册。按开发者的说明填写。

    • TRANSITOUS_CONTACT Transitous 使用规则要求的 User-Agent 联系方式:URL、mailto: 链接或电子邮件地址。若未提供,所有工具都会返回 contact_missing。
      查看英文原文Contact for the User-Agent that the Transitous usage rules require: a URL, mailto: URL or email address. Without it, every tool answers contact_missing.

    说明为自动翻译,变量名保持原样;不确定时请查看原文。

  3. 点击这个按钮打开 VS Code

    正在检查命令 · 通过后才会显示复制按钮

  4. 填写你的密钥

    在 Transitous public transport 的设置中,TRANSITOUS_CONTACT 还是空的,填入你的密钥并保存

  5. 在 VS Code 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 Transitous public transport 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Transitous public transport,或回答中出现 Transitous public transport 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Transitous public transport 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

正在检查命令 · 通过后才会显示复制按钮

Claude Desktop (claude_desktop_config.json)

正在检查命令 · 通过后才会显示复制按钮

Cursor (~/.cursor/mcp.json)

正在检查命令 · 通过后才会显示复制按钮

VS Code (mcp.json)

正在检查命令 · 通过后才会显示复制按钮

需要你填写的值

  • TRANSITOUS_CONTACT 必填 env
    Transitous 使用规则要求的 User-Agent 联系方式:URL、mailto: 链接或电子邮件地址。若未提供,所有工具都会返回 contact_missing。
    查看英文原文Contact for the User-Agent that the Transitous usage rules require: a URL, mailto: URL or email address. Without it, every tool answers contact_missing.

说明为自动翻译,变量名保持原样;不确定时请查看原文。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

注册名称
io.github.udondan/transitous
每周下载量i
不在 npm/PyPI 上
许可证i
Apache-2.0
连接方式
在你的电脑上运行
最新版本i
1.2.0
分类i
其他
发布到注册中心i
2026年11月28日
代码最后更新i
2026年11月27日
作者
udondan
软件包
oci: docker.io/udondan/transitous:1.2.0
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月28日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 udondan 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于昨天

  • ✓ 通过

    有许可证

    使用 Apache-2.0

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

已公开的漏洞(OSV.dev)

未检查:只能检查标明版本的 npm 和 PyPI 包

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/udondan-transitous.svg)](https://mcp.popnx.com/en/servers/udondan-transitous)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 22540 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 22540 个服务器的 99% 更新
  • 基础检查结果等于或优于此分类中其他 22540 个服务器的 99%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Transitous public transport 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于昨天,最新版本(1.2.0)于今天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。

有什么可以替代它?

同一分类中有:World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

作者:koala73广泛使用★ 9.1万12天前更新

可立即连接(有 URL) · 需登录✓ 服务方 · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

作者:openstatusHQ广泛使用★ 92853个月前更新

可立即连接(有 URL) · 需登录✓ 服务方 · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

作者:JanDeDobbeleer广泛使用★ 2.4万 整个仓库的星标39天前更新

可立即连接(有 URL)2 个工具 · 轻✓ 服务方 · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

作者:Klavis-AI正在增长★ 582314个月前更新

可立即连接(有 URL) · 需密钥仓库已归档✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

作者:jitsucom广泛使用★ 51444个月前更新

可立即连接(有 URL) · 需登录✓ 服务方 · jitsu.com
与相似项目对比
本项
Transitous public transport
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
运行位置需要安装在电脑上在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装
需要密钥否否否否否否
可在 Claude 中按 + 添加否否否否否否
基础检查3/34/44/44/41/44/4
许可证Apache-2.0AGPL-3.0AGPL-3.0MITApache-2.0MIT
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

transitous

CLI and MCP server for public transport connections and departures, using the Transitous API (MOTIS 2).

It is built for callers that check fixed daily trips, like a script or an agent asking every few minutes in the morning whether the usual train still runs. For each connection it reports scheduled and actual times, delays, cancellations and alerts, and sums them up in one status:

StatusMeaning
okAs planned, as far as the realtime data tells
delayedThe arrival is late, or the departure is off its schedule
cancelledA ride, or boarding or alighting at a stop of it, is cancelled
unreachableA transfer can no longer be made, or the first ride has left
no_realtimeNo realtime data: the times are the timetable

A cancelled connection stays in the result, marked as cancelled, instead of silently dropping out. reasons says why, like {"kind": "transfer_missed", "leg": 2, "margin_minutes": -3}. docs/status.md explains the rules.

Contents

  • Installation
  • Set up
  • Usage
  • MCP server
  • Configuration
  • Usage rules and limits
  • Crates
  • Versioning
  • Data and credits

Installation

brew install udondan/software/transitous   # macOS and Linux

cargo install transitous # from source docker pull udondan/transitous # see Docker below

The releases also have binaries for Linux (x86_64, aarch64, static), macOS and Windows. SHA256SUMS.txt lists their checksums and is signed with the GPG key F111A9BDD62F384A:

gpg --verify SHA256SUMS.txt.asc SHA256SUMS.txt

sha256sum --check --ignore-missing SHA256SUMS.txt

The Docker image is signed with cosign by the release workflow:

cosign verify udondan/transitous \

--certificate-identity-regexp '^https://github.com/udondan/transitous/' \ --certificate-oidc-issuer https://token.actions.githubusercontent.com

Set up

Transitous is run by volunteers and asks every client to name a contact in its User-Agent. Set yours once; without it, transitous sends no request at all and answers contact_missing:

transitous config set contact mailto:you@example.org   # or a URL, or an email address

TRANSITOUS_CONTACT sets it for a single run instead.

Shell completion, loaded when the shell starts (bash shown; zsh, fish, elvish and powershell work the same way):

source <(transitous completion bash)

Usage

$ transitous stops "Frankfurt Hauptwache"

Frankfurt (Main) Hauptwache, Frankfurt am Main de-DELFI_de:06412:1_G Frankfurt (Main) Freßgass/Hauptwache, Frankfurt am Main de-DELFI_de:06412:60854:1:1 …

$ transitous departures de-DELFI_de:06412:1_G --count 3 Departures at Frankfurt (Main) Hauptwache 23:14 U1 → Frankfurt (Main) Ginnheim Mitte 23:13 +1 U6 → Frankfurt (Main) Ostbahnhof ! Frankfurt: U3, U4, U6, U8 - Zusatzfahrten, längere Züge 23:13 +2 S8 → Wiesbaden Hauptbahnhof Data: Transitous (https://transitous.org) and its sources, …

CommandDoes
stops [--near LAT,LON]Finds stops by name, with their IDs
departures [--time T] [--count N] [--arrivals] [--modes M]The next departures or arrivals at a stop
`trip [--arrive T \--depart T] [--count N] [--modes M] [--max-transfers N] [--realtime-routing]`Connections, each with its status
journey A trip with all its stops, by its ID from departures or trip
`config show\path\get\set\unset`The configuration file
usageThe requests of the last 24 hours and the limits
mcp [--http [ADDR]]The MCP server
completion The completion script
  • Stops are given by ID, or by a name that fits exactly one stop. A name that fits several gives ambiguous_stop with the candidates and their IDs, never a guess. trip also takes coordinates LAT,LON.
  • Times are HH:MM (always today, never rolled over to tomorrow), a local time like 2026-11-27T07:50, or RFC 3339 with an offset. HH:MM and local times are the time at the stop, in its time zone, like the times of the results: at the stop of departures, at the origin of trip, and at the destination with --arrive. The time zone of the machine or container does not matter.
  • `trip --arrive 07:50` returns the connections arriving last before 07:50, together with earlier ones to switch to.
  • Pages: every result has a page_cursor with earlier and later; pass one with --page-cursor.
Output

-o text|json|yaml chooses the format. JSON is the default when stdout is not a terminal, so scripts get JSON without asking. Errors are printed in the same format on stderr, with a stable status:

statusMeaning
contact_missingNo contact configured; nothing was sent
config_errorThe configuration file, a setting or the contact is invalid
invalid_input(MCP) A time, mode or place could not be read; the CLI reports these as usage errors
ambiguous_stopThe name fits several stops; see candidates
stop_not_foundNo stop has that name
not_foundTransitous does not know the stop or trip ID
rate_limitedToo many requests in the last minute; see retry_after_seconds
daily_limitThe daily limit of plan requests is used up; see retry_after_seconds
timeout, unavailable, bad_request, upstream_errorTransitous did not answer, or refused
usage_errorThe usage counter could not be read or written

Text output always ends with the attribution of the data, which must be kept.

MCP server

transitous mcp serves four read-only tools to an MCP client on stdin and stdout. Each has an output schema and returns a one-line summary followed by the same JSON as the CLI.

ToolReturns
transitous_find_stopStops by name, with their IDs
transitous_departuresThe next departures or arrivals at a stop
transitous_tripConnections between two places, each with its status and reasons
transitous_journeyA trip with all its stops

For example, in Claude Code:

claude mcp add transitous -e TRANSITOUS_CONTACT=mailto:you@example.org -- transitous mcp

Or in the configuration of another client:

{

"mcpServers": { "transitous": { "command": "transitous", "args": ["mcp"], "env": { "TRANSITOUS_CONTACT": "mailto:you@example.org" } } } }

The server tells the model that stop names and alert texts from the API are data, not instructions, and asks it to poll rarely.

Agents that use the CLI instead can load the skill in skills/transitous/SKILL.md.

HTTP

transitous mcp --http serves streamable HTTP at http://127.0.0.1:8080/mcp; --http 0.0.0.0:9000 takes another address. It needs a bearer token of at least 16 characters in TRANSITOUS_MCP_TOKEN, which every request must send as Authorization: Bearer :

export TRANSITOUS_MCP_TOKEN=$(openssl rand -hex 32)

transitous mcp --http claude mcp add --transport http transitous http://127.0.0.1:8080/mcp \ --header "Authorization: Bearer $TRANSITOUS_MCP_TOKEN"

All sessions share one cache and one usage counter. The server shuts down cleanly on SIGINT and SIGTERM. It serves plain HTTP; put a TLS proxy in front of it to reach it over a network.

Docker

The image runs transitous; without a command it starts the MCP server on stdio:

docker run --rm -i -e TRANSITOUS_CONTACT=mailto:you@example.org udondan/transitous

The cache and the usage counter live in /home/transitous; mount a volume there to keep the counter across containers.

The image is listed in the MCP Registry as io.github.udondan/transitous; clients that install servers from there run this image and ask for TRANSITOUS_CONTACT.

mise run docker-build builds the image from source. For the Docker MCP Toolkit, mise run docker builds it and adds docker-mcp.yml to the profile transitous. Set the secret transitous.contact with docker mcp secret set.

Configuration

transitous config path shows the file, by default ~/.config/transitous/config.toml (%APPDATA% on Windows). transitous config show shows the settings in effect.

SettingDefaultMeaning
contact–Your contact for the User-Agent: a URL, mailto: URL or email address
base_urlhttps://api.transitous.orgAnother MOTIS 2 server
timeout_seconds20How long to wait for an answer
plan_daily_limit720plan requests per 24 hours. Raise it only after agreeing on more with Transitous
delay_threshold_minutes2From how many minutes late an arrival counts as delayed
VariableDoes
TRANSITOUS_CONTACTOverrides contact
TRANSITOUS_BASE_URLOverrides base_url
TRANSITOUS_CONFIGAnother configuration file
TRANSITOUS_OUTPUTThe output format, like -o
TRANSITOUS_NO_CACHE1: no cache, like --no-cache
TRANSITOUS_LOG, TRANSITOUS_LOG_FILELog level, like debug or motis=debug, and a log file
TRANSITOUS_MCP_TOKENThe bearer token of mcp --http
TRANSITOUS_NOWEvaluate the status as if it were another time, as RFC 3339 like 2026-11-27T07:50:00+01:00; HH:MM times then count from that day

Usage rules and limits

transitous follows the usage rules of Transitous:

  • every request carries the User-Agent transitous/ (+https://github.com/udondan/transitous; contact: );
  • nothing is retried. The only automatic follow-up requests are one earlier page for trip --arrive when the first has too few connections, and one request again when a local time was read in another time zone than the stop's. That happens only for a stop given by ID whose time zone is not known yet; the time zone is then kept for an hour;
  • answers are cached on disk: stop searches for 15 minut

只显示了开头部分;其余内容请在仓库中阅读