# Lanka Metro Transit MCP server

> Track Sri Lankan buses in real time and query GTFS schedules, stops, routes and alerts

- Listing: https://mcp.tc/i/lanka-metro-transit
- Connect: use the server's own URL `https://api.transit.seyone.dev/api/v1/mcp` (no sign-in); clients connect to it directly. The listing link is a page, not an MCP endpoint.
- Type: remote (Streamable HTTP)
- Auth: none
- Category: [Travel & Maps](https://mcp.tc/c/travel-maps)
- Vendor: Seyone Gunasingham
- Homepage: <https://seyone.dev/>

## About

Gives an assistant access to Sri Lankan public transit data, including Lanka Metro Transit (LMT) and other agencies. It returns live vehicle positions, trip delays, service alerts, route and stop search, upcoming departures and GeoJSON route shapes.

It runs as a hosted Streamable HTTP endpoint. No sign-in or API key is needed.

## What it can do

- List registered Sri Lankan transit agencies
- Get live vehicle GPS positions, speed and bearing
- Check real-time trip delays
- Read active service alerts
- Search routes and stops
- Get upcoming departures for a stop
- Fetch GeoJSON route shapes

## Tools (8)

- `list_agencies`: List registered Sri Lankan transit agencies and their GTFS endpoints.
- `get_live_vehicle_positions`: Get live GPS position, bearing and speed of active vehicles.
- `get_live_trip_updates`: Get real-time arrival and departure delays for active trips.
- `get_active_alerts`: Get service alerts, disruptions and advisories.
- `search_routes`: Search routes by short or long name.
- `search_stops`: Search stops by name, code or parent station.
- `get_upcoming_departures`: Get upcoming scheduled departures for a stop.
- `get_route_shapes`: Get GeoJSON shape points for a shape ID or route.

## Example prompts

- "Where are the LMT buses right now?"
- "Find stops named Fort and show the next departures"
- "Are there any service alerts for LMT?"
- "Search for route 01 and show its shape"

## Install

### Claude Code

1. Run this in a terminal, in your project folder:

```bash
claude mcp add --transport http lanka-metro-transit https://api.transit.seyone.dev/api/v1/mcp
```

2. Start Claude Code and type `/mcp`. **lanka-metro-transit** should show as connected.

Add `--scope user` to make it available in every project, not just this one.

### Claude Desktop

1. Open **Customize → Connectors**, click **+ Add**, then **Add custom connector**.

2. Name it **Lanka Metro Transit** and paste this URL:

```url
https://api.transit.seyone.dev/api/v1/mcp
```

3. Click **Add**. Its tools appear in the chat’s tools menu.

Claude Desktop’s JSON config file only starts local servers. Remote servers go through Connectors, and connectors you add on claude.ai show up here too.

### claude.ai

1. Open the connector form on claude.ai. This button fills in the name and URL for you:

[Add to claude.ai](<https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Lanka%20Metro%20Transit&connectorUrl=https%3A%2F%2Fapi.transit.seyone.dev%2Fapi%2Fv1%2Fmcp>) (opens connector settings)

2. Check that the URL reads `https://api.transit.seyone.dev/api/v1/mcp` and click **Add**.

3. Turn it on in a chat from the tools menu.

Free plans allow one custom connector. On Team and Enterprise plans an owner adds it under **Organization settings → Connectors**.

### ChatGPT

1. On chatgpt.com, go to **Plugins**, select **+**, then **Add custom MCP server**.

2. Enter a name for the server.

3. Under **Connection**, paste `https://api.transit.seyone.dev/api/v1/mcp` as the server URL, then for authentication choose **No authentication**.

4. Check **I understand and want to continue**, then select **Create as a plugin**.

Whether you can add a custom MCP server depends on your ChatGPT plan and your workspace permissions (in Business workspaces, admins and owners can).

### Cursor

[Add to Cursor](<https://cursor.com/install-mcp?name=lanka-metro-transit&config=eyJ1cmwiOiJodHRwczovL2FwaS50cmFuc2l0LnNleW9uZS5kZXYvYXBpL3YxL21jcCJ9>) (opens Cursor)

Or add it by hand to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (this project):

`mcp.json`:

```json
{
  "mcpServers": {
    "lanka-metro-transit": {
      "url": "https://api.transit.seyone.dev/api/v1/mcp"
    }
  }
}
```

### VS Code

[Install in VS Code](<https://vscode.dev/redirect/mcp/install?name=lanka-metro-transit&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapi.transit.seyone.dev%2Fapi%2Fv1%2Fmcp%22%7D>) (opens VS Code)

Or from a terminal:

```bash
code --add-mcp '{"name":"lanka-metro-transit","type":"http","url":"https://api.transit.seyone.dev/api/v1/mcp"}'
```

Or commit it to the repo in `.vscode/mcp.json`:

`.vscode/mcp.json`:

```json
{
  "servers": {
    "lanka-metro-transit": {
      "type": "http",
      "url": "https://api.transit.seyone.dev/api/v1/mcp"
    }
  }
}
```

### Devin Desktop

1. Add it to `~/.config/devin/mcp_config.json` (macOS and Linux) or `%APPDATA%\devin\mcp_config.json` (Windows):

`mcp_config.json`:

```json
{
  "mcpServers": {
    "lanka-metro-transit": {
      "serverUrl": "https://api.transit.seyone.dev/api/v1/mcp"
    }
  }
}
```

2. Refresh the MCP server list in Cascade.

Devin Desktop is the new name for Windsurf. It reads `serverUrl` (or `url`) for remote servers.

### Codex

```bash
codex mcp add lanka-metro-transit --url https://api.transit.seyone.dev/api/v1/mcp
```

Or edit `~/.codex/config.toml` directly:

`config.toml`:

```toml
[mcp_servers.lanka-metro-transit]
url = "https://api.transit.seyone.dev/api/v1/mcp"
```

### Gemini CLI

```bash
gemini mcp add --transport http lanka-metro-transit https://api.transit.seyone.dev/api/v1/mcp
```

This adds it to the current project. Add `-s user` to use it everywhere.

### Any client

Most clients accept this shape. Some name the URL field differently: `serverUrl` in Devin Desktop, `httpUrl` in Gemini CLI’s settings file.

```json
{
  "mcpServers": {
    "lanka-metro-transit": {
      "type": "http",
      "url": "https://api.transit.seyone.dev/api/v1/mcp"
    }
  }
}
```

Zed puts servers under `context_servers` in its settings. Cline needs `"type": "streamableHttp"`, or it assumes SSE.

Client only starts local servers? Bridge it with `npx -y mcp-remote https://api.transit.seyone.dev/api/v1/mcp`.

## Recent changes

- 2026-10-27 11:37 UTC: Tracking started: 8 tools read. Source: automatic check.

More on the History tab, with descriptions before and after for the newest entries: https://mcp.tc/i/lanka-metro-transit#history (Atom feed: https://mcp.tc/i/lanka-metro-transit/history.xml). It records what mcp.tc's anonymous checks saw, every 3 hours where the tool list can be read without sign-in; it is not a security review.

## Details

- Server version: 1.0.0
- MCP protocol version: 2025-11-25
- Last checked: 2026-11-12 (reachable)
- Listed: 2026-10-27
- Updated: 2026-10-27

---
Source: https://mcp.tc/i/lanka-metro-transit (mcp.tc is an independent directory, not affiliated with this server's publisher). Corrections: https://mcp.tc/report
