# RailCore Developers

> Indian Railways API docs and code samples, plus your RailCore usage, keys and live test requests.

- name: tech.railcore/developers
- version: 1.1.0
- connection class: R0 (autonomous)
- trust: 83/100 flags: no-repository
- quality: 100/100 (strong)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/tech.railcore%2Fdevelopers
- tools: https://api.protogrid.dev/v1/servers/tech.railcore%2Fdevelopers/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "developers": {
      "type": "http",
      "url": "https://mcp.railcore.tech/developers/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 100
- freshness: 100
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-100% +updated-9d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 100/100 (strong)

### protocol: 100 (weight 25)

- pass `protocol.modern`: supports 2026-07-28 (server/discover)
- pass `protocol.stateless`: answers without a session
- pass `protocol.transport`: streamable HTTP
- pass `protocol.list_ttl`: tool list is cacheable (ttlMs 3600000)

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 100 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 8 of 8 tools declare readOnlyHint or destructiveHint
- pass `tools.directory_hints`: every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
- pass `tools.token_cost`: about 1,622 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool, prompt or resource definitions
- pass `tools.poisoning`: no instructions aimed at the model in tool, prompt or resource definitions

### stability: 100 (weight 15)

- pass `stability.changes`: 3 tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name
- pass `stability.new_links`: no tool change named a new site

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 8, about 1,622 tokens to load them all
- tool set hash: b358a3b176fe54bd663344fcbfa6e1c7
- tools last changed: 2026-11-20T15:21:02.286Z
- badge: [![protogrid quality](https://protogrid.dev/badge/tech.railcore/developers.svg)](https://protogrid.dev/servers/tech.railcore/developers)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

- 2026-11-20 `try_endpoint` added
  - 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.
- 2026-11-20 `list_my_keys` added
  - 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.
- 2026-11-20 `get_my_usage` added
  - 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.

Full history: https://api.protogrid.dev/v1/servers/tech.railcore%2Fdevelopers/changes

## Remotes

- https://mcp.railcore.tech/developers/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (8)

- `explain_error`: 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.
- `get_code_sample`: 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.
- `get_endpoint`: 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.
- `get_my_usage`: 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.
- `get_plans`: 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.
- `list_my_keys`: 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.
- `search_docs`: 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.
- `try_endpoint`: 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.

## Prompts and resources

### Prompts (3)

- `` choose_plan ``: Pick the RailCore API plan that fits your expected requests and features.
- `` debug_api_error ``: Find out why a RailCore API request failed and how to fix it.
- `` integrate_endpoint ``: Write code that uses one RailCore API endpoint, with the right signing for your plan.

### Resources (45)

- `` https://railcore.tech/docs/api/availability-calendar.md ``: Inspect availability across upcoming dates.
- `` https://railcore.tech/docs/api/available-classes.md ``: List classes offered by a train on a route.
- `` https://railcore.tech/docs/api/batch-seat-availability.md ``: Check up to 25 train and class combinations.
- `` https://railcore.tech/docs/api/cancel-job.md ``: Cancel a pending or processing job.
- `` https://railcore.tech/docs/api/chart-status.md ``: Check whether chart one or chart two is prepared.
- `` https://railcore.tech/docs/api/coach-position.md ``: Get the rake from the front: the locomotive, then every coach, with the train's name, formation and class counts.
- `` https://railcore.tech/docs/api/compare-journeys.md ``: Compare up to 5 route queries in one request.
- `` https://railcore.tech/docs/api/fare-estimate.md ``: Get reserved fare by class for a train segment.
- `` https://railcore.tech/docs/api/get-job.md ``: Poll status and retrieve a completed result.
- `` https://railcore.tech/docs/api/get-station.md ``: Resolve one canonical station record.
- `` https://railcore.tech/docs/api/get-train.md ``: Resolve one canonical train record.
- `` https://railcore.tech/docs/api/journey-search.md ``: Search and rank route options for a journey UI.
- `` https://railcore.tech/docs/api/list-jobs.md ``: List recent jobs with optional filters.
- `` https://railcore.tech/docs/api/live-station-board.md ``: Arrivals and departures from 2 hours ago to 4 or 8 hours ahead.
- `` https://railcore.tech/docs/api/live-train.md ``: Where a train is right now, how late it is, and its times at every station on the route.
- `` https://railcore.tech/docs/api/route-trains.md ``: Find trains serving a route on a date.
- `` https://railcore.tech/docs/api/route-vacancy-scan.md ``: Rank every route train by chart vacancy and hopping coverage.
- `` https://railcore.tech/docs/api/search-fares.md ``: Compare fares across trains on a route.
- `` https://railcore.tech/docs/api/search-stations.md ``: Find stations by code, city, name, or alias.
- `` https://railcore.tech/docs/api/search-trains.md ``: Search trains by name or number.
- `` https://railcore.tech/docs/api/seat-availability.md ``: Check availability afresh for one train and class.
- `` https://railcore.tech/docs/api/stream-job.md ``: Receive progress and terminal state over SSE.
- `` https://railcore.tech/docs/api/submit-hopping-job.md ``: Run berth-hopping analysis asynchronously.
- `` https://railcore.tech/docs/api/submit-route-scan-job.md ``: Run route scanning asynchronously.
- `` https://railcore.tech/docs/api/train-route.md ``: Get stops and pass-through stations.
- `` https://railcore.tech/docs/api/train-schedule.md ``: Get the full scheduled train movement.
- `` https://railcore.tech/docs/api/train-stops.md ``: Get booking-relevant stops only.
- `` https://railcore.tech/docs/api/unreserved-fare.md ``: Query UTS journey and season-ticket fares.
- `` https://railcore.tech/docs/api/vacant-berths-hopping.md ``: Build a same-train berth chain when no berth covers the full route.
- `` https://railcore.tech/docs/api/vacant-berths.md ``: Find post-chart berth vacancies by coach and class.
- `` https://railcore.tech/docs/authentication.md ``: How authentication works on the RailCore Indian Railways API: the three key headers, scopes, expiry and rotation, IP allowlists and request signing.
- `` https://railcore.tech/docs/changelog.md ``: Release history for the RailCore Indian Railways API and its documentation: new endpoints, response changes and deprecations, newest first.
- `` https://railcore.tech/docs/credits.md ``: RailCore Indian Railways API pricing: monthly requests on each plan, what each endpoint counts as (most count as one), batches, and free failed requests.
- `` https://railcore.tech/docs/errors.md ``: Handle RailCore Indian Railways API errors correctly: stable error codes, which failures are retryable, Retry-After on 429 and 503, and how to back off safely.
- `` https://railcore.tech/docs/errors-reference.md ``: Every public RailCore Indian Railways API error code in one table, with its HTTP status, meaning and whether the request is safe to retry.
- `` https://railcore.tech/docs/headers.md ``: Reference for every RailCore Indian Railways API header: authentication and request headers, rate-limit and request counters, and the trace id for support.
- `` https://railcore.tech/docs/hmac.md ``: Sign RailCore Indian Railways API requests with HMAC: payload canonicalization, the signature header, timestamp windows and replay protection.
- `` https://railcore.tech/docs/mcp.md ``: Connect Claude, Cursor, VS Code or any MCP client to the RailCore Indian Railways API docs: endpoints, code samples, error fixes and plans. No key needed.
- `` https://railcore.tech/docs.md ``: Indian Railways API docs: live train running status, schedules, stations, seat availability and fares, with a playground. Free tier: 500 requests a month.
- `` https://railcore.tech/docs/playground.md ``: Try every RailCore Indian Railways API endpoint in the browser, signed in or with a key: build a request, send it and read the live response.
- `` https://railcore.tech/docs/quickstart.md ``: Make your first request to the RailCore Indian Railways API: create a free key, then get live train status from cURL, Node.js, Python, PHP, Go or Java.
- `` https://railcore.tech/docs/rate-limits.md ``: RailCore Indian Railways API rate limits: per-minute budgets on every plan, the Free plan's daily cap, the headers that say what is left, and 429 responses.
- `` https://railcore.tech/docs/responses.md ``: The response envelope every RailCore Indian Railways API endpoint returns: success and error shapes, request ids, freshness metadata and response headers.
- `` https://railcore.tech/docs/webhooks.md ``: Receive RailCore Indian Railways API job results by webhook: the callback URL rules, the signed POST, how to verify its signature in Node.js, and retries.
- `` https://railcore.tech/railcore-developer-api-v1.openapi.yaml ``: The public OpenAPI 3.1 document for https://ir.railcore.tech/v1.
