Skip to main content
Glama
tinjyuu

JR East Delay Information MCP Server

by tinjyuu

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

セットアップ

npm install

Related MCP server: MCP Trenitalia

ビルド

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等のクライアントを利用

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    An MCP server that provides weather and time tools, enabling users to get current time, weather alerts, and forecasts through natural language with Claude Desktop.
    4
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server for real-time Italian railway data, enabling natural language queries about train schedules, delays, departures, arrivals, and live tracking via the Viaggiatreno API.
    6
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that exposes the Deutsche Bahn public transport API to any MCP-compatible client (Claude Desktop, Cursor, Cline, Continue, etc.). Five tools cover station search, departures, journey planning, trip details, and nearby stations.
    6
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for Japanese public transit journey planning with interactive map UI, enabling station search, route planning, and departure lookups via natural language.
    MIT