logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mcp-jr-east-delay

Provides real-time delay information for JR East trains through the "getDelays" tool, facilitating access to up-to-date train delay data via a standardized MCP interface.

Author

mcp-jr-east-delay logo

tinjyuu

MIT License

Quick Info

GitHub GitHub Stars 4
NPM Weekly Downloads 0
Tools 1
Last Updated 2026-02-19

Tags

tinjyuudelaytrainstrain delaytinjyuu mcpdelay data

MseeP.ai Security Assessment Badge

JR東日本 遅延情報 MCPサーバー

セットアップ

npm install

ビルド

npm run build

テスト

npx vitest run

サーバーの起動

node build/index.js

または、package.jsonのbin設定により

npx jr-east-delay

でコマンドとしても実行できます。

MCPクライアントからの利用

Claude DesktopやMCP InspectorなどのMCPクライアントから「getDelays」ツールを呼び出すことで、JR東日本の遅延情報を取得できます。

MCPクライアント設定例

Claude DesktopやMCP Inspector等のクライアントで本サーバーを利用する場合、設定ファイル(例: claude_desktop_config.json)に以下のように記述してください。

例1: node コマンドがパスに通っている場合

"jr-east-delay": {
  "command": "node",
  "args": ["/Users/your-path/mcp-jr-east-delay/build/index.js"]
}

例2: node の絶対パスを指定する場合

"jr-east-delay": {
  "command": "/Users/your-username/.nodebrew/current/bin/node",
  "args": ["/Users/your-path/mcp-jr-east-delay/build/index.js"]
}
  • your-username の部分はご自身の環境に合わせて変更してください。
  • your-path の部分はご自身の環境に合わせて変更してください。
  • node コマンドがパスに通っていない場合は絶対パスで指定してください。

開発用メモ

  • テストは src/index.test.ts に記述
  • MCPプロトコルの通信テストはMCP Inspector等のクライアントを利用

See Also

`