MCP ExplorerExplorer

Mcp Jr East Delay

@tinjyuuon 9 months ago
4 MIT
FreeCommunity
AI Systems
MCP server for JR East delay information retrieval using clients like Claude Desktop.

Overview

What is Mcp Jr East Delay

mcp-jr-east-delay is an MCP server that provides delay information for JR East Japan trains.

Use cases

Use cases include integrating train delay information into mobile apps, providing updates for travel websites, and enhancing user experience in public transport systems.

How to use

To use mcp-jr-east-delay, install the necessary packages with ‘npm install’, build the project using ‘npm run build’, and start the server with ‘node build/index.js’ or ‘npx jr-east-delay’. Configure your MCP client to call the ‘getDelays’ tool to retrieve delay information.

Key features

Key features include real-time delay updates, compatibility with various MCP clients like Claude Desktop and MCP Inspector, and easy setup and configuration.

Where to use

mcp-jr-east-delay can be used in transportation applications, travel planning tools, and any software that requires real-time train delay information in Japan.

Content

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 コマンドがパスに通っている場合

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

  • your-username の部分はご自身の環境に合わせて変更してください。
  • your-path の部分はご自身の環境に合わせて変更してください。
  • node コマンドがパスに通っていない場合は絶対パスで指定してください。

開発用メモ

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

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers