MCP Riot Server

by jifrozen0110

Integrations

  • Retrieves League of Legends player data including ranked stats, champion mastery, and match history through the Riot Games API, enabling natural language querying of player information and game performance.

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

-
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.

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.

  1. Demo
    1. ✨ Features
      1. 🧾 Player Summary
      2. 🔝 Top Champions
      3. 🎯 Champion Mastery
      4. 🕹️ Recent Matches
      5. 📊 Match Summary
    2. 🚀 Quick Start
      1. 1. Clone & Install
      2. 2. Get Your API Key and Set Environment
      3. 3. Configure MCP Client
    3. 🛠️ Tools
      1. get_player_summary
      2. get_top_champions_tool
      3. get_champion_mastery_tool
      4. get_recent_matches_tool
      5. get_match_summary
    4. 📚 References
      1. 📝 License

        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

        ID: wsfq3bz3x6