BoardGameGeek 标志

BoardGameGeek

社区
kkjdaniel

BGG MCP provides access to BoardGameGeek and a variety of board game related data through the Model Context Protocol. Enabling retrieval and filtering of board game data, user collections, and profiles.

发布者kkjdaniel
代码仓库bgg-mcp
语言Go
复刻数
14
星标数
53
可用工具
0
传输类型streamable-http
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    BoardGameGeek 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 53 个星标和 14 个复刻。

BGG MCP provides access to the BoardGameGeek API through the Model Context Protocol, enabling retrieval and filtering of board game data, user collections, and profiles. The server is implemented in Go, using the GoGeek library, which helps ensure robust API interactions.

Price data is provided by BoardGamePrices.co.uk, offering real-time pricing from multiple retailers.

Game recommendations are powered by Recommend.Games, which provides algorithmic similarity recommendations based on BoardGameGeek data.

Demo

Rules Tool Demo Video

▶️ Watch the Rules Tool Demo Video

Tools

Core Tools

ToolDescription
bgg-searchSearch for board games with type filtering (base games, expansions, or all)
bgg-detailsGet detailed information about a specific board game
bgg-collectionQuery and filter a user's game collection with extensive filtering options
bgg-hotGet the current BGG hotness list
bgg-userGet user profile information
bgg-priceGet current prices from multiple retailers using BGG IDs
bgg-trade-finderFind trading opportunities between two BGG users
bgg-recommenderGet game recommendations based on similarity to a specific game
bgg-thread-detailsGet the full content of a specific BGG forum thread including all posts

🧪 Experimental Tools

ToolDescription
bgg-rulesAnswer rules questions by searching BGG forums for relevant discussions and clarifications

Resources

BGG MCP exposes resources that AI assistants can access directly for contextual information:

ResourceURIDescription
BGG Hotnessbgg://hotnessCurrent BGG hotness list, always available
My BGG Collectionbgg://my-collectionYour personal BGG collection (requires BGG_USERNAME to be set)

Prompts

BGG MCP includes pre-configured prompts for common workflows:

PromptDescription
Trade Sales PostGenerate a formatted sales post for your BGG 'for trade' collection with discounted market prices
Game RecommendationsGet personalized game recommendations based on your BGG collection and preferences

Example Prompts

Here are some example prompts you can use to interact with the BGG MCP tools:

🔍 Search

"Search for Wingspan on BGG"
"How many expansions does Grand Austria Hotel have?"
"Search for Wingspan expansions only"

📊 Game Details

"Get details for Azul"
"Show me information about game ID 224517"
"What's the BGG rating for Gloomhaven?"

📚 Collection

"Show me ZeeGarcia's game collection"
"Show games rated 9+ in kkjdaniel's collection"
"List unplayed games in rahdo's collection"
"Find games for 6 players in kkjdaniel's collection"
"Show me all the games rated 3 and below in my collection"
"What games in my collection does rahdo want?"
"What games does kkjdaniel have that I want?"

🔥 Hotness

"Show me the current BGG hotness list"
"What's trending on BGG?"

👤 User Profile

"Show me details about BGG user rahdo"
"When did user ZeeGarcia join BGG?"
"How many buddies do I have on bgg?"

💰 Prices

"Get the best price for Wingspan in GBP"
"Show me the best UK price for Ark Nova"
"Compare prices for: Wingspan & Ark Nova"

🎯 Recommendations

"Recommend games similar to Wingspan"
"What games are like Azul but with at least 1000 ratings?"
"Find 5 games similar to Troyes"

📖 Rules (Experimental)

"[Your rules question about any board game] - use bgg-rules"
"How does [game mechanic] work in [game name]? use bgg-rules"
"Can I [specific action] in [game name]? use bgg-rules"
"What happens when [situation] in [game name]? use bgg-rules"

Note: Include "use bgg-rules" in your question to ensure the AI searches BGG forums for answers.

Installation

Authentication Required: Most BGG MCP tools require authentication to access BoardGameGeek's API. See the Configuration section below for setup instructions.

A) Docker (Recommended)

BGG MCP is published to Docker Hub and listed on the MCP Registry. Add the following to your claude_desktop_config.json (Claude Desktop) or settings.json (VS Code / Cursor):

json
"bgg": {
    "command": "docker",
    "args": ["run", "-i", "--rm",
        "-e", "BGG_API_KEY",
        "-e", "BGG_USERNAME",
        "kdaniel/bgg-mcp"
    ],
    "env": {
        "BGG_API_KEY": "your_api_key_here",
        "BGG_USERNAME": "your_bgg_username"
    }
}

See Configuration below for details on obtaining a BGG API key and setting up your username.

For more details on connecting MCP servers to your client, see the official MCP guide.

B) Manual Setup

1. Install Go

You will need to have Go installed on your system to build binary. This can be easily downloaded and setup here, or you can use the package manager that you prefer such as Brew.

2. Build

The project includes a Makefile to simplify building and managing the binary.

bash
# Build the application (output goes to build/bgg-mcp)
make build

