RailRoute journey planner is an MCP server published by in.railroute, hosted at www.railroute.in. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 8 tools, including find_place, plan_journey, check_train_options, train_schedule, station_departures.
Plan intercity journeys in India by train, flight or both, with a fare for every travel class.
4 connections through 4 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
Turn what somebody typed into RailRoute place ids. ALWAYS call this before plan_journey. A place is a city with all of its stations and airports — Mumbai covers CSMT, LTT, Dadar, Bandra Terminus and the airport — so the planner can choose the right terminal rather than making the traveller do it. Typing a station code ("CSMT") finds the city and says which terminal matched.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| query * | string | A city, station name or station code |
{
"name": "find_place",
"title": "Find a place",
"description": "Turn what somebody typed into RailRoute place ids. ALWAYS call this before plan_journey. A place is a city with all of its stations and airports — Mumbai covers CSMT, LTT, Dadar, Bandra Terminus and the airport — so the planner can choose the right terminal rather than making the traveller do it. Typing a station code (\"CSMT\") finds the city and says which terminal matched.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"default": 5,
"maximum": 10,
"minimum": 1
},
"query": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "A city, station name or station code"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Every practical way to get from one place to another: direct trains with their fares per class, journeys with one change of train, flights, mixed train-and-flight itineraries, and GOVERNMENT BUSES from the state road transport corporations, priced from their own reservation systems. This is the whole answer in one call. Place ids come from find_place. Use it for bus questions too. On a large share of the corridors these corporations serve there is no through train at all — Mysuru to Mangaluru runs twenty-five buses a day and not one direct train — so a journey this tool answers with a bus is often the only through service that exists, not a second-best. Pass `train_class` when the traveller has named one ("3A", "sleeper") and every train is priced in it; leave it out and each train is priced in every class we have evidence it carries. Pass `modes: "trains_only"` when they have said train — do not ask them to choose otherwise, because the point of this planner is that they do not have to. Pass `arrive_by: true` when they named a time they must BE somewhere rather than a time they want to leave.
| Parameter | Type | Description |
|---|---|---|
| to * | string | Place id from find_place |
| date * | string | Travel date in IST. Today is allowed; the past is refused. |
| from * | string | Place id from find_place |
| limit | integer | How many of EACH kind to return. Raise it only if the traveller asks to see more. |
| modes | string | Restrict the answer. Default 'any' ranks trains, flights and government buses together — leave it out unless the traveller has actually named a mode. 'trains_only' and 'flights_only' both drop the buses. |
| quota | string | one of ["GN","TQ","PT","LD","SS"] |
| arrive_by | boolean | When true, `date` is the day they must ARRIVE, and journeys may depart the day before. |
| train_class | string | Price every train in this class: 2S Second Sitting, SL Sleeper, CC AC Chair Car, 3E AC 3 Economy, 3A AC 3 Tier, 2A AC 2 Tier, 1A First AC, EC Executive Chair Car. Omit to price each train in every class we know it carries. |
| ask_preferences | boolean | Whether to ask the traveller for a travel class when they have not named one. Set false for automated or bulk use. |
| include_connections | string | Journeys with one change of train. 'auto' searches for them when direct trains are thin, which is when they matter; 'always' searches regardless and costs a few more seconds. |
{
"name": "plan_journey",
"title": "Plan a journey",
"description": "Every practical way to get from one place to another: direct trains with their fares per class, journeys with one change of train, flights, mixed train-and-flight itineraries, and GOVERNMENT BUSES from the state road transport corporations, priced from their own reservation systems. This is the whole answer in one call. Place ids come from find_place.\n\nUse it for bus questions too. On a large share of the corridors these corporations serve there is no through train at all — Mysuru to Mangaluru runs twenty-five buses a day and not one direct train — so a journey this tool answers with a bus is often the only through service that exists, not a second-best.\n\nPass `train_class` when the traveller has named one (\"3A\", \"sleeper\") and every train is priced in it; leave it out and each train is priced in every class we have evidence it carries. Pass `modes: \"trains_only\"` when they have said train — do not ask them to choose otherwise, because the point of this planner is that they do not have to. Pass `arrive_by: true` when they named a time they must BE somewhere rather than a time they want to leave.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"from",
"to",
"date"
],
"properties": {
"to": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "Place id from find_place"
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Travel date in IST. Today is allowed; the past is refused."
},
"from": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "Place id from find_place"
},
"limit": {
"type": "integer",
"default": 8,
"maximum": 20,
"minimum": 1,
"description": "How many of EACH kind to return. Raise it only if the traveller asks to see more."
},
"modes": {
"enum": [
"any",
"trains_only",
"flights_only"
],
"type": "string",
"default": "any",
"description": "Restrict the answer. Default 'any' ranks trains, flights and government buses together — leave it out unless the traveller has actually named a mode. 'trains_only' and 'flights_only' both drop the buses."
},
"quota": {
"enum": [
"GN",
"TQ",
"PT",
"LD",
"SS"
],
"type": "string",
"default": "GN"
},
"arrive_by": {
"type": "boolean",
"default": false,
"description": "When true, `date` is the day they must ARRIVE, and journeys may depart the day before."
},
"train_class": {
"enum": [
"2S",
"SL",
"CC",
"3E",
"3A",
"2A",
"1A",
"EC"
],
"type": "string",
"description": "Price every train in this class: 2S Second Sitting, SL Sleeper, CC AC Chair Car, 3E AC 3 Economy, 3A AC 3 Tier, 2A AC 2 Tier, 1A First AC, EC Executive Chair Car. Omit to price each train in every class we know it carries."
},
"ask_preferences": {
"type": "boolean",
"default": true,
"description": "Whether to ask the traveller for a travel class when they have not named one. Set false for automated or bulk use."
},
"include_connections": {
"enum": [
"auto",
"always",
"never"
],
"type": "string",
"default": "auto",
"description": "Journeys with one change of train. 'auto' searches for them when direct trains are thin, which is when they matter; 'always' searches regardless and costs a few more seconds."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Live seat availability per class for one train on one date, plus every other way to book it when the through ticket will not confirm: a split at an intermediate station, boarding earlier, alighting later. This is the tool that rescues a waitlisted train. It spends a metered upstream call, so ask it about trains the traveller is actually considering rather than sweeping a list.
| Parameter | Type | Description |
|---|---|---|
| to * | string | Station code the traveller alights at |
| date * | string | |
| from * | string | Station code the traveller boards at |
| quota | string | one of ["GN","TQ","PT","LD","SS"] |
| include_rac | boolean | RAC is a ticket that carries a right to board, so it counts as bookable by default. |
| train_number * | string |
{
"name": "check_train_options",
"title": "Check seats and booking options for a train",
"description": "Live seat availability per class for one train on one date, plus every other way to book it when the through ticket will not confirm: a split at an intermediate station, boarding earlier, alighting later. This is the tool that rescues a waitlisted train. It spends a metered upstream call, so ask it about trains the traveller is actually considering rather than sweeping a list.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"train_number",
"from",
"to",
"date"
],
"properties": {
"to": {
"type": "string",
"maxLength": 12,
"minLength": 1,
"description": "Station code the traveller alights at"
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"from": {
"type": "string",
"maxLength": 12,
"minLength": 1,
"description": "Station code the traveller boards at"
},
"quota": {
"enum": [
"GN",
"TQ",
"PT",
"LD",
"SS"
],
"type": "string",
"default": "GN"
},
"include_rac": {
"type": "boolean",
"default": true,
"description": "RAC is a ticket that carries a right to board, so it counts as bookable by default."
},
"train_number": {
"type": "string",
"pattern": "^\\d{4,6}$"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false
}
}Every stop of one train with its scheduled arrival and departure, in order. Scheduled times only — this says nothing about where the train is today.
| Parameter | Type | Description |
|---|---|---|
| train_number * | string |
{
"name": "train_schedule",
"title": "Train timetable",
"description": "Every stop of one train with its scheduled arrival and departure, in order. Scheduled times only — this says nothing about where the train is today.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"train_number"
],
"properties": {
"train_number": {
"type": "string",
"pattern": "^\\d{4,6}$"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Every train scheduled to call at a station, in departure order — the enquiry board, not a journey plan. Use plan_journey when somebody wants to get somewhere; use this when they are asking what leaves from here. Scheduled times only.
| Parameter | Type | Description |
|---|---|---|
| after | string | Only departures at or after this IST clock time, HH:MM |
| limit | integer | |
| station_code * | string | Station code, e.g. CNB |
{
"name": "station_departures",
"title": "Departures from a station",
"description": "Every train scheduled to call at a station, in departure order — the enquiry board, not a journey plan. Use plan_journey when somebody wants to get somewhere; use this when they are asking what leaves from here. Scheduled times only.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"station_code"
],
"properties": {
"after": {
"type": "string",
"pattern": "^\\d{2}:\\d{2}$",
"description": "Only departures at or after this IST clock time, HH:MM"
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1
},
"station_code": {
"type": "string",
"maxLength": 12,
"minLength": 1,
"description": "Station code, e.g. CNB"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Day-by-day service over a span of dates for a station pair: which days have a direct train and which have none, plus the weekly pattern. Use this when somebody is flexible about when they travel, or asks 'does it run on Sundays'. Timetable only — it says nothing about seats.
| Parameter | Type | Description |
|---|---|---|
| to * | string | Destination station code |
| days | integer | |
| from * | string | Origin station code |
| start_date * | string | First day of the span |
{
"name": "journey_calendar",
"title": "Which days a route runs",
"description": "Day-by-day service over a span of dates for a station pair: which days have a direct train and which have none, plus the weekly pattern. Use this when somebody is flexible about when they travel, or asks 'does it run on Sundays'. Timetable only — it says nothing about seats.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"from",
"to",
"start_date"
],
"properties": {
"to": {
"type": "string",
"maxLength": 12,
"minLength": 1,
"description": "Destination station code"
},
"days": {
"type": "integer",
"default": 30,
"maximum": 120,
"minimum": 1
},
"from": {
"type": "string",
"maxLength": 12,
"minLength": 1,
"description": "Origin station code"
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First day of the span"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Other railway stations within a radius of one station, nearest first. Useful when a place has no service of its own and the traveller needs to know what is reachable — the planner already does this internally, so reach for it only when somebody asks the question directly.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| radius_km | integer | |
| station_code * | string |
{
"name": "nearby_stations",
"title": "Stations near a station",
"description": "Other railway stations within a radius of one station, nearest first. Useful when a place has no service of its own and the traveller needs to know what is reachable — the planner already does this internally, so reach for it only when somebody asks the question directly.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"station_code"
],
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 40,
"minimum": 1
},
"radius_km": {
"type": "integer",
"default": 40,
"maximum": 150,
"minimum": 1
},
"station_code": {
"type": "string",
"maxLength": 12,
"minLength": 1
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Search forward up to a month for the first date this route can actually be travelled with a confirmed berth — direct trains and one-change journeys together. Use it when a traveller is flexible about WHEN and the date they asked for is waitlisted. EXPENSIVE: it checks seats across dozens of trains and dates, so it is limited to a few calls an hour; for a single date use check_train_options instead.
| Parameter | Type | Description |
|---|---|---|
| to * | string | Destination station code |
| date * | string | The date to search forward FROM |
| from * | string | Origin station code |
| quota | string | one of ["GN","TQ","PT","LD","SS"] |
{
"name": "next_confirmed_date",
"title": "The next date with a confirmed seat",
"description": "Search forward up to a month for the first date this route can actually be travelled with a confirmed berth — direct trains and one-change journeys together. Use it when a traveller is flexible about WHEN and the date they asked for is waitlisted. EXPENSIVE: it checks seats across dozens of trains and dates, so it is limited to a few calls an hour; for a single date use check_train_options instead.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"from",
"to",
"date"
],
"properties": {
"to": {
"type": "string",
"maxLength": 12,
"minLength": 1,
"description": "Destination station code"
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The date to search forward FROM"
},
"from": {
"type": "string",
"maxLength": 12,
"minLength": 1,
"description": "Origin station code"
},
"quota": {
"enum": [
"GN",
"TQ",
"PT",
"LD",
"SS"
],
"type": "string",
"default": "GN"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false
}
}RailRoute plans intercity journeys in India across trains, flights and the combinations of them. Always call find_place first: plan_journey takes place ids (slugs like "mumbai"), not station codes, and guessing a slug from a city name fails quietly. plan_journey answers in one call: direct trains, journeys with one change of train, flights, and mixed shapes. It does not need a follow-up call per option. Train fares come back per travel class. If the traveller has named a class, pass `train_class` and everything is priced in it; if they have not, leave it out — every class we have evidence for is priced, and the answer carries the question to ask them. How to read what comes back: - null means unknown. It never licenses a guess, and 'price unavailable' is a real answer. - `fares` is a map from travel class to rupees for one adult, estimated from the published tables. `classes_source: "unknown"` means we have never recorded that train, not that it has no classes. - A class missing from a train's `classes` was NOT priced on purpose. Do not fill the gap with a fare from another train or another class. - Every time is a SCHEDULED time. Nothing here predicts a delay. - RAC is a ticket, not a waitlist: it is issued, it carries a right to board, and it must never be described as unconfirmed or hidden away under a waitlist heading. - Fares are estimates or lowest-observed prices, never quotes. Say so when you repeat one. - A journey marked not offerable is still a real option that was considered; it carries the reason it was judged unusable. RailRoute does not sell tickets. Hand the traveller to IRCTC or the airline to book. Answers carry a railroute.in link — `book_on_railroute` on a plan, `view_at` on a train or station. Share the relevant one in your reply: it opens the same search on the site with live seat availability, live running status and the booking hand-off, which are things this data cannot carry.
Names, descriptions and schemas were written by the server and are shown as data.