MCP.so
ログイン

Indian Railways MCP Server

@rajprem4214

Indian Railways MCP Server について

The Indian Railways MCP Server provides live station status and train information using the Model Context Protocol (MCP). This server is designed to handle requests for live data from Indian Railways.

基本情報

カテゴリ

その他

ライセンス

MIT license

ランタイム

node

トランスポート

stdio

公開者

rajprem4214

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "indian-railways-mcp": {
      "command": "node",
      "args": [
        "--loader",
        "ts-node/esm",
        "src/testFunctions.ts"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Indian Railways MCP Server?

The Indian Railways MCP Server is a Model Context Protocol (MCP) server that provides live station status and train information from Indian Railways. It is designed for developers building AI assistants or applications that need real‑time Indian Railways data.

How to use Indian Railways MCP Server?

Clone the repository, install dependencies with npm install, build with npm run build, and start the server with npm start. Integrate with Claude Desktop by adding the server configuration to claude_desktop_config.json and restarting Claude. API endpoints are called via tools/call using methods such as get-station-live-status and get-trains-between-stations.

Key features of Indian Railways MCP Server

  • Fetch live station status by station code
  • Retrieve train details between stations
  • Get train details on a specific date
  • Retrieve complete train route information
  • Check PNR status

Use cases of Indian Railways MCP Server

  • Get live station status for a station (e.g., NDLS)
  • Find all trains running between two stations (e.g., GODA to NDLS)
  • Check PNR status of a reservation
  • Retrieve the full route of a specific train number
  • Get train details for a given date between two stations

FAQ from Indian Railways MCP Server

What data does Indian Railways MCP Server provide?

It provides live station status, train details between stations, train details on a specified date, train route information, and PNR status.

How do I install and run the server?

Clone the repository, run npm install, then npm run build followed by npm start.

How do I integrate with Claude?

Add the server configuration with the path to the built index.js to Claude Desktop’s claude_desktop_config.json file, then restart Claude Desktop.

What are the available API methods?

Methods include get-station-live-status, get-trains-between-stations, get-trains-on-date, get-train-route, get-pnr-status, and get-train-details.

Do I need any external API keys or authentication?

The README does not mention any API keys or authentication requirements.

コメント

「その他」の他のコンテンツ