MCP server exposing DriveThruRPG product search (library and catalog) as a tool
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"dtrpg-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# dtrpg-mcp An [MCP](https://modelcontextprotocol.io) server that lets an LLM search your [DriveThruRPG](https://www.drivethrurpg.com) library and the public DriveThruRPG catalog for tabletop RPG products, returning structured details (title, description, publisher, authors, game system, and DriveThruRPG product id) for each match. It speaks MCP over **stdio** and exposes two tools: `search_library` (your purchased products) and `search_products` (the general public catalog). ## Requirements - Python >= 3.12 - A DriveThruRPG **Application Key** (see [Getting an API key](#getting-a-drivethrurpg-api-key) below) ## Installation ```bash pip install dtrpg-mcp ``` or, to run it without installing anything permanently: ```bash uvx dtrpg-mcp ``` ## Configuration The server needs one environment variable: | Variable | Required | Description | | ---------------- | -------- | ------------------------------------------------------------------------ | | `DTRPG_API_KEY` | Yes | Your DriveThruRPG Application Key, used to authenticate against the API. | You can set it directly in your shell/MCP client config, or drop a `.env` file next to your project (the server walks up from its own install location looking for `.env`, so a `.env` in your working directory or a parent of it will be picked up automatically via `python-dotenv`). ### Getting a DriveThruRPG API key 1. Log in to [drivethrurpg.com](https://www.drivethrurpg.com). 2. Go to **My Account -> Application Keys** (or open `https://www.drivethrurpg.com/en/account/application-keys` directly). 3. Click **Generate New Key**, give it a name (e.g. "dtrpg-mcp"), and create it. 4. Copy the generated key — this is your `DTRPG_API_KEY`. The key only grants access to your library and to the public product catalog search; it does not expose your payment details or let anything make purchases on your behalf. ## Using it with an MCP client Add it …
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.