MCP Server League of Legends
@andraderaul
a MCP server to lol esport information
概览
What is MCP Server League of Legends?
MCP Server League of Legends is a Model Context Protocol server that provides real-time access to League of Legends esports data, including live matches, schedules, leagues, event details, and VODs. It is built for developers and esports enthusiasts who want to integrate LoL esports information into AI assistants or other applications.
How to use MCP Server League of Legends?
Install the server by cloning the repository, running npm install, and copying .env.example to .env. Configure your League of Legends esports API key and base URL in the .env file. Build with npm run build and start with npm start. For use with Cursor, set up the .cursor/mcp.json file as shown in the README.
Key features of MCP Server League of Legends
- Real-time LoL esports schedule and live matches
- Detailed event and league information
- Match VODs retrieval
- Upcoming matches and live team scores
- Multi-language support (12 locales)
- Configurable HTTP timeout and API key validation
Use cases of MCP Server League of Legends
- Building an AI assistant that can answer “What LoL matches are live right now?”
- Integrating esports schedules and results into a Discord bot or dashboard
- Automatically fetching VOD links for past events
- Creating a chatbot that provides team‑specific live scores
FAQ from MCP Server League of Legends
What data does MCP Server League of Legends provide?
It provides live matches, schedules, leagues, event details, match VODs, upcoming matches, and live team scores – all from the official League of Legends esports API.
How do I get an API key?
The README does not specify how to obtain an API key; you must provide your own LOL_API_KEY in the .env file. The server connects to https://esports-api.lolesports.com.
What languages are supported?
The server supports 12 languages: en‑US, es‑ES, fr‑FR, de‑DE, it‑IT, pt‑BR, ru‑RU, tr‑TR, ja‑JP, ko‑KR, zh‑CN, and zh‑TW.
How do I run the server in Cursor?
Configure .cursor/mcp.json with the command, args, cwd, and env settings as shown in the README, replacing the path with your project directory.
What runtime and dependencies are required?
Node.js is required (npm commands imply Node.js). The server is built with TypeScript and uses environment variables for configuration. No other runtime dependencies are mentioned.