# metto

metto — a hosted MCP server for the Tehran metro: routes with transfers, station lists, and the stops closest to a GPS point. Useful when the assistant has to plan a trip across the city.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 339 installs
- Author: aliinreallifee
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/aliinreallifee/metto
- Updated: 2026-07-08
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/metto

## What it does

metto runs as a hosted MCP endpoint at `https://metto.run.tools`. Connect a client and the assistant can work with the Tehran metro network: 7 lines, over 130 stations, with English and Farsi names.

Four tools ship with it. `get_route` takes two stations and gives back the stops, the transfers, travel time and the path. You pass an absolute departure instant and the server derives the correct Asia/Tehran timetable on its own, whether that day is a weekday, a Thursday, or a Friday or public holiday. A day-type argument is not part of the call. `arrive_by` can stand in for the departure time. Then `list_stations` returns every station with optional line and text filters, `get_station` returns one full record, and `find_nearby` returns the closest stations to a GPS coordinate.

Nothing is installed locally. Claude, Codex and Gemini CLI each take a single command; Cursor and GitHub Copilot expect a JSON block in their config file instead, so on those two the setup is a config edit rather than a command.

## Requirements
- Remote server: `https://metto.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http metto https://metto.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add metto --url https://metto.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "metto": {
            "url": "https://metto.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "metto": {
            "type": "http",
            "url": "https://metto.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http metto https://metto.run.tools
```

## When to use it
- plan a metro route between two stations with transfers
- check travel time before leaving
- find the nearest stations to a GPS point
- filter stations by line number or name
- pull full details for a single station

## Example prompts
- Plan a Tehran metro route between two stations and show the transfers and travel time
- Which metro stations are closest to these GPS coordinates?
- List the stations on one line, then pull full details for a single station

## Similar
- [Kakao Mobility](https://affpapa.org/en/nevibecode/mcp/kakao-mobility.md) — MCP server · 1155 installs
- [azure-maps](https://affpapa.org/en/nevibecode/skills/azure-maps.md) — skill · 178 installs
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mapbox-mcp-server.md) — MCP server · ★ 373 repo stars
- [OpenStreetMap](https://affpapa.org/en/nevibecode/mcp/openstreetmap.md) — MCP server · ★ 6 repo stars
- [GrabMaps MCP Server](https://affpapa.org/en/nevibecode/mcp/grabmaps-mcp-server.md) — MCP server · 1825 installs
- [mapbox-navigation-patterns](https://affpapa.org/en/nevibecode/skills/mapbox-navigation-patterns.md) — skill · 467 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
