
OP.GG Esports MCP Server

2025.04.05
4
TypeScript电子竞技数据英雄联盟娱乐功能
OP.GG Esports MCP Server 是一个基于 Model Context Protocol 的实现,旨在无缝连接 OP.GG Esports 数据与 AI 代理和平台。该服务使 AI 代理能够通过函数调用获取即将到来的英雄联盟比赛赛程和信息。
View on GitHub
Overview
基本能力
产品定位
OP.GG Esports MCP Server 是一个专门为英雄联盟电子竞技数据提供标准化接口的服务,旨在帮助 AI 代理和平台轻松获取和处理比赛信息。
核心功能
- get-lol-matches: 获取并格式化来自 OP.GG Esports 的即将到来的英雄联盟比赛赛程
- 返回比赛名称、联赛、状态、比分、预定时间和比赛直接链接
- 以清晰、结构化的格式返回数据,便于 AI 使用
适用场景
- AI 代理需要获取最新的英雄联盟比赛信息
- 平台需要集成英雄联盟电子竞技数据
- 开发者需要为 AI 模型提供结构化的比赛数据
工具列表
- get-lol-matches: 获取即将到来的英雄联盟比赛赛程,返回格式化后的比赛信息
常见问题解答
- 无明确常见问题解答部分
使用教程
使用依赖
无明确前置依赖要求
安装教程
通过 Smithery 安装
npx -y @smithery/cli install @opgginc/esports-mcp --client claude
使用 npm/pnpm
# 安装依赖
pnpm install
# 构建项目
pnpm build
运行服务器
使用 pnpm
# 在 stdio 上启动 MCP 服务器
pnpm start
直接使用 Node.js
# 使用 Node.js 启动
node dist/index.js
使用 npx
# 直接使用 npx 运行
npx -y @opgg/esports-mcp
添加到 MCP 配置
在 MCP 配置文件中添加以下条目:
{
"mcpServers": {
"opgg-esports": {
"command": "node",
"args": ["/path/to/esports-mcp/dist/index.js"]
}
}
}
或使用 npm 包:
{
"mcpServers": {
"opgg-esports": {
"command": "npx",
"args": ["-y", "@opgg/esports-mcp"]
}
}
}
调试方式
列出可用工具
{ "type": "list_tools" }
获取比赛赛程
{
"type": "tool_call",
"tool_call": {
"name": "get-lol-matches"
}
}