lol-client-mcp Public
LoLクライアントMCP
League of LegendsのクライアントデータにアクセスするためのMCP(モデル・コントローラー・プロセッサー)サーバー。このサーバーは、League of Legends Live Client Data APIと通信してゲーム内データを取得するためのツール群を提供します。
概要
このプロジェクトは、リーグ・オブ・レジェンドのゲームクライアントのLive Client Data APIを使用して、リアルタイムのゲームデータにアクセスします。FastMCPフレームワークを活用して、様々なエンドポイントをツールとして公開します。
API 情報については、 https://developer.riotgames.com/docs/lolをご覧ください。
Related MCP server: League of Legends Stats MCP Server
インストールと使用方法
前提条件
Python 3.8以上
uv - 高速で信頼性の高い Python パッケージ マネージャー
インストール:
pip install uv
リーグ・オブ・レジェンドクライアントがインストールされている
プロジェクトのセットアップ
このリポジトリをクローンします:
git clone https://github.com/yourusername/lol-client-mcp.git
cd lol-client-mcpuv を使用して必要なパッケージをインストールします。
uv pip install httpx fastmcpMCPサーバーの実行
直接実行するには:
python main.pyクロードとの統合
Claude でこれを使用するには 2 つの方法があります。
1. クロードデスクトップ構成
claude_desktop_config.jsonファイルに次の内容を追加します。
{
"mcpServers": {
"lol-client-mcp": {
"command": "uv",
"args": [
"--directory",
"C:\\ABSOLUTE\\PATH\\TO\\PARENT\\FOLDER\\lol-client-mcp",
"run",
"main.py"
]
}
}
}重要: C:\\ABSOLUTE\\PATH\\TO\\PARENT\\FOLDER\\lol-client-mcpプロジェクトへの実際のパスに置き換えます。
2. Webアプリケーションでの使用
MCP サーバーを Claude Web アプリケーションに接続するには:
MCP サーバーを実行します。
python main.pyClaude Web インターフェースでサーバー接続を構成します。
会話を始めるときに、下部にあるMCP設定に移動します
「lol-client-mcp」を選択して接続します
APIツールリスト
ゲームデータ
get_all_game_data(): ライブリーグ・オブ・レジェンド クライアントデータ API には、/allgamedata エンドポイントから返されるデータのサブセットを返すエンドポイントがいくつかあります。このエンドポイントはライブクライアントデータ API のテストに最適ですが、このエンドポイントからすべてのデータを取得する必要がない場合は、レスポンスのサブセットを返す以下のエンドポイントのいずれかを使用してください。get_game_stats(): ゲームに関する基本データ。get_event_data(): ゲーム内で発生したイベントのリストを取得します。
アクティブプレイヤーデータ
get_active_player(): アクティブなプレイヤーに関するすべてのデータを取得します。get_active_player_name(): プレイヤー名を返します。get_active_player_abilities(): アクティブプレイヤーのアビリティを取得します。get_active_player_runes(): アクティブプレイヤーのルーンの完全なリストを取得します。
選手リストと個々の選手データ
get_player_list(): ゲーム内のヒーローのリストとその統計情報を取得します。get_player_scores(riot_id): プレイヤーの現在のスコアのリストを取得します。get_player_summoner_spells(riot_id): プレイヤーの召喚呪文のリストを取得します。get_player_main_runes(riot_id): 任意のプレイヤーの基本ルーンを取得します。get_player_items(riot_id): プレイヤーのアイテムのリストを取得します。
トラブルシューティング
接続エラー: League of Legends クライアントが実行されているかどうかを確認してください。
タイムアウトエラー:ゲームが実際に開始されていることを確認してください。このAPIはゲームロビーでは動作しません。
予防
この API は、League of Legends クライアントが実行中で、ゲームが進行中の場合にのみ機能します。
Riot Games API ポリシーに準拠して使用してください。
ライセンス
すべての権利はRiot Gamesに帰属します。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityCmaintenanceA community-developed Model Context Protocol server that integrates with the Riot Games API to provide League of Legends data, enabling AI assistants to retrieve player information, ranked stats, champion mastery, and match summaries through natural language queries.528MIT
- Flicense-qualityDmaintenanceAn MCP Server that provides access to League of Legends statistics via the SportData.io API, allowing agents to query and analyze LoL competitive gaming data.
- AlicenseAqualityCmaintenanceMCP server for NBA live data and stats, providing read-only tools to query live scores, box scores, player info, standings, and more from NBA.com.15131MIT
- AlicenseBqualityAmaintenanceMCP server exposing 30 tools for League of Legends player analysis, match review, and training-plan generation.3514MIT
Related MCP Connectors
Riot Games API MCP.
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
MCP server exposing live Helldivers 2 galactic war data.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/johnnyinlee/lol-client-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server