RailCore Developers is an MCP server published by tech.railcore, hosted at mcp.railcore.tech. When last checked on 2026-11-21 it was working: it answers and lists its tools. It declares 8 tools, including search_docs, get_endpoint, get_code_sample, explain_error, get_plans.
Indian Railways API docs and code samples, plus your RailCore usage, keys and live test requests.
Nothing else in the archive shares these values.
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.
Inferred from the host name and headers: what a server runs on, not who runs it.
Search the RailCore Indian Railways API documentation: guides (authentication, request signing, rate limits, billing in requests), endpoint pages and error codes. Returns the best matching sections with links. Use it for any how-to question about the API.
| Parameter | Type | Description |
|---|---|---|
| kind | string | Limit results to guides, endpoints or errors. Default: any. |
| limit | integer | How many results, 1 to 10. Default: 5. |
| query * | string | What to look for, in plain words or an error code. |
{
"name": "search_docs",
"title": "Search the RailCore API docs",
"description": "Search the RailCore Indian Railways API documentation: guides (authentication, request signing, rate limits, billing in requests), endpoint pages and error codes. Returns the best matching sections with links. Use it for any how-to question about the API.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"query"
],
"properties": {
"kind": {
"enum": [
"any",
"guide",
"endpoint",
"error"
],
"type": "string",
"description": "Limit results to guides, endpoints or errors. Default: any."
},
"limit": {
"type": "integer",
"maximum": 10,
"minimum": 1,
"description": "How many results, 1 to 10. Default: 5."
},
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "What to look for, in plain words or an error code."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"query",
"results",
"catalog_generated_at"
],
"properties": {
"query": {
"type": "string"
},
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"kind",
"id",
"title",
"url",
"snippet"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"kind": {
"enum": [
"guide",
"endpoint",
"error"
],
"type": "string"
},
"title": {
"type": "string"
},
"snippet": {
"type": "string"
}
},
"additionalProperties": false
}
},
"catalog_generated_at": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Details of one RailCore API endpoint: method and URL, parameters, what it costs in requests, the key scope it needs, which plans can use it and whether requests must be signed, response fields and the errors it can answer. Accepts an endpoint id (seat-availability), a method and path (GET /trains/{train_number}/live) or a full URL.
| Parameter | Type | Description |
|---|---|---|
| detail | string | summary (default) or full, which adds response fields and a response example. |
| endpoint * | string | An endpoint id (seat-availability), a method and path (GET /availability/seats) or a URL. |
{
"name": "get_endpoint",
"title": "Get one RailCore API endpoint",
"description": "Details of one RailCore API endpoint: method and URL, parameters, what it costs in requests, the key scope it needs, which plans can use it and whether requests must be signed, response fields and the errors it can answer. Accepts an endpoint id (seat-availability), a method and path (GET /trains/{train_number}/live) or a full URL.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"endpoint"
],
"properties": {
"detail": {
"enum": [
"summary",
"full"
],
"type": "string",
"description": "summary (default) or full, which adds response fields and a response example."
},
"endpoint": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "An endpoint id (seat-availability), a method and path (GET /availability/seats) or a URL."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"title",
"method",
"url",
"summary",
"description",
"scope",
"cost",
"availability",
"signing_required",
"signing",
"parameters",
"errors",
"notes",
"docs_url",
"markdown_url",
"catalog_generated_at"
],
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
},
"cost": {
"type": "object",
"required": [
"kind",
"requests",
"text"
],
"properties": {
"kind": {
"type": "string"
},
"text": {
"type": "string"
},
"unit": {
"type": "string"
},
"minimum": {
"type": "number"
},
"requests": {
"type": "number"
}
},
"additionalProperties": false
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"scope": {
"type": "string"
},
"title": {
"type": "string"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"required": [
"status",
"code",
"retryable",
"meaning"
],
"properties": {
"fix": {
"type": "string"
},
"code": {
"type": "string"
},
"status": {
"type": "number"
},
"meaning": {
"type": "string"
},
"category": {
"type": "string"
},
"retryable": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"method": {
"type": "string"
},
"signing": {
"type": "string"
},
"summary": {
"type": "string"
},
"docs_url": {
"type": "string"
},
"parameters": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"in",
"type",
"required",
"description"
],
"properties": {
"in": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"allowed": {
"type": "array",
"items": {
"type": "string"
}
},
"default": {
"type": "string"
},
"example": {
"type": "string"
},
"maximum": {
"type": "number"
},
"minimum": {
"type": "number"
},
"pattern": {
"type": "string"
},
"required": {
"type": "boolean"
},
"description": {
"type": "string"
}
},
"additionalProperties": false
}
},
"body_fields": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"type",
"description"
],
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"group": {
"type": "string"
},
"allowed": {
"type": "array",
"items": {
"type": "string"
}
},
"required": {
"type": "boolean"
},
"deprecated": {
"type": "boolean"
},
"description": {
"type": "string"
}
},
"additionalProperties": false
}
},
"description": {
"type": "string"
},
"availability": {
"type": "string"
},
"markdown_url": {
"type": "string"
},
"response_fields": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"type",
"description"
],
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"group": {
"type": "string"
},
"allowed": {
"type": "array",
"items": {
"type": "string"
}
},
"required": {
"type": "boolean"
},
"deprecated": {
"type": "boolean"
},
"description": {
"type": "string"
}
},
"additionalProperties": false
}
},
"signing_required": {
"type": "boolean"
},
"body_example_json": {
"type": "string"
},
"catalog_generated_at": {
"type": "string"
},
"response_example_json": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Working code for a RailCore API endpoint in curl, Node.js, Python, PHP, Go or Java. Set signed to true for Growth, Scale and Enterprise keys, which must sign every request with HMAC-SHA256. Samples read the key from RAILCORE_KEY and the signing secret from RAILCORE_HMAC_SECRET, and work out their dates when they run.
| Parameter | Type | Description |
|---|---|---|
| signed | boolean | true for Growth, Scale and Enterprise keys, which must sign every request. Default: true only for endpoints that signing plans alone can use. |
| endpoint * | string | An endpoint id, a method and path, or a URL. |
| language * | string | curl, node, python, php, go or java. |
{
"name": "get_code_sample",
"title": "Get a working code sample",
"description": "Working code for a RailCore API endpoint in curl, Node.js, Python, PHP, Go or Java. Set signed to true for Growth, Scale and Enterprise keys, which must sign every request with HMAC-SHA256. Samples read the key from RAILCORE_KEY and the signing secret from RAILCORE_HMAC_SECRET, and work out their dates when they run.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"endpoint",
"language"
],
"properties": {
"signed": {
"type": "boolean",
"description": "true for Growth, Scale and Enterprise keys, which must sign every request. Default: true only for endpoints that signing plans alone can use."
},
"endpoint": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "An endpoint id, a method and path, or a URL."
},
"language": {
"enum": [
"curl",
"node",
"python",
"php",
"go",
"java"
],
"type": "string",
"description": "curl, node, python, php, go or java."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"endpoint_id",
"language",
"signed",
"code",
"env_vars",
"notes",
"docs_url",
"catalog_generated_at"
],
"properties": {
"code": {
"type": "string"
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"signed": {
"type": "boolean"
},
"docs_url": {
"type": "string"
},
"env_vars": {
"type": "array",
"items": {
"type": "string"
}
},
"language": {
"enum": [
"curl",
"node",
"python",
"php",
"go",
"java"
],
"type": "string"
},
"endpoint_id": {
"type": "string"
},
"catalog_generated_at": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}What a RailCore API error means and how to fix it. Pass the error code (QUOTA_NOT_SUPPORTED), the HTTP status, or the whole error response. Never paste an API key or signing secret; any key-shaped text is removed before it is read.
| Parameter | Type | Description |
|---|---|---|
| code | string | The error code, such as QUOTA_NOT_SUPPORTED. |
| status | integer | The HTTP status, such as 422. |
| endpoint | string | The endpoint the request went to, if known. |
| error_json | string | The error response body. Remove any API key or secret first. |
{
"name": "explain_error",
"title": "Explain a RailCore API error",
"description": "What a RailCore API error means and how to fix it. Pass the error code (QUOTA_NOT_SUPPORTED), the HTTP status, or the whole error response. Never paste an API key or signing secret; any key-shaped text is removed before it is read.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"code": {
"type": "string",
"maxLength": 80,
"description": "The error code, such as QUOTA_NOT_SUPPORTED."
},
"status": {
"type": "integer",
"maximum": 599,
"minimum": 100,
"description": "The HTTP status, such as 422."
},
"endpoint": {
"type": "string",
"maxLength": 300,
"description": "The endpoint the request went to, if known."
},
"error_json": {
"type": "string",
"maxLength": 20000,
"description": "The error response body. Remove any API key or secret first."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"known",
"meaning",
"fix",
"docs_url",
"endpoints",
"catalog_generated_at"
],
"properties": {
"fix": {
"type": "string"
},
"code": {
"type": "string"
},
"known": {
"type": "boolean"
},
"status": {
"type": "number"
},
"meaning": {
"type": "string"
},
"category": {
"type": "string"
},
"docs_url": {
"type": "string"
},
"endpoints": {
"type": "array",
"items": {
"type": "string"
}
},
"retryable": {
"type": "boolean"
},
"key_warning": {
"type": "string"
},
"catalog_generated_at": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}RailCore API plans: monthly price in INR, requests a month, per minute and per day, which plans must sign requests, IP allowlists, and which include charts and jobs. Pass a plan name to see one plan.
| Parameter | Type | Description |
|---|---|---|
| plan | string | A plan name or id, such as Growth. Leave out to compare all plans. |
{
"name": "get_plans",
"title": "Compare RailCore API plans",
"description": "RailCore API plans: monthly price in INR, requests a month, per minute and per day, which plans must sign requests, IP allowlists, and which include charts and jobs. Pass a plan name to see one plan.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"plan": {
"type": "string",
"maxLength": 60,
"description": "A plan name or id, such as Growth. Leave out to compare all plans."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"plans",
"pricing_url",
"signing_rule",
"catalog_generated_at"
],
"properties": {
"plans": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"price",
"must_sign_requests",
"ip_allowlist",
"charts_and_jobs",
"commercial_use",
"support",
"summary",
"highlights"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"price": {
"type": "string",
"description": "Monthly price, or Contract price for Enterprise."
},
"summary": {
"type": "string"
},
"support": {
"type": "string"
},
"highlights": {
"type": "array",
"items": {
"type": "string"
}
},
"ip_allowlist": {
"type": "boolean"
},
"commercial_use": {
"type": "boolean"
},
"charts_and_jobs": {
"type": "boolean"
},
"requests_per_day": {
"type": "number",
"description": "Left out when the plan has no daily cap."
},
"must_sign_requests": {
"type": "boolean"
},
"requests_per_month": {
"type": "number",
"description": "Left out when agreed by contract."
},
"price_inr_per_month": {
"type": "number",
"description": "Left out for contract pricing."
},
"requests_per_minute": {
"type": "number",
"description": "Left out when agreed by contract."
}
},
"additionalProperties": false
}
},
"pricing_url": {
"type": "string"
},
"signing_rule": {
"type": "string"
},
"catalog_generated_at": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Your RailCore API plan and this month's usage: requests used and left, the per-minute and per-day limits, use per API key and in the docs playground, and when the allowance refills. Requires sign-in to your RailCore account.
No parameters.
{
"name": "get_my_usage",
"title": "Your RailCore API usage",
"description": "Your RailCore API plan and this month's usage: requests used and left, the per-minute and per-day limits, use per API key and in the docs playground, and when the allowance refills. Requires sign-in to your RailCore account.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"unit",
"has_plan",
"by_key",
"key_count",
"partial",
"pricing_url"
],
"properties": {
"plan": {
"type": "object",
"required": [
"id",
"name",
"status",
"renews"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"renews": {
"type": "boolean",
"description": "false: the plan ends at period_end instead of renewing."
},
"status": {
"type": "string"
},
"period_end": {
"type": "string"
},
"trial_ends_at": {
"type": "string"
}
},
"additionalProperties": false
},
"unit": {
"enum": [
"requests",
"credits"
],
"type": "string"
},
"by_key": {
"type": "object",
"required": [
"period",
"months",
"keys",
"playground",
"total"
],
"properties": {
"keys": {
"type": "array",
"items": {
"type": "object",
"required": [
"used",
"requests_ok",
"requests_err",
"label",
"key_prefix",
"active"
],
"properties": {
"used": {
"type": "number"
},
"label": {
"type": "string"
},
"active": {
"type": "boolean"
},
"key_prefix": {
"type": "string"
},
"requests_ok": {
"type": "number"
},
"requests_err": {
"type": "number"
}
},
"additionalProperties": false
}
},
"total": {
"type": "object",
"required": [
"used",
"requests_ok",
"requests_err"
],
"properties": {
"used": {
"type": "number"
},
"requests_ok": {
"type": "number"
},
"requests_err": {
"type": "number"
}
},
"additionalProperties": false
},
"months": {
"type": "array",
"items": {
"type": "string"
}
},
"period": {
"type": "string",
"description": "The whole IST months these figures count, such as November 2026."
},
"playground": {
"type": "object",
"required": [
"used",
"requests_ok",
"requests_err"
],
"properties": {
"used": {
"type": "number"
},
"requests_ok": {
"type": "number"
},
"requests_err": {
"type": "number"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"limits": {
"type": "object",
"properties": {
"per_day": {
"type": "number",
"description": "Left out when the plan has no daily cap."
},
"per_minute": {
"type": "number",
"description": "Left out when negotiated."
},
"day_resets_at": {
"type": "string"
}
},
"additionalProperties": false
},
"partial": {
"type": "boolean",
"description": "true: some counters could not be read, so figures may be low."
},
"has_plan": {
"type": "boolean"
},
"key_count": {
"type": "number"
},
"this_month": {
"type": "object",
"required": [
"month",
"month_name",
"used",
"unlimited"
],
"properties": {
"left": {
"type": "number",
"description": "Left now; left out when unlimited."
},
"used": {
"type": "number",
"description": "Counted this IST month: the active keys plus the docs playground and try_endpoint."
},
"month": {
"type": "string",
"description": "YYYY-MM, the IST calendar month."
},
"resets_at": {
"type": "string",
"description": "When the allowance refills; left out when the plan ends at period_end instead."
},
"unlimited": {
"type": "boolean"
},
"month_name": {
"type": "string"
},
"included_per_period": {
"type": "number"
}
},
"additionalProperties": false
},
"pricing_url": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Your active RailCore API keys: label, the first characters of the key, scopes, whether a signing secret is set, how many IP addresses are allowed, and when each was created, last used and expires. Never a full key or secret. Requires sign-in to your RailCore account.
No parameters.
{
"name": "list_my_keys",
"title": "Your RailCore API keys",
"description": "Your active RailCore API keys: label, the first characters of the key, scopes, whether a signing secret is set, how many IP addresses are allowed, and when each was created, last used and expires. Never a full key or secret. Requires sign-in to your RailCore account.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"count",
"keys"
],
"properties": {
"keys": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"key_prefix",
"scopes",
"signing_secret_set",
"ip_allowlist_count",
"created_at"
],
"properties": {
"label": {
"type": "string"
},
"scopes": {
"type": "array",
"items": {
"type": "string"
}
},
"created_at": {
"type": "string"
},
"expires_at": {
"type": "string",
"description": "Left out when the key never expires."
},
"key_prefix": {
"type": "string",
"description": "The first characters only, never the full key."
},
"last_used_at": {
"type": "string"
},
"ip_allowlist_count": {
"type": "number",
"description": "0: any IP address."
},
"signing_secret_set": {
"type": "boolean",
"description": "true: requests with this key must be signed."
}
},
"additionalProperties": false
}
},
"count": {
"type": "number"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Send one real request to a RailCore API read endpoint with your account and return its answer: status, request ID, requests counted and left, and the response body. It counts against your plan like any API request, so ask the user first. max_requests caps what it may count (default 1); a request that would count more is refused before it is sent. At most 30 tries an hour. Requires sign-in to your RailCore account. The first try also asks permission to make test requests.
| Parameter | Type | Description |
|---|---|---|
| body | string | The JSON body as text, for the two POST endpoints only (batch-seat-availability, compare-journeys), such as {"journeys": [{"from": "BSL", "to": "ADI", "date": "2026-12-01"}]}. |
| params | object | Path and query parameters by name, every value as a string, such as {"q": "pune", "limit": "5"} or {"train_number": "12951"}. Dates as YYYY-MM-DD. |
| endpoint * | string | A read endpoint: an id (search-stations), a method and path (GET /stations/search) or a URL. |
| max_requests | integer | The most requests this try may count, 1 to 25. Default 1. Raise it only after the user agrees to the cost. |
{
"name": "try_endpoint",
"title": "Try a RailCore API endpoint",
"description": "Send one real request to a RailCore API read endpoint with your account and return its answer: status, request ID, requests counted and left, and the response body. It counts against your plan like any API request, so ask the user first. max_requests caps what it may count (default 1); a request that would count more is refused before it is sent. At most 30 tries an hour. Requires sign-in to your RailCore account. The first try also asks permission to make test requests.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"endpoint"
],
"properties": {
"body": {
"type": "string",
"maxLength": 65536,
"description": "The JSON body as text, for the two POST endpoints only (batch-seat-availability, compare-journeys), such as {\"journeys\": [{\"from\": \"BSL\", \"to\": \"ADI\", \"date\": \"2026-12-01\"}]}."
},
"params": {
"type": "object",
"description": "Path and query parameters by name, every value as a string, such as {\"q\": \"pune\", \"limit\": \"5\"} or {\"train_number\": \"12951\"}. Dates as YYYY-MM-DD.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"endpoint": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"description": "A read endpoint: an id (search-stations), a method and path (GET /stations/search) or a URL."
},
"max_requests": {
"type": "integer",
"maximum": 25,
"minimum": 1,
"description": "The most requests this try may count, 1 to 25. Default 1. Raise it only after the user agrees to the cost."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"endpoint_id",
"method",
"url",
"status",
"ok",
"quoted_requests",
"body_json",
"truncated",
"docs_url"
],
"properties": {
"ok": {
"type": "boolean"
},
"url": {
"type": "string",
"description": "The public URL of the same request."
},
"method": {
"type": "string"
},
"status": {
"type": "number"
},
"docs_url": {
"type": "string"
},
"body_json": {
"type": "string",
"description": "The response body as text, cut near 32 KB."
},
"truncated": {
"type": "boolean"
},
"error_code": {
"type": "string"
},
"request_id": {
"type": "string"
},
"endpoint_id": {
"type": "string"
},
"error_message": {
"type": "string"
},
"quoted_requests": {
"type": "number",
"description": "What this request was expected to count, before it was sent."
},
"requests_counted": {
"type": "number",
"description": "From X-RailCore-Credits-Cost."
},
"requests_remaining": {
"type": "number",
"description": "From X-RailCore-Credits-Remaining."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}RailCore Developers answers questions about the RailCore Indian Railways API (https://ir.railcore.tech/v1) from its published docs. The docs tools need no sign-in and spend nothing. The API meters usage in requests: say requests when you talk about cost or limits. Use get_endpoint before writing code against an endpoint, get_code_sample for working code (signed for Growth, Scale and Enterprise keys), and explain_error for any error code. get_my_usage, list_my_keys and try_endpoint need sign-in to the user's RailCore account. try_endpoint makes a real request that counts against the user's plan: ask the user before each one. RailCore is independent and not affiliated with IRCTC or Indian Railways.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.