by jifrozen0110
Provides League of Legends player stats, champion mastery, recent match history, and match summaries to AI assistants through natural‑language queries.
Mcp Riot Server enables AI models to query Riot Games’ public API for detailed League of Legends data such as player rank, top champions, mastery information, recent matches, and match‑by‑match performance.
uv
)..env
file and set RIOT_API_KEY
with a key obtained from the Riot Developer Portal.get_player_summary
– level, rank, top champions, recent matches.get_top_champions_tool
– list of champions ordered by mastery points.get_champion_mastery_tool
– detailed mastery stats for a specific champion.get_recent_matches_tool
– recent match list with champion, K/D/A, result.get_match_summary
– comprehensive stats for a given match ID and puuid.MCP-Riot is a community-developed Model Context Protocol (MCP) server that integrates with the Riot Games API to provide League of Legends data to AI assistants via natural language queries.
This project enables AI models to retrieve player information, ranked stats, champion mastery, and recent match summaries.
Disclaimer: 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.
"What's the current rank and top champions of Hide on bush?"
Provides the player's:
"What champions is he best at?"
Returns the top N champions based on mastery points.
"How good is this player with Ahri?"
Returns detailed champion mastery data for a specific champion.
"Show the last 3 matches for this summoner"
Lists recent matches including champion used, K/D/A, and result.
"Summarize this match for a given match ID"
Returns the player’s match stats, such as KDA, damage, wards, and result.
git clone https://github.com/jifrozen0110/mcp-riot.git
cd mcp-riot
# Install dependencies (using uv or pip)
uv sync
Create .env
file with your Riot API key:
RIOT_API_KEY=your_riot_api_key
You can get your key from https://developer.riotgames.com/
Register this server in your MCP client (e.g., Claude for Desktop).
Edit ~/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"
]
}
}
}
Replace
/ABSOLUTE/PATH/TO/PARENT/FOLDER/
with the actual path to your project folder.
my case:
{
"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"
]
}
}
}
The following tools will be exposed to MCP clients:
get_player_summary
Summarizes level, rank, top champions, and recent matches.
get_top_champions_tool
Returns top champions by mastery points.
get_champion_mastery_tool
Returns mastery details for a specific champion.
get_recent_matches_tool
Returns recent matches for the given summoner.
get_match_summary
Returns match performance stats for a given match ID and puuid.
MIT License © 2025 jifrozen0110
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "mcp-riot": { "command": "uv", "args": [ "--directory", "<PROJECT_ROOT>/src", "run", "--env-file", "<PROJECT_ROOT>/.env", "server.py" ], "env": { "RIOT_API_KEY": "<YOUR_API_KEY>" } } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.