JR東日本 遅延情報 MCPサーバー
セットアップ
ビルド
テスト
サーバーの起動
または、package.jsonのbin設定により
でコマンドとしても実行できます。
MCPクライアントからの利用
Claude DesktopやMCP InspectorなどのMCPクライアントから「getDelays」ツールを呼び出すことで、JR東日本の遅延情報を取得できます。
MCPクライアント設定例
Claude DesktopやMCP Inspector等のクライアントで本サーバーを利用する場合、設定ファイル(例: claude_desktop_config.json
)に以下のように記述してください。
例1: node
コマンドがパスに通っている場合
例2: node
の絶対パスを指定する場合
your-username
の部分はご自身の環境に合わせて変更してください。your-path
の部分はご自身の環境に合わせて変更してください。node
コマンドがパスに通っていない場合は絶対パスで指定してください。
開発用メモ
テストは
src/index.test.ts
に記述MCPプロトコルの通信テストはMCP Inspector等のクライアントを利用
This server cannot be installed
An MCP server that provides real-time delay information for JR East train lines, accessible via MCP clients like Claude Desktop through the 'getDelays' tool.
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server that provides access to NS (Dutch Railways) travel information.Last updated -842MIT License
- -securityFlicense-qualityAn MCP server providing timezone conversions and time-related operations via RESTful API endpoints, featuring comprehensive error handling and timezone database integration.Last updated -
- AsecurityFlicenseAqualityA Model Context Protocol server that provides real-time Caltrain schedule information, allowing AI assistants to look up train departures between any stations and access station information using GTFS data.Last updated -26
- -securityAlicense-qualityAn MCP server providing access to Hong Kong transportation data, including passenger traffic statistics at control points and real-time bus arrival information for KMB and Long Win Bus services.Last updated -3MIT License