MCP.so
登录

MCP Riot Server

@jifrozen0110

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

jifrozen0110

关于 MCP Riot Server

League of Legends MCP Server

MCP Riot Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-riot": {
      "command": "uv",
      "args": [
        "sync"
      ]
    }
  }
}

MCP Riot Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Riot Server?

MCP Riot Server is a community-developed Model Context Protocol server that integrates with the Riot Games API to provide League of Legends data to AI assistants via natural language queries. It enables AI models to retrieve player information, ranked stats, champion mastery, and recent match summaries.

How to use MCP Riot Server?

Clone the repository, install dependencies with uv sync, obtain a Riot API key from developer.riotgames.com, and create a .env file with RIOT_API_KEY. Configure your MCP client (e.g., Claude for Desktop) to point to the server script with the absolute path and the .env file.

Key features of MCP Riot Server

  • Player summary: level, rank, top champions, recent matches
  • Top champions by mastery points
  • Champion mastery data for a specific champion
  • Recent matches with champion, K/D/A, result
  • Match summary with KDA, damage, wards, result

Use cases of MCP Riot Server

  • Ask "What's the current rank and top champions of Hide on bush?" for a full player overview.
  • Query "What champions is he best at?" to see top mastery champions.
  • Inquire "How good is this player with Ahri?" for champion-specific mastery.
  • Request "Show the last 3 matches for this summoner" to get recent match details.
  • Summarize a specific match using its match ID.

常见问题

1

How do I get a Riot API key?

You can get your API key from https://developer.riotgames.com/ and set it in the `.env` file as `RIOT_API_KEY`.

2

What tools does MCP Riot Server expose?

The server provides five tools: `get_player_summary`, `get_top_champions_tool`, `get_champion_mastery_tool`, `get_recent_matches_tool`, and `get_match_summary`.

3

Is MCP Riot Server affiliated with Riot Games?

No, this is an open‑source project not affiliated with or endorsed by Riot Games. League of Legends® is a registered trademark of Riot Games, Inc.

4

What are the runtime requirements?

It requires Python with `uv` (or pip), a MCP-compatible client, and a valid Riot API key stored in a `.env` file.

5

How do I configure MCP Riot Server with Claude for Desktop?

Edit `claude_desktop_config.json` to use the `uv` binary with the `--directory` pointing to the project folder, `--env-file` pointing to `.env`, and `run server.py`. See the README for an example absolute path.

评论

其他 分类下的更多 MCP 服务器