原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Onebusaway MCP Server

作者:cyanheads版本 0.3.0i★ –i电脑或云端
注册名称io.github.cyanheads/onebusaway-mcp-server

安装

概览

作者提供的说明(英文原文)

Real-time transit stops, routes, arrivals, vehicle positions, and schedules via OneBusAway APIs.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

安装

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

安装之前

  • 基础检查:3 项中通过 3 项
  • 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
  • 可以做 16 件事(工具) onebusaway_list_agencies, onebusaway_find_stops, onebusaway_find_routes, onebusaway_search_stops …
  • 需要你自己填写: ONEBUSAWAY_API_KEY, ONEBUSAWAY_BASE_URL, ONEBUSAWAY_RATE_LIMIT_REQUESTS, ONEBUSAWAY_RATE_LIMIT_WINDOW_MS, ONEBUSAWAY_RATE_LIMIT_MAX_WAIT_MS, MCP_LOG_LEVEL

你需要

  • 在云端运行无需安装任何东西,通过互联网连接
  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

适用于网页版、桌面版和手机版 Claude:

  1. 打开 Settings → Connectors
  2. 点击 Add custom connector
  3. 粘贴下面的地址,然后点击 Add
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Add2https://…3
https://onebusaway.caseyjhand.com/mcp

或者在你的电脑上运行

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "onebusaway": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/onebusaway-mcp-server"
      ],
      "env": {
        "ONEBUSAWAY_API_KEY": "your-value",
        "ONEBUSAWAY_BASE_URL": "your-value",
        "ONEBUSAWAY_RATE_LIMIT_REQUESTS": "your-value",
        "ONEBUSAWAY_RATE_LIMIT_WINDOW_MS": "your-value",
        "ONEBUSAWAY_RATE_LIMIT_MAX_WAIT_MS": "your-value",
        "MCP_LOG_LEVEL": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add --transport http onebusaway https://onebusaway.caseyjhand.com/mcp

或者在你的电脑上运行

claude mcp add onebusaway --env ONEBUSAWAY_API_KEY=your-value --env ONEBUSAWAY_BASE_URL=your-value --env ONEBUSAWAY_RATE_LIMIT_REQUESTS=your-value --env ONEBUSAWAY_RATE_LIMIT_WINDOW_MS=your-value --env ONEBUSAWAY_RATE_LIMIT_MAX_WAIT_MS=your-value --env MCP_LOG_LEVEL=your-value -- npx -y @cyanheads/onebusaway-mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "onebusaway": {
      "url": "https://onebusaway.caseyjhand.com/mcp"
    }
  }
}

或者在你的电脑上运行

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "onebusaway": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/onebusaway-mcp-server"
      ],
      "env": {
        "ONEBUSAWAY_API_KEY": "your-value",
        "ONEBUSAWAY_BASE_URL": "your-value",
        "ONEBUSAWAY_RATE_LIMIT_REQUESTS": "your-value",
        "ONEBUSAWAY_RATE_LIMIT_WINDOW_MS": "your-value",
        "ONEBUSAWAY_RATE_LIMIT_MAX_WAIT_MS": "your-value",
        "MCP_LOG_LEVEL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "onebusaway": {
      "type": "http",
      "url": "https://onebusaway.caseyjhand.com/mcp"
    }
  }
}

