Skip to main content

MCP server for querying RPGGeek product search and metadata

Project description

rpggeek-mcp

An MCP (Model Context Protocol) server for querying RPGGeek — the RPG section of the BoardGameGeek network. Connect it to Claude Desktop (or any MCP client) to let an AI assistant look up RPG products by name or ISBN and retrieve detailed product information.

Unofficial community project. Not affiliated with or endorsed by RPGGeek.

Tools

find_candidates

Searches RPGGeek for RPG products matching a name and/or ISBN. Returns up to 5 candidates.

Parameters (at least one required):

Parameter Type Description
name string Product name to search for
isbn string ISBN (any format)

Strategy: if an ISBN is provided it is tried first; the name is used as a fallback if the ISBN search returns no results.

Returns: a list of up to 5 candidates, each with:

  • rpggeek_id — RPGGeek's numeric item ID (shared with BoardGameGeek and VideoGameGeek)
  • name — primary product name
  • year_published — publication year, or null

Results are scoped to RPG items only. An empty list means nothing was found. Pass rpggeek_id from a candidate to get_product_details to retrieve full data.


get_product_details

Returns full structured data for a known RPGGeek item.

Parameters:

Parameter Type Description
rpggeek_id integer RPGGeek's numeric item ID

Returns:

Field Type Description
rpggeek_id integer
name string Primary product name
year_published integer | null
description string | null Full product description
systems string[] RPG systems (e.g. "Dungeons & Dragons 5E")
categories string[] Product categories (e.g. "Core Rulebook", "Adventure/Scenario")
designers string[] Designer names
publishers string[] Publisher names
thumbnail_url string | null Cover thumbnail URL
rating number | null Average community rating

Requirements

  • uv must be installed. Python is managed automatically by uv.
  • A bearer token for the RPGGeek XML API. Obtain one by logging in to your BGG/RPGGeek account and submitting an application at boardgamegeek.com/applications/create.

Installation

1. Create a .env file in the repo root (or any ancestor directory of where the server is installed):

cp .env.example .env
# then edit .env and set your bearer token
RPGGEEK_BEARER_TOKEN=your_bearer_token_here

2. Run the server — no cloning or venv management required with uvx:

uvx rpggeek-mcp serve

To install permanently as a tool:

uv tool install rpggeek-mcp
rpggeek-mcp serve

Connecting to Claude Desktop

Add the server to your Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "rpggeek": {
      "command": "uvx",
      "args": ["rpggeek-mcp", "serve"],
      "env": {
        "RPGGEEK_BEARER_TOKEN": "your_bearer_token_here"
      }
    }
  }
}

Restart Claude Desktop after saving. The RPGGeek tools will appear in the tool picker.

Usage example

Once connected, you can ask Claude things like:

"Find the RPGGeek entry for Dungeon Crawl Classics"

Claude will call find_candidates to get a list of matches, then get_product_details on the best one to pull full metadata.

Running the server manually

uv run rpggeek-mcp serve

The server speaks the MCP protocol over stdio and is designed to be launched by an MCP client rather than run interactively. Logs are written to logs/rpggeek_mcp.log.

Development

Run tests:

uv run pytest

Type-check:

uv run ty check

Lint and format:

uv run ruff check .
uv run ruff format .

Notes

  • Uses the RPGGeek XML API 2. A bearer token is required; see Requirements above.
  • Requests are rate-limited to 1 per second to respect the API's usage guidelines.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rpggeek_mcp-0.1.0.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rpggeek_mcp-0.1.0-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file rpggeek_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: rpggeek_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for rpggeek_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4286c44448bfa4dccf5ab38f586b1c2ecadd96d67af913bd2fff7896ba8d1e39
MD5 6a27d7314e18e8018684f4627d098966
BLAKE2b-256 9e0c4f659da4495a4ddb48bffbe885fd4b58a29cdc426f71fc52e5ce30cbf9cb

See more details on using hashes here.

File details

Details for the file rpggeek_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rpggeek_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for rpggeek_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 194af698c2b87e353a1822e53346b73dcd615187f600b20580d4c75c196594d1
MD5 749a1f831d59eb1fcc7b5b56817a31bd
BLAKE2b-256 b3a8994bcbc711e625510ad5f64d231dddbb6fa2c61c02cf9573d4874b60ebc1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page