metto — Claude Code MCP server: Tehran metro routes, how to install
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.
no license 339 installs updated 2026-07-08
claude mcp add --transport http metto https://metto.run.toolsWhat metto 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.
What it helps with
- 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 for the agent
- 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
How to install metto
Platform CLI: remote server
claude mcp add --transport http metto https://metto.run.toolsPlatform CLI: remote server
codex mcp add metto --url https://metto.run.toolsConfig file
{
"mcpServers": {
"metto": {
"url": "https://metto.run.tools"
}
}
}Config file
{
"servers": {
"metto": {
"type": "http",
"url": "https://metto.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http metto https://metto.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about metto
How do I install metto in Claude Code?
Run claude mcp add --transport http metto https://metto.run.tools. The server is remote, so that single command is the whole setup.
What does metto do?
It answers Tehran metro questions from an AI client: routes with transfers and travel time, station lookups, and nearby-station search from a GPS coordinate. The network covers 7 lines and more than 130 stations.
Do I have to pass a day type to get_route?
No. Give it an absolute departure instant and metto picks the Asia/Tehran timetable itself, whether that is a weekday, a Thursday, or a Friday and public holiday schedule. arrive_by works instead of a departure time.