JR北海道列車運行情報取得ツール
JR北海道の列車運行情報を取得するMCPサーバです。各エリア(札幌近郊、道央、道南、道北、道東、北海道新幹線)の運行情報を取得し、遅延や運休などの情報を提供します。
機能
Tool機能
- JR北海道の公式サイトから各エリアの運行情報を取得
- 「遅延」「運休」などの情報をカテゴリ分け
- エリア指定による情報取得(札幌/道央/道南/道北/道東/北海道新幹線)
- 漢字表記とローマ字コードの両方をサポート
Prompt機能
check_all_areas- 全エリアの運行状況を確認check_specific_area- 特定エリアの運行状況を確認delay_impact_analysis- 遅延状況の分析
要件
- Python 3.8以上
- 必要なパッケージは
requirements.txtに記載
インストール
git clone https://github.com/Masa1984a/jrhokkaido_train_info.git
使い方 (Windows Claude for Desktop)
Claudeの「claude_desktop_config.json」について、下記を参考にして追記する。
{
"mcpServers": {
"jrhokkaido-train-info": {
"command": "uv",
"args": [
"--directory",
"C:\\\\<your folder>\\\\jrhokkaido_train_info",
"run",
"jrhokkaido_train_info.py"
],
"workingDirectory": "C:\\\\<your folder>\\\\jrhokkaido_train_info"
}
}
}
Claudeを再起動すると使えるようになります。
具体的には下記のように使用できます。

Prompt機能の使い方
Claudeの入力フィールドに下記のようなプロンプトを入力できます:
- 全エリアの確認:
/check_all_areas
- 特定エリアの確認:
/check_specific_area 札幌
- 遅延分析:
/delay_impact_analysis
Claude for desktopでは「MCPから添付」ボタンを押下して使います。

ライセンス
MIT
謝辞
このツールはJR北海道の公式運行情報ページの情報を利用しています。 Tinjyuuさん、hfujikawa77さんが公開されているMCPサーバをかなり参考にしています。
- https://github.com/tinjyuu/
- https://github.com/hfujikawa77/
Recommend MCP Servers 💡
Databricks Genie MCP Server
An MCP server enabling LLMs to interact with Databricks Genie API for natural language queries, SQL execution, and conversational agent interaction within Databricks workspaces.
function-lookup
A Model Context Protocol (MCP) server that helps AI assistants like Copilot or Claude analyze code by looking up function usage within source files.
review-toolkit-mcp
A Model Context Protocol (MCP) service designed to assist AI agents in managing and tracking code review sessions, including file tracking, review status, agent review storage, and report generation.
@AbdelStark/nostr-mcp
A Nostr MCP server that allows to interact with Nostr, enabling posting notes, and more.
hitl-mcp-server
A powerful MCP Server that enables AI assistants like Claude to interact with humans through intuitive GUI dialogs
aperag-mcp
ApeRAG: Production-ready GraphRAG with multi-modal indexing, AI agents, MCP support, and scalable K8s deployment