MCP Riot Server

by jifrozen0110
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Retrieves League of Legends player data including ranked stats, champion mastery, and match history through the Riot Games API, enabling natural language querying of player information and game performance.

MCPライオットサーバー

**MCP-Riot は、コミュニティによって開発されたModel Context Protocol (MCP)サーバーであり、Riot Games API と統合して、**自然言語クエリを介して League of Legends データを AI アシスタントに提供します。

このプロジェクトにより、AI モデルはプレーヤー情報、ランク付けされた統計、チャンピオンの習熟度、最近の試合の概要を取得できるようになります。

**免責事項:これはオープンソースプロジェクトであり、Riot Gamesとは一切関係がなく、またRiot Gamesの承認も受けていません。League of Legends®はRiot Games, Inc.の登録商標です。


デモ

✨ 特徴

🧾 選手概要

「Hide on bushの現在の順位とトップチャンピオンは何ですか?」

プレーヤーに以下を提供します:

  • レベル
  • ランク付けされたソロティア
  • トップチャンピオンマスタリー
  • 最近の試合履歴

🔝トップチャンピオン

「彼はどのチャンピオンが最も得意ですか?」

マスタリーポイントに基づいて上位 N 人のチャンピオンを返します。

🎯 チャンピオンマスタリー

「このプレイヤーはアーリをどれくらい上手に使いこなせるだろうか?」

特定のチャンピオンの詳細なチャンピオンマスタリーデータを返します。

🕹️ 最近の試合

「この召喚者の過去3試合を表示」

使用されたチャンピオン、K/D/A、結果を含む最近の試合を一覧表示します。

📊 試合概要

「指定された試合IDのこの試合を要約する」

KDA、ダメージ、ワード、結果など、プレイヤーの試合統計を返します。


🚀 クイックスタート

1. クローンとインストール

git clone https://github.com/jifrozen0110/mcp-riot.git cd mcp-riot # Install dependencies (using uv or pip) uv sync

2. APIキーを取得して環境を設定する

Riot API キーを使用して.envファイルを作成します。

RIOT_API_KEY=your_riot_api_key

キーはhttps://developer.riotgames.com/から取得できます。

3. MCPクライアントを構成する

このサーバーを MCP クライアント (例: Claude for Desktop) に登録します。

~/Library/Application Support/Claude/claude_desktop_config.json を編集します。

{ "mcpServers": { "amadeus": { "command": "/ABSOLUTE/PATH/TO/PARENT/FOLDER/uv", "args": [ "--directory", "/ABSOLUTE/PATH/TO/PARENT/FOLDER", "run", "--env-file", "/ABSOLUTE/PATH/TO/PARENT/FOLDER/.env", "riot.py" ] } } }

/ABSOLUTE/PATH/TO/PARENT/FOLDER/プロジェクト フォルダーへの実際のパスに置き換えます。

私の場合:

{ "mcpServers": { "amadeus": { "command": "/Users/jifrozen/.local/bin/uv", "args": [ "--directory", "/Users/jifrozen/mcp-riot/src/", "run", "--env-file", "/Users/jifrozen/mcp-riot/.env", "server.py" ] } } }

🛠️ ツール

次のツールが MCP クライアントに公開されます。

get_player_summary

レベル、ランク、トップチャンピオン、最近の試合の概要を示します。

get_top_champions_tool

マスタリーポイントによるトップチャンピオンを返します。

get_champion_mastery_tool

特定のチャンピオンのマスタリーの詳細を返します。

get_recent_matches_tool

指定された召喚者の最近の試合を返します。

get_match_summary

指定された試合 ID と puuid の試合パフォーマンス統計を返します。


📚 参考文献


📝 ライセンス

MIT ライセンス © 2025 jifrozen0110

-
security - not tested
A
license - permissive license
-
quality - not tested

コミュニティが開発したモデル コンテキスト プロトコル サーバー。Riot Games API と統合して League of Legends データを提供し、AI アシスタントが自然言語クエリを通じてプレーヤー情報、ランク統計、チャンピオンの習熟度、試合概要を取得できるようにします。

  1. Demo
    1. ✨ Features
      1. 🧾 Player Summary
      2. 🔝 Top Champions
      3. 🎯 Champion Mastery
      4. 🕹️ Recent Matches
      5. 📊 Match Summary
    2. 🚀 Quick Start
      1. 1. Clone & Install
      2. 2. Get Your API Key and Set Environment
      3. 3. Configure MCP Client
    3. 🛠️ Tools
      1. get_player_summary
      2. get_top_champions_tool
      3. get_champion_mastery_tool
      4. get_recent_matches_tool
      5. get_match_summary
    4. 📚 References
      1. 📝 License
        ID: wsfq3bz3x6