Back to Home
cubismod icon

mbta-mcp

Verified Safe

by cubismod

Overview

An MCP (Model Context Protocol) server providing AI clients with real-time and historical access to Boston's public transit data (MBTA, Amtrak) and track predictions.

Installation

Run Command
uv tool run mbta-mcp

Environment Variables

  • MBTA_API_KEY

Security Notes

The server uses `aiohttp` for network requests with proper async context management and includes retry logic (`tenacity`) for robustness. API keys are sourced from environment variables (`MBTA_API_KEY`), avoiding hardcoding. It integrates with external third-party APIs (IMT, Boston Amtrak Tracker) which introduces reliance on their security and availability, though this is a common pattern for data aggregation. No 'eval' or obvious malicious code patterns were found. Code quality tools like `ruff` and `mypy` are used, indicating a focus on maintainability and correctness which can indirectly enhance security.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassHigh
Avg Tokens3000
Stars0
Forks0
Last Update2026-01-19

Tags

MBTAtransitAPIreal-time datatrip planningpredictionsAmtrakcachingAI toolsBoston