mcp-server-lol

andraderaul/mcp-server-lol

3.2

If you are the rightful owner of mcp-server-lol and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

MCP Server for League of Legends provides real-time access to esports data, including live matches, schedules, and event details.

Tools
7
Resources
0
Prompts
0

MCP Server League of Legends

MCP (Model Context Protocol) server to access League of Legends esports data in real-time. Provides information about live matches, schedules, leagues, event details, and VODs through a standardized interface.

🚀 Quick Start

1. Installation

# Clone and install dependencies
npm install

# Configure environment variables
cp .env.example .env

2. Configuration

Edit the .env file with your settings:

# League of Legends eSports API Configuration
LOL_API_BASE_URL=https://esports-api.lolesports.com
LOL_API_KEY=your_api_key_here

# Server Configuration
HTTP_TIMEOUT=10000

3. Build and Run

# Build
npm run build

# Run
npm start

# Or development with watch mode
npm run dev

⚙️ Cursor Configuration

To use this MCP server in Cursor, configure the .cursor/mcp.json file:

{
  "mcpServers": {
    "league-of-legends": {
      "command": "node",
      "args": ["./dist/index.js"],
      "cwd": "/path/to/your/mcp-server-lol",
      "env": {
        "NODE_ENV": "production",
        "LOL_API_BASE_URL": "https://esports-api.lolesports.com",
        "LOL_API_KEY": ""
      }
    }
  }
}

Note: Replace /path/to/your/mcp-server-lol with the actual project path on your system.

🛠️ Available Tools

ToolDescriptionParameters
get-scheduleLoL esports schedulelanguage, leagueId (optional)
get-live-matchesLive matcheslanguage
get-leaguesAvailable leagueslanguage, region (optional)
get-event-detailsSpecific event detailseventId, language
get-match-vodsMatch VODseventId, language
get-upcoming-matchesUpcoming matcheslanguage, limit
get-live-match-scoreLive team scoresteamName, language

Supported Languages

en-US, es-ES, fr-FR, de-DE, it-IT, pt-BR, ru-RU, tr-TR, ja-JP, ko-KR, zh-CN, zh-TW

📚 Documentation

For detailed information about features, architecture, and advanced usage:

  • - Detailed feature descriptions and prompt templates
  • - Complete documentation of all tools and parameters
  • - Architecture, tech stack, and development workflow

🔧 NPM Scripts

ScriptDescription
npm run buildCompile TypeScript to JavaScript
npm run devDevelopment with watch mode
npm startRun the compiled server
npm run lintRun code linting
npm run formatFormat code with Biome
npm run checkComplete lint + format

🔒 Security

  • All sensitive configurations are loaded via environment variables
  • .env file included in .gitignore
  • Mandatory validation of critical variables
  • Configurable timeouts for HTTP requests

📄 License

GPL-3.0 - see the file for details.