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等のクライアントを利用
JR East Delay Information Server
Project Details
- tinjyuu/mcp-jr-east-delay
- MIT License
- Last Updated: 4/30/2025
Recomended MCP Servers
Youtube Transcript Download MCP
MCP Server Typescript Template
Instantly query European financial data for AI. This FastMCP server connects the FinancialReports.eu API to powerful language models,...
MCP server for graph representation of a codebase
MCP Server for send text/markdown message via dingding (aka dingtalk) group custom robot
A basic JS VM as an MCP server
A blog starter project for a NextJS blog using Obsidian as the CMS
Self-paced bootcamp on Generative AI. Tutorials on ML fundamentals, LLMs, RAGs, LangChain, LangGraph, Fine-tuning Llama 3 & AI...
This is MCP server for Claude that gives it terminal control, file system search and diff file editing...
MCP Server integrating MCP Clients with Stability AI-powered image manipulation functionalities: generate, edit, upscale, and more.





