tabletopdb
Provides tools for interacting with the BoardGameGeek XML API2, including searching the BGG catalogue, retrieving game details and user collections, checking the hot list, viewing user profiles, finding trades, generating category-based recommendations, fetching game descriptions/rules info, and reading forum thread details.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
tabletopdb
BoardGameGeek tools for agents: search the BGG catalogue, pull game details and collections, check the hot list, find trades, and get recommendations — all through the public BoardGameGeek XML API2.
tabletopdb is a clean-room rebuild of the documented bgg-mcp tool
set (originally by kkjdaniel), written fresh from its public README
tool list. It reproduces the tool surface and the request/response
handling against the BGG XML API2; it does not copy the original
project's code.
One bin serves two faces:
a small CLI:
tabletopdb <tool-name> '<json-arguments>'a stdio MCP server:
tabletopdb mcp
Requirements
Node.js 20 or newer.
A BoardGameGeek API key in the environment:
export BGG_API_KEY="your-bgg-api-key"Every call sends Authorization: Bearer $BGG_API_KEY. When the key is
missing or blank, calls fail with an error naming BGG_API_KEY before
any request is made.
Optional environment variables:
BGG_API_URL— override the API base (defaulthttps://boardgamegeek.com/xmlapi2).BGG_USERNAME— your BGG username; enrichesbgg-priceidentity output only.
Related MCP server: boardgames
CLI usage
Tool names are hyphenated, exactly as documented:
tabletopdb bgg-search '{"query":"Catan"}'
tabletopdb bgg-details '{"id":13}'
tabletopdb bgg-collection '{"username":"someuser"}'
tabletopdb bgg-hot '{}'
tabletopdb bgg-user '{"username":"someuser"}'
tabletopdb bgg-price '{"id":13}'
tabletopdb bgg-trade-finder '{"username":"someuser","maxResults":10}'
tabletopdb bgg-recommender '{"id":13,"limit":5}'
tabletopdb bgg-rules '{"id":13}'
tabletopdb bgg-thread-details '{"threadId":123456}'
tabletopdb --versionExit codes: 0 success, 1 API/validation error, 2 usage error
(unknown command or malformed JSON arguments).
MCP usage
npx -y @reneturcios/tabletopdb mcpMCP client config:
{
"mcpServers": {
"tabletopdb": {
"command": "npx",
"args": ["-y", "@reneturcios/tabletopdb", "mcp"],
"env": { "BGG_API_KEY": "your-bgg-api-key" }
}
}
}Docker:
docker run -i -e BGG_API_KEY="your-bgg-api-key" ghcr.io/cloudcorprecords/tabletopdb
docker run --rm -e BGG_API_KEY="your-bgg-api-key" ghcr.io/cloudcorprecords/tabletopdb bgg-hot '{}'Tools
BGG answers in XML; responses are converted to JSON by a small
built-in parser (attributes become fields, repeated elements become
arrays, element text is kept under a value key where mixed).
Tool | Arguments | What it does |
|
| Search BGG by name. |
|
| Full thing details with stats ( |
|
| A user's owned collection ( |
|
| The current BGG hot list. |
|
| A BGG user profile. |
|
| Resolves the game's identity via BGG and returns |
|
| Collection items whose status is marked |
|
| Category heuristic: takes the game's first category, searches it, and returns up to |
|
|
|
|
| A forum thread with its parsed articles. |
Gaps
bgg-priceis an identity shaping, not a price feed: the original project resolves prices through external price sources that its README does not specify, so this rebuild returns the BGG-resolved identity with an emptyprice_sourceslist and an explicit note.bgg-rulesis an info shaping for the same reason: it returns the game's description and canonical BGG page; the full rules live in the files and wiki on that page.bgg-recommenderis a labelled category heuristic (shared first category, source game excluded), not a learned recommendation model.The collection HTTP 202 semantics are simplified to a single
{status: "accepted", note}object; callers poll by retrying.No live BGG call was made while building this package; behaviour is verified against fake-fetch fixtures only.
Development
npm install
npm run build # tsc -> dist/
npm test # node test runner over test/*.test.ts, fake fetch only, no network
npm run dev # run the CLI from source via tsxLicense
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Web data for agents. Extract web pages, crawl websites, discover URLs, and search the web.
Web search and page reading for AI agents, including JSON APIs, RSS feeds and YouTube.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Give your agent live data from Twitter, Reddit, the web and GitHub. No API keys, no scraping stack.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that integrates with the BoardGameGeek XML API, allowing Claude to search for board games, retrieve game details, and access user collections.1-
- AlicenseNot gradedqualityCmaintenanceEnables users to search and retrieve board game data via the Board Game Atlas API, including game details, ratings, and availability.3 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to recommend Steam games from natural language by searching games, finding similar titles, filtering by tags and platform, and retrieving detailed game metadata.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search and retrieve video game information from the IGDB catalog, including games, platforms, companies, release dates, ratings, and cover art.451 npm2MIT