GitHub - opgginc/opgg-mcp (original) (raw)

OP.GG MCP Server

smithery badge

The OP.GG MCP Server is a Model Context Protocol implementation that seamlessly connects OP.GG data with AI agents and platforms. This server enables AI agents to retrieve various OP.GG data via function calling.

opgg-mcp-lol-leaderboard opgg-mcp-esports

Overview

This MCP server provides AI agents with access to OP.GG data through a standardized interface. It offers a simple way to connect to our remote server (https://mcp-api.op.gg/mcp), allowing for easy installation and immediate access to OP.GG data in a format that's easily consumable by AI models and agent frameworks.

Features

The OP.GG MCP Server currently supports the following tools:

League of Legends

Esports (League of Legends)

Teamfight Tactics (TFT)

Valorant

Usage

The OP.GG MCP Server can be used with any MCP-compatible client. The following content explains installation methods using Claude Desktop as an example.

Direct Connection via StreamableHttp

If you want to connect directly to our StreamableHttp endpoint, you can use the supergateway package. This provides a simple way to connect to our remote server without having to install the full OP.GG MCP Server.

Add the following to your claude_desktop_config.json file:

Mac/Linux

{ "mcpServers": { "opgg-mcp": { "command": "npx", "args": [ "-y", "supergateway", "--streamableHttp", "https://mcp-api.op.gg/mcp" ] } } }

Windows

{ "mcpServers": { "opgg-mcp": { "command": "cmd", "args": [ "/c", "npx", "-y", "supergateway", "--streamableHttp", "https://mcp-api.op.gg/mcp" ] } } }

This configuration will use the supergateway package to establish a direct connection to our StreamableHttp endpoint, providing you with immediate access to all OP.GG data tools.

Installing via Smithery

To install OP.GG MCP for Claude Desktop automatically via Smithery:

$ npx -y @smithery/cli@latest install @opgginc/opgg-mcp --client claude --key {SMITHERY_API_KEY}

Adding to MCP Configuration

To add this server to your Claude Desktop MCP configuration, add the following entry to your claude_desktop_config.json file:

Mac/Linux

{ "mcpServers": { "opgg-mcp": { "command": "npx", "args": [ "-y", "@smithery/cli@latest", "run", "@opgginc/opgg-mcp", "--key", "{SMITHERY_API_KEY}" ] } } }

Windows

{ "mcpServers": { "opgg-mcp": { "command": "cmd", "args": [ "/c", "npx", "-y", "@smithery/cli@latest", "run", "@opgginc/opgg-mcp", "--key", "{SMITHERY_API_KEY}" ] } } }

After adding the configuration, restart Claude Desktop for the changes to take effect.

License

This project is licensed under the MIT License - see the LICENSE file for details.