Bahn Transfer

io.github.citizen01-sid由 GitHub 账号 citizen01-sid 发布v1.0.0更新于 Nov 6, 2026

Re-plan a delayed rail journey: onward options, transfer buffers, one recommendation

已验证Streamable HTTP可网页运行位置与生活金融

概览

AI 生成的概览

远程铁路出行 MCP 服务器:解析车站、查询实时发车信息,并为已延误的列车重新规划后续换乘与唯一建议。

可以做什么
  • 把车站或城市名称解析为 stop_id,并返回说明所用规则、所选车站与被排除候选的 resolution 对象
  • 查询某站即将发出的班次,含 trip_id、线路、计划与实际时间及当前延误
  • 为已在延误列车上的旅客重新规划行程,给出各站换乘缓冲、后续衔接与到达时间,以及一条安全建议
适用场景
适合旅客已身处延误列车、需要后续衔接、换乘缓冲和一条安全建议时使用,也适合助手为铁路行程获取车站 ID 与实时延误信息。
运行要求
远程 streamable HTTP 端点;未声明认证、环境变量或请求头。付费工具需在 params._meta 中传入 x402 支付载荷(EVM、Base),因此需要能按每次调用支付 1 USDC 分的钱包。
安装前请注意
plan_transfer 为付费工具,每次调用通过 Base 上的 x402 支付 1 USDC 分,会实际花费资金并需提供支付载荷;首次不付费调用会返回 PaymentRequired 对象。车站与发车查询免费且只读。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Bahn Transfer,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.citizen01-sid%2Fbahn-transfer/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "bahn-transfer": {
      "type": "http",
      "url": "https://bahn.1f916.de/mcp"
    }
  }
}

工具

3

search_stations

Free. Resolve a station or city name to a stop_id. A bare city name resolves to that city's main rail hub only when exactly one candidate exists; the answer then carries a 'resolution' object naming the rule, the chosen station and the rejected alternatives. Use the returned stop_id as 'to' in plan_transfer.

输入参数q必填limit

departures

Free. Upcoming departures at a stop_id, with trip_id, line, scheduled/actual time and current delay. Use trip_id as 'trip_id' in plan_transfer for the train the traveller is already on.

输入参数limitstation必填

plan_transfer

PAID (x402 exact/EVM, 1 USDC-cent per call). Re-plan a journey for a traveller already on a delayed train: per-stop transfer buffer, onward connections with arrival times, and one safe recommendation. Call it without payment to receive the PaymentRequired object; retry with the payment payload in params._meta['x402/payment'].

输入参数to必填trip_id必填min_buffermanual_delay

版本历史

1
  1. v1.0.0最新Nov 6, 2026

评分

已满足适用检查项的 83%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。