Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

MBTA

БесплатноНе проверен

MCP server for local transit system in Boston with Claude Desktop as MCP Client.

GitHubEmbed

Описание

MCP server for local transit system in Boston with Claude Desktop as MCP Client.

README

This is a MCP server that provides real-time train arrival predictions for MBTA stations through Claude Desktop as the MCP Client.

What is MBTA?

The Massachusetts Bay Transportation Authority (MBTA) is the public transit system serving the Greater Boston area in Massachusetts. Commonly known as "the T," it operates subway lines (Red, Blue, Green, and Orange), buses, commuter rail, and ferry services. This MCP server focuses on subway/rail predictions, helping you know exactly when the next trains will arrive at any station.

Features

  • 🚇 Real-time train arrival predictions for any MBTA station
  • ⏰ Shows next two upcoming trains with arrival times
  • 🧭 Supports all platforms/directions at each station
  • 💬 Natural language responses through Claude Desktop

Installation

Step 1: Install Claude Desktop

  1. Download Claude Desktop from Claude's official website
  2. Install and launch the application

Step 2: Install uv (Python Package Manager)

On macOS and Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

On Windows:

powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

Step 3: Set Up the Project

  1. Clone or download this repository to your local machine
  2. Navigate to the project directory
  3. Install dependencies using uv:
cd path/to/your/mbta-mcp-project
uv sync

Step 4: Configure Claude Desktop

You need to add the MCP server configuration to Claude Desktop's configuration file.

Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Add the configuration:

Open the claude_desktop_config.json file and add the following configuration (update the paths to match your system):

{
  "mcpServers": {
    "predictTrains": {
      "command": "/Users/yourusername/.local/bin/uv",
      "args": [
        "--directory",
        "/path/to/your/mbta-mcp-project",
        "run",
        "server_predict_trains.py"
      ]
    }
  }
}

Important: Replace the paths with your actual paths:

  • Update /Users/yourusername/.local/bin/uv with the full path to your uv installation
  • Update /path/to/your/mbta-mcp-project with the full path to where you placed this project

Finding your uv path:

which uv

Step 5: Required Files

Make sure you have the filtered_stops.json file in your project directory. This file contains the MBTA station data that the server uses to look up platform IDs.

Step 6: Restart Claude Desktop

After updating the configuration file, restart Claude Desktop for the changes to take effect.

Usage

Once everything is set up, you can ask Claude about MBTA train predictions directly in your conversations:

Screenshot 2025-08-14 at 17 13 19Screenshot 2025-08-14 at 17 14 48

Happy commuting! 🚇

from github.com/aditya-wanjari25/MBTA-MCP-Server

Установка MBTA

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/aditya-wanjari25/MBTA-MCP-Server

FAQ

MBTA MCP бесплатный?

Да, MBTA MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для MBTA?

Нет, MBTA работает без API-ключей и переменных окружения.

MBTA — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить MBTA в Claude Desktop, Claude Code или Cursor?

Открой MBTA на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare MBTA with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai