mcpField
M
MCP Server League of Legends

MCP Server League of Legends

Local
github.com/andraderaulGames & Entertainment1Updated 73w ago

About MCP Server League of Legends

An MCP server that provides real-time League of Legends esports information, including matches, schedules, leagues, events, and VODs. It is for clients that need structured esports data, with tools for live scores and upcoming matches.

Key features

  1. 01Retrieve esports schedules and upcoming matches
  2. 02View live matches and team scores
  3. 03List leagues by region
  4. 04Get event details and match VODs
  5. 05Support multiple response languages

Use cases

  1. 01Check current match status and scores
  2. 02Plan around upcoming esports matches
  3. 03Look up event details or match VODs

MCP support

The server exposes League of Legends esports data through tools that MCP clients can call, using the League of Legends esports API.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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:

🔧 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 LICENSE file for details.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.