# Wmata

> Wmata is a freemium MCP server for maps and travel. MCP server giving AI clients live Washington DC Metro rail and bus data from WMATA. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $49 a month
- **Platforms:** API, CLI, self-hosted
- **Website:** https://pipeworx.io/packs/wmata
- **Repository:** https://github.com/pipeworx-io/mcp-wmata
- **MCP Registry name:** io.github.pipeworx-io/wmata
- **Categories:** [maps and travel](https://ai-powered.com/categories/maps-and-travel)
- **Listing updated:** 2026-11-18

## About

The README says this server wraps the WMATA developer API and exposes both real-time and static transit data, covering rail lines, stations, next-train predictions and incidents, plus bus routes, stops, arrival predictions and alerts. Rail and bus data are split into separate tools, so a client can first enumerate lines or routes and then drill into a specific station or stop.

It is hosted at a Pipeworx gateway endpoint and can be reached over streamable HTTP or run locally as an npm stdio bridge that forwards calls to that same gateway. Anonymous use is capped daily, and a free Pipeworx account raises the limit. The package also works with the Pipeworx ask_pipeworx tool, which routes plain-English questions to the right data source.

The server suits developers building commute assistants, transit dashboards or agent workflows that need Metro arrival times and service disruption checks. It is an unofficial integration and is not affiliated with WMATA.

## Features

- **Rail predictions by station:** Returns next-train arrival estimates for one or more station codes, or for all stations at once.
- **Rail and bus incident alerts:** Lists current service alerts and incidents for Metro rail and for buses separately.
- **Station and stop lookup:** Provides station details and coordinates, and finds bus stops near a latitude and longitude.
- **Bus route geometry:** Returns stop sequences, direction names and route shape coordinates for a given bus route.
- **Live bus arrival estimates:** Gives minutes until arrival for upcoming buses at a specific bus stop.

## Good for

- Check when the next train arrives at a Metro station before leaving for work
- Find bus stops near a given location and see which routes serve them
- Scan current rail and bus incidents before recommending a commute
- Build a transit assistant that answers plain-English questions about DC Metro service

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http wmata https://gateway.pipeworx.io/wmata/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://gateway.pipeworx.io/wmata/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "wmata": {
      "url": "https://gateway.pipeworx.io/wmata/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "wmata": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/wmata/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "wmata": {
      "serverUrl": "https://gateway.pipeworx.io/wmata/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "wmata": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/wmata/mcp"
    }
  }
}
```

## Tools

- `rail_lines`: List rail lines.
- `rail_stations`: List stations, optionally filtered by line.
- `rail_station_info`: Station details for a station code.
- `rail_predictions`: Next-train predictions for comma-separated station codes or All.
- `rail_incidents`: Current rail service alerts and incidents.
- `bus_routes`: List bus routes.
- `bus_route_details`: Stop sequence and path details for a bus route.
- `bus_stops`: Find bus stops near a latitude and longitude.
- `bus_predictions`: Next-bus arrival predictions for a stop.
- `bus_incidents`: Current bus service alerts and incidents.

## FAQ

### Does it require an API key?

It works anonymously with a daily call cap. The README says an optional Pipeworx API key raises the cap, and the npm package reads it from PIPEWORX_API_KEY.

### How do I run it locally?

The npm package @pipeworx/mcp-wmata is a stdio bridge started with npx. It forwards every call to the hosted gateway, so it needs network access and has no offline mode.

### Is this an official WMATA product?

No. The README states it is an independent, unofficial integration that is not affiliated with or endorsed by WMATA.

### Which tools does the endpoint list?

The README says the endpoint lists the ten WMATA tools plus shared Pipeworx meta-tools such as ask_pipeworx. The npm package lists only the WMATA tools unless PIPEWORX_META_TOOLS=1 is set.

### Is Wmata free?

Wmata has a free plan, with paid plans for more usage or features. Paid plans start at $49 a month.

### How do I add Wmata to Claude Code?

Run this command in your terminal: claude mcp add --transport http wmata https://gateway.pipeworx.io/wmata/mcp

### What are the best alternatives to Wmata?

The closest alternatives to Wmata are Transit MCP, DMV Transit, Europe Rail Watch MCP, Mapbox and Travel Feeds.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Transit MCP](https://ai-powered.com/mcp/transit-mcp): Transit MCP is a free MCP server for maps and travel.
- [DMV Transit](https://ai-powered.com/mcp/dmv-transit): DMV Transit is a free MCP server for maps and travel.
- [Europe Rail Watch MCP](https://ai-powered.com/mcp/europe-rail-watch-mcp): Europe Rail Watch MCP is a paid MCP server for maps and travel.
- [Mapbox](https://ai-powered.com/mcp/mapbox): Mapbox is a freemium MCP server for maps and travel.
- [Travel Feeds](https://ai-powered.com/mcp/travel-feeds): Travel Feeds is a freemium MCP server for maps and travel.
- [Odpt](https://ai-powered.com/mcp/odpt): Odpt is a freemium MCP server for maps and travel.
- [SF Bay Area Transit MCP](https://ai-powered.com/mcp/sf-bay-area-transit-mcp): SF Bay Area Transit MCP is a free MCP server for maps and travel.
- [Travel Transportation Mcp](https://ai-powered.com/mcp/travel-transportation-mcp): Travel Transportation Mcp is a freemium MCP server for maps and travel.

---
Source: https://ai-powered.com/mcp/wmata