# Clean build artifacts
make clean

# Both clean and build
make all

Or you can simply build it directly with Go...

bash
go build -o build/bgg-mcp

3. Add MCP Config

In the settings.json (VS Code / Cursor) or claude_desktop_config.json add the following to your list of servers, pointing it to the binary you created earlier, once you load up your AI tool you should see the tools provided by the server connected:

json
"bgg": {
    "command": "path/to/build/bgg-mcp",
    "args": ["-mode", "stdio"]
}

More details for configuring Claude can be found here.

Configuration

Authentication

BGG MCP uses the GoGeek v3 library, which requires authentication for access to BoardGameGeek's API.

You can configure authentication using either BGG_API_KEY (recommended) or BGG_COOKIE:

Authentication Setup

Option 1: API Key (Recommended)

Get an API key from BoardGameGeek's API application form and add it to your configuration:

json
"bgg": {
    "env": {
        "BGG_API_KEY": "your_api_key_here"
    }
}
Option 2: Cookie Authentication

Alternatively, you can use cookie-based authentication:

json
"bgg": {
    "env": {
        "BGG_COOKIE": "bggusername=user; bggpassword=pass; SessionID=xyz"
    }
}

Note: If both are provided, BGG_API_KEY will be used by default.

Username Configuration

You can optionally set the BGG_USERNAME environment variable to enable "me" and "my" references in queries without needing to explicitly state your username:

json
"bgg": {
    "env": {
        "BGG_USERNAME": "your_bgg_username",
        "BGG_API_KEY": "your_api_key_here"
    }
}

This enables:

  • Collection queries: "Show my collection" instead of specifying your username
  • User queries: "Show my BGG profile"
  • AI assistance: The AI can automatically use your username for comparisons and analysis

Note: When you use self-references (me, my, I) without setting BGG_USERNAME, you'll get a clear error message.

安装

TypingMind
{
  "mcpServers": {
    "boardgamegeek": {
      "url": "https://server.smithery.ai/@kkjdaniel/bgg-mcp/mcp",
      "env": null
    }
  }
}

将 BoardGameGeek MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 BoardGameGeek 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 在 TypingMind 中,您可以使用远程托管的 MCP 服务器的 URL 连接此 MCP 服务。

添加 MCP 服务器 URL

如果 BoardGameGeek 已托管在远程服务器上,或您的团队希望让多个用户共用一个连接器,请选择此方式。

1

打开 MCP 连接器

在 TypingMind 中,前往“插件”,打开“MCP 连接器”,然后选择“添加 URL”。

  1. 在您的浏览器中打开 TypingMind。
  2. 进入“插件”。
  3. 打开“MCP 连接器”。
  4. 点击“添加 URL”。
TypingMind 的“添加自定义 MCP 服务器 URL”表单
2

粘贴服务器 URL

在“服务器 URL”字段中输入 https://server.smithery.ai/@kkjdaniel/bgg-mcp/mcp。根据服务器要求,添加连接名称、描述、图标、自定义 HTTP 请求头或 OAuth 客户端设置。

  1. 将 https://server.smithery.ai/@kkjdaniel/bgg-mcp/mcp 粘贴到“服务器 URL”字段中。
  2. 为 BoardGameGeek 输入连接名称。
  3. 您可以添加描述和图标,以便更容易识别此连接。
  4. 如果服务器需要身份验证,请添加自定义 HTTP 请求头或 OAuth 客户端信息。
3

创建连接

点击“创建连接”,然后返回插件列表,确认新的 MCP 连接处于可用状态。

  1. 点击“创建连接”。
  2. 返回 MCP 连接器列表。
  3. 确认列表中的 BoardGameGeek 连接显示为可用状态。
  4. 如果连接未立即出现,请刷新插件列表。
4

切换模型,无需重新连接

使用您偏好的模型开始聊天,在“插件”中启用 BoardGameGeek 工具,并根据需要随时切换到其他模型。该 MCP 连接在 TypingMind 工作区中仍然可用。

  1. 在 TypingMind 中开始新聊天。
  2. 选择您想使用的 AI 模型。
  3. 在“插件”中启用 BoardGameGeek 工具。
  4. 需要时,请让模型使用该工具。
  5. 切换到其他 AI 模型,继续使用同一个 MCP 连接。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 BoardGameGeek 帮我完成这项任务吗?
BoardGameGeek
当然,我看过了。
以下是我使用 BoardGameGeek 得到的结果。

常见问题

BoardGameGeek MCP 服务器有什么用途?

BoardGameGeek 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 BoardGameGeek MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 BoardGameGeek。

为什么在 TypingMind 中使用 BoardGameGeek MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 BoardGameGeek 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 BoardGameGeek MCP 连接到 TypingMind?

要连接 BoardGameGeek,请在 TypingMind 中添加该远程 MCP 服务器的 URL。如果您希望在 TypingMind 工作区中使用远程 MCP 连接,这种方式很适合。

BoardGameGeek MCP 在 TypingMind 中提供哪些工具?

BoardGameGeek 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 BoardGameGeek MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 BoardGameGeek 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