或者在你的电脑上运行

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "onebusaway": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/onebusaway-mcp-server"
      ],
      "env": {
        "ONEBUSAWAY_API_KEY": "your-value",
        "ONEBUSAWAY_BASE_URL": "your-value",
        "ONEBUSAWAY_RATE_LIMIT_REQUESTS": "your-value",
        "ONEBUSAWAY_RATE_LIMIT_WINDOW_MS": "your-value",
        "ONEBUSAWAY_RATE_LIMIT_MAX_WAIT_MS": "your-value",
        "MCP_LOG_LEVEL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

ChatGPT 只能连接互联网上的服务器:

  1. 打开网页版 ChatGPT → Settings → Connectors (Apps)
  2. 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
  3. 粘贴下面的地址,起个名字,然后保存
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Create2https://…3
https://onebusaway.caseyjhand.com/mcp

菜单名称可能因套餐和版本不同而略有差异。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • ONEBUSAWAY_API_KEY env
    OneBusAway API key. TEST works on the Puget Sound instance for development.
  • ONEBUSAWAY_BASE_URL env
    Base URL for the OneBusAway instance. Defaults to Puget Sound.
  • ONEBUSAWAY_RATE_LIMIT_REQUESTS env
    Upstream requests the pacer allows per window.
  • ONEBUSAWAY_RATE_LIMIT_WINDOW_MS env
    Width of the pacer's sliding rate window, in milliseconds.
  • ONEBUSAWAY_RATE_LIMIT_MAX_WAIT_MS env
    Longest a call may wait in the pacer queue, in milliseconds. Keep it under the SDK client's 60 s request timeout.
  • MCP_LOG_LEVEL env
    Sets the minimum log level for output (e.g., 'debug', 'info', 'warning').

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

它能做什么

工具名称和描述与服务器在 2026年11月7日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。

  • onebusaway_list_agencies

    List all transit agencies served by this OneBusAway instance. Returns agency IDs, names, contact info, timezone, and geographic coverage center. Agency IDs are needed for onebusaway_list_routes_for_agency and onebusaway_get_vehicles.

  • onebusaway_find_stops

    Find bus stops near a location. Returns stops within a radius, each with ID, name, direction, served routes, and wheelchair boarding status. Use stopId values from results to fetch real-time arrivals with onebusaway_get_arrivals. Optionally filter by stop code (the number printed

  • onebusaway_find_routes

    Find transit routes near a location, optionally filtered by name or number. Returns routes with IDs, short names, and descriptions. Use routeId values to fetch schedules, vehicles, or stop sequences.

  • onebusaway_search_stops

    Search for stops by name or code. Returns matching stops with IDs and coordinates. Use to resolve a human-readable stop name or number to a stop ID for arrivals lookups with onebusaway_get_arrivals.

  • onebusaway_search_routes

    Search for routes by name or number. Returns matching routes with IDs. Use to resolve a route short name (e.g. "44") to a route ID for schedule or vehicle lookups with onebusaway_get_vehicles or onebusaway_get_schedule_for_route.

  • onebusaway_get_stop

    Fetch details for a specific stop by ID. Returns the stop's name, coordinates, direction, served routes, and wheelchair accessibility. Stop IDs use agency-prefixed format: {agencyId}_{localId} (e.g. "1_75403" for Metro Transit stop 75403).

  • onebusaway_get_route

    Fetch details for a specific route by ID. Returns short name, description, agency, route type, and schedule URL. Route IDs use agency-prefixed format: {agencyId}_{localId} (e.g. "1_100259").

  • onebusaway_list_routes_for_agency

    List all routes operated by an agency. Returns route IDs, short names, and descriptions. Use to enumerate an agency's full service before searching for a specific route. Get agencyId values from onebusaway_list_agencies.

  • onebusaway_get_arrivals

    Real-time arrivals and departures at a stop. Returns predicted arrival times, schedule deviation (how many seconds late/early), vehicle positions, and any active service alerts. The predicted boolean on each arrival indicates whether GPS tracking backs the estimate — predicted=fa

  • onebusaway_get_stop_context

    Everything happening at a stop in one call: the stop's details, its real-time arrivals, and full detail for every service alert on the stop or on any arrival in the window. Returns what onebusaway_get_stop, onebusaway_get_arrivals, and one onebusaway_get_alert call per alert woul

  • onebusaway_get_alert

    Fetch full detail for a service alert (situation) by ID. Returns the summary, description, reason (e.g. detour, construction), affected stops and routes, consequence description, and active time windows. Situation IDs appear in onebusaway_get_arrivals responses under situationIds

  • onebusaway_get_trip

    Real-time status and stop sequence for a trip. Returns vehicle position, schedule deviation, current phase, and remaining stops. Use tripId from onebusaway_get_arrivals to look up a specific vehicle's progress.

  • onebusaway_get_block

    Fetch block trip sequences with their stop times and service-calendar conditions. Top-level fields describe the first returned configuration; every remaining alternative is included without choosing a calendar date. Optionally select an exact tripId or complete trips having any d

  • onebusaway_get_vehicles

    Real-time positions of active vehicles for an agency. Optionally filter to a single route (client-side). Returns GPS coordinates, counter-clockwise orientation from east, schedule deviation, and current trip. Reports agency records omitted for missing position coordinates. Use ag

  • onebusaway_get_schedule_for_stop

    Full-day departure schedule for a stop. Lists every departure by route and direction for the specified date (defaults to today). Optionally filter departure rows by routeId and a half-open Unix-millisecond interval; selection includes counts before and after filtering. Without se

  • onebusaway_get_schedule_for_route

    Full-day schedule for a route — all trips, stop sequences, and departure times for the specified date (defaults to today). Optionally select an exact tripId or complete trips having any departure in a half-open GTFS-seconds interval; selection includes counts before and after fil

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • ✓ 通过

    端点有响应

    在 223 毫秒内响应(HTTP 200)

  • – 不适用

    使用 OAuth 登录

    无需登录

  • ✓ 通过

    工具描述中没有隐藏指令

    已读取 16 个工具描述,未发现针对 AI 的隐藏指令

与“旅行、地图与天气”中的其他服务器比较i

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

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

常见问题

Onebusaway MCP Server 安全吗?

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

它需要哪些密钥或代码?

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

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

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.3.0)于14天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:CarHauler247 Car Shipping Quotes, Park Graph, Open Transfer Times

替代选择

同一分类中其他作者的服务器,按星标数排序。

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

CarHauler247 Car Shipping Quotes

Car shipping prices between US locations from a licensed auto transport broker, with a booking link.

作者:carhauler247.com起步阶段今天更新

在云端运行✓ carhauler247.com

Park Graph

Find, price and book parking at Park Graph lots: search, quote, hold and session tools.

作者:parkgraph.com起步阶段今天更新

在云端运行✓ parkgraph.com

Open Transfer Times

Check if a flight connection is comfortable, tight or risky, with cited airport data.

作者:joelynli0110起步阶段↓ 1477/周今天更新

在你的电脑上运行

作者的 README

打开 README

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

@cyanheads/onebusaway-mcp-server Query stops, routes, real-time arrivals, vehicle positions, and schedules from OneBusAway transit APIs via MCP. STDIO or Streamable HTTP. 16 Tools • 2 Resources

Public Hosted Server: https://onebusaway.caseyjhand.com/mcp


Overview

Real-time transit from OneBusAway, set up for Puget Sound (King County Metro, Sound Transit, Pierce Transit, Community Transit, and more) and compatible with any OneBusAway instance. Find stops and routes, track live arrivals and vehicle positions, and pull schedules and service alerts.

Tools
ToolDescription
onebusaway_list_agenciesList the transit agencies on the instance, with IDs, contact info, and coverage area
onebusaway_find_stopsFind stops near a lat/lon, optionally filtered by stop code
onebusaway_search_stopsResolve a stop name or code to a stop ID
onebusaway_get_stopFetch one stop by ID
onebusaway_find_routesFind routes near a lat/lon, optionally filtered by name or number
onebusaway_search_routesResolve a route name or number to a route ID
onebusaway_get_routeFetch one route by ID
onebusaway_list_routes_for_agencyList every route an agency operates
onebusaway_get_arrivalsReal-time arrivals and departures at a stop, with schedule deviation, vehicle positions, and active alerts
onebusaway_get_stop_contextStop details, real-time arrivals, and full detail for every alert at the stop, from one upstream request
onebusaway_get_alertFull service alert detail by situation ID
onebusaway_get_tripReal-time status and stop sequence for a trip
onebusaway_get_blockEvery trip one vehicle runs in a service day, in order, with stop times
onebusaway_get_vehiclesReal-time positions of an agency's active vehicles, optionally for one route
onebusaway_get_schedule_for_stopFull-day departure schedule for a stop, by route and direction
onebusaway_get_schedule_for_routeFull-day schedule for a route: every trip and its stop sequence
Resources
ResourceDescription
onebusaway://stop/{stopId}Stop metadata: name, coordinates, served routes, wheelchair accessibility
onebusaway://route/{routeId}Route metadata: short name, description, agency, schedule URL

The same data is available to tool-only clients through onebusaway_get_stop and onebusaway_get_route.

Capability reference

onebusaway_list_agencies tool
  • No input; returns every agency with id, contact info, timezone, and coverageCenter / coverageSpan
  • limitExceeded flags an upstream-capped list, with no pagination to fetch the rest

onebusaway_find_stops tool
  • lat / lon required; radius in meters, default 300, max 1600; optional query matches the stop code printed on the sign
  • Each stop carries id, code, direction, routeIds, and wheelchairBoarding (ACCESSIBLE / NOT_ACCESSIBLE / UNKNOWN); limitExceeded means more stops exist within the radius

onebusaway_search_stops tool
  • query (stop name fragment or stop code) required; maxCount up to 100, default 10
  • Same stop shape as onebusaway_find_stops; limitExceeded means more stops matched than maxCount

onebusaway_get_stop tool
  • Single stopId; returns name, code, coordinates, direction, routeIds, and wheelchairBoarding
  • Unknown IDs fail as stop_not_found, with recovery via onebusaway_find_stops or onebusaway_search_stops

onebusaway_find_routes tool
  • lat / lon required; radius in meters, default 500, max 1600, or a latSpan + lonSpan box (both set) in its place; optional query by route name or number
  • Each route carries shortName, longName, agencyId, GTFS type (0=tram … 5=cable_car), color, and schedule url; limitExceeded means more routes exist in the area

onebusaway_search_routes tool
  • query (route name or number) required; maxCount up to 100, default 10
  • Returns shortName, longName, agencyId, and GTFS type; limitExceeded means more routes matched than maxCount
  • Fails as endpoint_unavailable on instances whose route-search endpoint returns 404, Puget Sound among them; use onebusaway_find_routes or onebusaway_list_routes_for_agency instead

onebusaway_get_route tool
  • Single routeId; returns shortName, longName, description, agency, GTFS type, color, and schedule url
  • Unknown IDs fail as route_not_found, with recovery via onebusaway_find_routes or onebusaway_search_routes

onebusaway_list_routes_for_agency tool
  • agencyId required; unknown agencies fail as agency_not_found
  • Every route with shortName, longName, GTFS type, color, and url; limitExceeded flags an upstream-capped list with no pagination

onebusaway_get_arrivals tool
  • stopId required; the window is minutesBefore (integer 0–60, default 5) / minutesAfter (integer 0–240, default 35), with longer horizons left to onebusaway_get_schedule_for_stop; unknown stops fail as stop_not_found
  • Each arrival carries predicted (false = schedule-only), scheduleDeviation in seconds (positive = late, meaningful only when predicted), predictedArrivalTime, vehiclePosition, stopsAway, and tripId
  • Active alerts arrive in situations[]: those on the stop itself plus those linked from each arrival's situationIds, each once

onebusaway_get_stop_context tool
  • Same input as onebusaway_get_arrivals, and the same stop_not_found / rate_limited failures; one call issues one upstream request
  • Returns stop (the onebusaway_get_stop fields minus routeIds), arrivals in the onebusaway_get_arrivals shape, and alerts in the onebusaway_get_alert shape — every alert on the stop or on an arrival in the window, including stop-wide alerts no arrival in the window carries
  • When the upstream response omits the stop, stop is null; a referenced alert missing from the response is left out; either way a notice names the tool to fetch it with

onebusaway_get_alert tool
  • Single situationId, from onebusaway_get_arrivals (situations[].id or arrivals[].situationIds); unknown IDs fail as situation_not_found
  • Returns a TPEG reason code, severity, consequenceMessage, affects (agency, route, stop, or trip scope), consequences with diversion stop IDs, and activeWindows

onebusaway_get_trip tool
  • tripId required; serviceDateMs (non-negative integer, midnight local) only for a trip on a previous service day; includeSchedule (default true) adds the stop sequence with GTFS times and distanceAlongTripMeters
  • status carries phase (e.g. in_progress, layover_before), predicted, position, scheduleDeviation, and nextStop; blockId (null when the trip has none) feeds onebusaway_get_block
  • Fails as trip_not_found when the trip isn't active for the service date; a completed trip's times come from onebusaway_get_schedule_for_route

onebusaway_get_block tool
  • Single blockId, from onebusaway_get_trip; unknown IDs fail as block_not_found
  • Top-level trips, activeServiceIds, and inactiveServiceIds describe the first returned configuration; alternateConfigurations preserves every remaining configuration in order. Service IDs are calendar conditions, not a claim that a configuration operates today
  • Each trip carries distanceAlongBlock, accumulatedSlackTime (layover seconds), and blockStopTimes. Optional exact tripId or departureFromSec / departureBeforeSec selects complete trips independently in every configuration, retaining empty configuration slots
  • With selectors, selection.total / returned count trip occurrences across configurations; configurationCounts[0] describes the top-level configuration, then one entry per alternative

Example: {"blockId":" ","departureFromSec":86400,"departureBeforeSec":90000} selects trips with any departure from 24:00 inclusive to 25:00 exclusive, retaining their complete stop sequences.


onebusaway_get_vehicles tool
  • agencyId required, unknown agencies fail as agency_not_found; optional routeId is filtered client-side after all of the agency's vehicles are fetched
  • Each vehicle carries position, orientation, phase, scheduleDeviation, tripId, nextStop, and predicted (reporting real-time GPS); limitExceeded flags an upstream-capped list with no pagination
  • tripId prefers the active trip; route and headsign metadata resolve only from that trip. orientation preserves counter-clockwise degrees from east (0=east, 90=north, 180=west, 270=south), not a compass bearing
  • Records missing latitude or longitude are skipped: omittedWithoutPosition counts them across the agency, and omittedWithoutPositionOnRoute counts resolved matches when filtering by route. These counts are independent of upstream truncation

onebusaway_get_schedule_for_stop tool
  • stopId required; optional date as a real YYYY-MM-DD calendar date, default (omitted or blank) today in the agency's timezone; unknown stops fail as stop_not_found
  • Departures grouped by route and direction, each with scheduledDepartureTime and tripId
  • serviceDateMs preserves the upstream schedule-date marker: query time for an omitted/blank date, instance-local midnight for an explicit date; it is not rounded to a service-day boundary
  • Optional routeId, `d

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

问 PopNx