MCP Riot Server

MCP Riot Server

A community-developed Model Context Protocol server that integrates with the Riot Games API to provide League of Legends data, enabling AI assistants to retrieve player information, ranked stats, champion mastery, and match summaries through natural language queries.

Category
Visit Server

README

MCP Riot Server

smithery badge

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.


✨ 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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured