Looks up League of Legends players by game name, and fetches match history and match details through the Riot Games API.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add league-data --env API='<API>' -- uvx league-data-mcp@latest~/.codex/config.toml
[mcp_servers.league-data]
command = "uvx"
args = ["league-data-mcp@latest"]
env = { API = "<API>" }
# codex mcp add league-data --env API='<API>' -- uvx league-data-mcp@latest~/.cursor/mcp.json
{
"mcpServers": {
"league-data": {
"command": "uvx",
"args": [
"league-data-mcp@latest"
],
"env": {
"API": "<API>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"league-data": {
"type": "stdio",
"command": "uvx",
"args": [
"league-data-mcp@latest"
],
"env": {
"API": "<API>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"league-data": {
"command": "uvx",
"args": [
"league-data-mcp@latest"
],
"env": {
"API": "<API>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"league-data": {
"command": "uvx",
"args": [
"league-data-mcp@latest"
],
"env": {
"API": "<API>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"league-data": {
"command": "uvx",
"args": [
"league-data-mcp@latest"
],
"env": {
"API": "<API>"
}
}
}
}Environment variables
API
Replace the placeholders with your own credentials and keep them out of version control.