Skip to main content
Glama

MCP Riot Server

by jifrozen0110

MCP Riot 服务器

**MCP-Riot 是一个社区开发的模型上下文协议 (MCP)服务器,它与 Riot Games API 集成,**通过自然语言查询向 AI 助手提供英雄联盟数据。

该项目使人工智能模型能够检索玩家信息、排名统计数据、冠军掌握情况和最近的比赛摘要。

**免责声明:*本项目为开源项目,与 Riot Games 并无关联,亦未获得其任何认可。*英雄联盟® 是 Riot Games, Inc. 的注册商标。


演示

mcp-riot-lol

✨ 特点

🧾 玩家概要

“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 的比赛表现统计数据。


📚 参考文献


📝 许可证

麻省理工学院许可证 © 2025 jifrozen0110

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

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

社区开发的模型上下文协议服务器与 Riot Games API 集成以提供英雄联盟数据,使 AI 助手能够通过自然语言查询检索玩家信息、排名统计数据、冠军掌握情况和比赛摘要。

  1. 演示
    1. ✨ 特点
      1. 🧾 玩家概要
      2. 🔝 顶级冠军
      3. 🎯 冠军精通
      4. 🕹️ 最近的比赛
      5. 📊 比赛概要
    2. 🚀 快速入门
      1. 克隆并安装
      2. 获取 API 密钥并设置环境
      3. 配置 MCP 客户端
    3. 🛠️ 工具
      1. get_player_summary
      2. get_top_champions_tool
      3. get_champion_mastery_tool
      4. get_recent_matches_tool
      5. get_match_summary
    4. 📚 参考文献
      1. 📝 许可证

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that enables language models to interact with Strava data, including activities, athlete statistics, routes, achievements, and social features.
          Last updated -
          2
          Python
          MIT License
          • Linux
          • Apple
        • -
          security
          F
          license
          -
          quality
          Model Context Protocol server that enables LLMs and AI assistants to retrieve real-time Dota 2 statistics, match data, player information, and game metrics through a standardized interface.
          Last updated -
          4
          Python
          • Linux
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that provides access to Fantasy Premier League data, allowing users to compare players, find team information, view gameweek data, and get FPL-related advice through Claude for Desktop and other MCP-compatible clients.
          Last updated -
          7
          Python
          MIT License
          • Apple
        • -
          security
          A
          license
          -
          quality
          Model Context Protocol server for interacting with the HaloPSA API, enabling AI assistants like Claude to manage tickets, users, and assets in HaloPSA through natural language.
          Last updated -
          74
          JavaScript
          MIT License
          • Apple
          • Linux

        View all related MCP servers

        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/jifrozen0110/mcp-riot'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server