JR East Delay Information MCP Server

by tinjyuu

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等のクライアントを利用
-
security - not tested
-
license - not tested
-
quality - not tested

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.

  1. セットアップ
    1. ビルド
      1. テスト
        1. サーバーの起動
          1. MCPクライアントからの利用
            1. MCPクライアント設定例
            2. 開発用メモ

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            A lightweight mcp server that tells you exactly what time is it based on your IP.
            Last updated -
            3
            Python
            MIT License
          • -
            security
            F
            license
            -
            quality
            A Claude Model Configuration Protocol (MCP) server that provides real-time timezone-aware date and time information.
            Last updated -
            Python
          • -
            security
            F
            license
            -
            quality
            Provides real-time weather alerts, forecasts, stock prices, historical data, and stock-related news through an MCP interface.
            Last updated -
            115
            JavaScript

          View all related MCP servers

          ID: ffftz0yd2v