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.
npm install
npm run build
npx vitest run
node build/index.js
または、package.jsonのbin設定により
npx jr-east-delay
でコマンドとしても実行できます。
Claude DesktopやMCP InspectorなどのMCPクライアントから「getDelays」ツールを呼び出すことで、JR東日本の遅延情報を取得できます。
Claude DesktopやMCP Inspector等のクライアントで本サーバーを利用する場合、設定ファイル(例: claude_desktop_config.json
)に以下のように記述してください。
node
コマンドがパスに通っている場合"jr-east-delay": { "command": "node", "args": ["/Users/your-path/mcp-jr-east-delay/build/index.js"] }
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
に記述Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!