MCP Riot Server
Integrates with the Riot Games API to provide League of Legends data to AI assistants.
MCP Riot Server
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.
Demo
โจ Features
๐งพ Player Summary
"What's the current rank and top champions of Hide on bush?"
Provides the player's:
- Level
- Ranked Solo Tier
- Top champion masteries
- Recent match history
๐ Top Champions
"What champions is he best at?"
Returns the top N champions based on mastery points.
๐ฏ Champion Mastery
"How good is this player with Ahri?"
Returns detailed champion mastery data for a specific champion.
๐น๏ธ Recent Matches
"Show the last 3 matches for this summoner"
Lists recent matches including champion used, K/D/A, and result.
๐ Match Summary
"Summarize this match for a given match ID"
Returns the playerโs match stats, such as KDA, damage, wards, and result.
๐ Quick Start
1. Clone & Install
git clone https://github.com/jifrozen0110/mcp-riot.git
cd mcp-riot
# Install dependencies (using uv or pip)
uv sync
2. Get Your API Key and Set Environment
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/
3. Configure MCP Client
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"
]
}
}
}
๐ ๏ธ Tools
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.
๐ References
๐ License
MIT License ยฉ 2025 jifrozen0110
Related Servers
Eyevinn Open Source Cloud
Interact with the Eyevinn Open Source Cloud API. Requires a Personal Access Token (OSC_ACCESS_TOKEN).
Terrakube MCP Server
Manage Terrakube workspaces, variables, modules, and organizations.
Remote MCP Server on Cloudflare
A remote MCP server deployable on Cloudflare Workers with OAuth login support for both local development and remote deployment.
Edgee MCP Server
Manage organizations, projects, components, and users via the Edgee API.
Cloudflare MCP Server
A self-hostable MCP server for deployment on Cloudflare Workers using Durable Objects.
Remote MCP Server (Authless)
A remote MCP server without authentication, deployable on Cloudflare Workers.
Akash MCP Server
An MCP server for interacting with the Akash Network, a decentralized cloud computing marketplace.
Dataproc MCP Server
An MCP server for managing Google Cloud Dataproc operations and big data workflows, with seamless integration for VS Code.
SolarWinds Logs
Access and visualize logs from SolarWinds Observability.
Cloudflare Remote MCP Server (Authless)
Deploy a remote, authentication-free MCP server on Cloudflare Workers or locally via npm.
