Skip to main content
Glama
OP.GG MCP Server

OP.GG MCP Server

Official
by opgginc

OP.GG MCP服务器

铁匠徽章

OP.GG MCP 服务器是一个模型上下文协议 (MCP) 实现,可将 OP.GG 数据与 AI 代理和平台无缝连接。该服务器允许 AI 代理通过函数调用检索各种 OP.GG 数据。

opgg-mcp-lol-排行榜opgg-mcp-电子竞技

概述

此 MCP 服务器通过标准化接口为 AI 代理提供访问 OP.GG 数据的权限。它提供了一种连接到我们远程服务器 ( https://mcp-api.op.gg/mcp/sse ) 的简便方法,从而轻松安装并立即以 AI 模型和代理框架易于处理的格式访问 OP.GG 数据。

Related MCP server: MCP Riot Server

特征

OP.GG MCP 服务器目前支持以下工具:

英雄联盟

  • lol-champion-analysis :获取特定冠军的分析数据

  • lol-champion-leader-board :获取冠军的排名

电子竞技(英雄联盟)

  • esports-lol-schedules :获取即将举行的英雄联盟比赛日程

  • esports-lol-team-standings :获取英雄联盟战队排名

云顶之弈(TFT)

  • tft-meta-trend-deck-list :TFT 卡牌列表工具,用于检索当前元卡牌

  • tft-meta-item-combinations :用于检索有关物品组合和配方信息的 TFT 工具

  • tft-champion-item-build :TFT 用于检索冠军物品构建信息的工具

  • tft-recommend-champion-for-item :TFT 工具,用于检索特定物品的冠军推荐

  • tft-play-style-comment :此工具提供有关 TFT 冠军游戏风格的评论

勇敢者

  • valorant-meta-maps :Valorant 地图元数据

  • valorant-meta-characters : Valorant 角色元数据

  • valorant-leaderboard :按地区获取 Valorant 排行榜

  • valorant-agents-composition-with-map :检索 Valorant 地图的代理组成数据

  • valorant-characters-statistics :检索 Valorant 的角色统计数据,可选择按地图过滤

  • valorant-player-matches :使用游戏名称和标语检索 Valorant 玩家的比赛历史记录

用法

OP.GG MCP 服务器可与任何兼容 MCP 的客户端配合使用。以下内容以 Claude Desktop 为例,讲解安装方法。

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 OP.GG MCP:

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

添加到 MCP 配置

要将此服务器添加到您的 Claude Desktop MCP 配置中,请将以下条目添加到您的claude_desktop_config.json文件中:

Mac/Linux

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

视窗

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

添加配置后,重新启动 Claude Desktop 以使更改生效。

通过 SSE 直接连接

如果您想直接连接到我们的 SSE 端点,可以使用mcp-remote软件包。这提供了一种简单的方法连接到我们的远程服务器,而无需安装完整的 OP.GG MCP 服务器。

将以下内容添加到您的claude_desktop_config.json文件中:

Mac/Linux

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

视窗

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

此配置将使用mcp-remote包与我们的 SSE 端点建立直接连接,让您立即访问所有 OP.GG 数据工具。

列出可用工具

{
  "method": "tools/list",
  "params": {}
}

回复:

{
  "tools": [
    {
      "name": "lol-champion-analysis",
      "description": "Fetch analysis data for a specific champion"
    },
    {
      "name": "lol-champion-leader-board",
      "description": "Fetch that champion's rank"
    },
    {
      "name": "esports-lol-schedules",
      "description": "Get upcoming LoL match schedules"
    },
    {
      "name": "esports-lol-team-standings",
      "description": "Get team standings for a LoL league"
    },
    {
      "name": "tft-meta-trend-deck-list",
      "description": "TFT deck list tool for retrieving current meta decks"
    },
    {
      "name": "tft-meta-item-combinations",
      "description": "TFT tool for retrieving information about item combinations and recipes"
    },
    {
      "name": "tft-champion-item-build",
      "description": "TFT tool for retrieving champion item build information"
    },
    {
      "name": "tft-recommend-champion-for-item",
      "description": "TFT tool for retrieving champion recommendations for a specific item"
    },
    {
      "name": "tft-play-style-comment",
      "description": "This tool provides comments on the playstyle of TFT champions"
    },
    {
      "name": "valorant-meta-maps",
      "description": "Valorant map meta data"
    },
    {
      "name": "valorant-meta-characters",
      "description": "Valorant character meta data"
    },
    {
      "name": "valorant-leaderboard",
      "description": "Fetch Valorant leaderboard by region"
    },
    {
      "name": "valorant-agents-composition-with-map",
      "description": "Retrieve agent composition data for a Valorant map"
    },
    {
      "name": "valorant-characters-statistics",
      "description": "Retrieve character statistics data for Valorant, optionally filtered by map"
    },
    {
      "name": "valorant-player-matches",
      "description": "Retrieve match history for a Valorant player using their game name and tag line"
    }
  ]
}

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。

相关链接

Available Tools

24 tools
esports-lol-schedulesB
Read-only

Get upcoming LoL match schedules.

Inputs: no named parameters.

esports-lol-team-standingsB
Read-only

Get team standings for a LoL league.

Inputs: shortName (required).

lol-brawl-champion-tier-rankB
Read-only

Retrieves champion tier ranking list in brawl mode.

Inputs: lang (required).

lol-champion-analysisA
Read-only

Retrieves very detailed information about a specific champion, such as win rate, pick rate, recommended builds, recommended skill order, recommended items, etc. If a user mentions a specific champion, you must always call this function, review the data, and then respond. If the user asks some tips during playing game, you should also occasionally call this function to advice how to play the game well. If the users asks like 'what items should I buy?', 'which skill should I level up?', also you need to call this function to see the high winrate champions. (Counter Picks ban/pick data is available in the weakCounters field). You must assume the position user want to know.

Inputs: champion (required), game_mode (required), lang (required), position (required).

lol-champion-leader-boardB
Read-only

Retrieves the leaderboard of master players who play a specific champion well. You can also look up the high ranked players, like the high winrate 5 players in #1-#30, to retrieve their champion performance or recent match history to teach how to play the champions.

Inputs: champion (required), region (required).

lol-champion-meta-dataB
Read-only

Retrieves meta data for a specific champion, including statistics and performance metrics.

Inputs: champion (required), lang (required).

lol-champion-metadata-resourcesA
Read-onlyIdempotent

Retrieves metadata for all League of Legends champions with localized names and keys in CSV format. Returns champion_id, key, and name for all champions in the specified language.

Inputs: lang (required).

lol-champion-positions-dataB
Read-only

Retrieves the analytics of champions by each positions. You can also look up the winrate, banrate, plays, wins, kills, kda and etc. tier_data is champion tier which tells which champion is powerful (OP) or not, for example tier 1 champion is easy to play and powerful champion. (You can recommend this champion to the user if they want recommandation)

Inputs: lang (required), format.

lol-champion-skin-saleB
Read-only

Retrieves information about champion skins that are currently on sale.

Inputs: lang (required).

lol-summoner-game-historyA
Read-only

Retrieves the recent match history of a specific summoner. If a user mentions a specific summoner, wants to know about their recent matches, wants to know how to improve or wants to get an advice, you must always call this function.

Inputs: game_name (required), lang (required), region (required), tag_line (required).

lol-summoner-renewalA
Read-only

Renew the summoner's data of OP.GG through RiotAPI. When you retrieve summoner data, you must always call this function first, and then call the next functions.

Inputs: game_name (required), region (required), tag_line (required).

tft-augments-metadata-resourcesA
Read-onlyIdempotent

Retrieves metadata for all Teamfight Tactics augments with localized names and descriptions in CSV format. Returns apiName, desc, name, tier, and imageUrl for all augments in the specified language.

Inputs: lang (required).

tft-champion-item-buildB
Read-only

TFT tool for retrieving champion item build information.

Inputs: championId (required).

tft-meta-item-combinationsB
Read-only

TFT tool for retrieving information about item combinations and recipes.

Inputs: language.

tft-meta-trend-deck-listB
Read-only

TFT deck list tool for retrieving current meta decks.

Inputs: no named parameters.

tft-play-style-commentB
Read-only

This tool provides comments on the playstyle of TFT champions.

Inputs: puuid (required), region (required).

tft-recommend-champion-for-itemB
Read-only

TFT tool for retrieving champion recommendations for a specific item.

Inputs: itemId (required).

valorant-agents-composition-with-mapB
Read-only

Retrieve agent composition data for a Valorant map.

Inputs: mapId (required).

valorant-characters-statisticsA
Read-only

Retrieve character statistics data for Valorant, optionally filtered by map.

Inputs: mapId.

valorant-leaderboardB
Read-only

Fetch Valorant leaderboard by region

Inputs: region (required).

valorant-meta-charactersC
Read-only

Valorant character meta data

Inputs: no named parameters.

valorant-meta-mapsC
Read-only

Valorant map meta data

Inputs: no named parameters.

valorant-player-match-historyB
Read-only

Retrieve match history for a Valorant player using their game name and tag line.

Inputs: gameName (required), tagLine (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 24 tools

    Disambiguation4/5

    Most tools have distinct purposes, but some overlap exists within game-specific categories. For example, 'lol-champion-analysis' and 'lol-champion-positions-data' both provide champion performance insights, which could cause confusion. However, descriptions clarify their focuses—detailed builds vs. positional analytics—helping agents differentiate.

    Naming Consistency4/5

    Tools follow a consistent prefix-suffix pattern (e.g., 'lol-', 'tft-', 'valorant-') with descriptive names, but there are minor deviations like 'esports-lol-schedules' vs. 'lol-summoner-game-history' where 'esports-' and 'summoner-' prefixes vary. Overall, naming is readable and mostly predictable across the set.

    Tool Count3/5

    With 24 tools, the count is borderline high for a single server covering multiple games (LoL, TFT, Valorant). While each game domain is well-represented, the total feels heavy and could overwhelm agents, suggesting the server might benefit from being split into more focused components.

    Completeness5/5

    The tool set provides comprehensive coverage for each game domain, including data retrieval, analysis, and meta information. For LoL, it covers champions, summoners, and esports; for TFT, augments, builds, and decks; for Valorant, agents, maps, and player stats. No obvious gaps are present, enabling agents to handle varied queries effectively.

    Maintenance

    ActivitySlowing
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers