New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

opentdb-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opentdb-mcp

Trivia questions, quizzes and categories - no API key.

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

opentdb-mcp

Trivia questions, quizzes and categories - no API key.

Tools

  • list_categories — Every trivia category with the numeric id used by the other tools.
  • category_counts — How many questions a category holds, split by difficulty. Useful before requesting a quiz.
  • global_counts — How many questions the whole trivia database holds, overall and per category name.
  • get_questions — Fetch trivia questions with their answers as structured data, for your own formatting.
  • quiz — A ready-to-read quiz: numbered questions with options and an answer key at the end. Filter by category and difficulty.
  • session_token — Get or reset a session token. Pass it to quiz or get_questions so the same question is never served twice.
  • compare_categories — Put two categories side by side: total questions, the easy/medium/hard split with shares, and which of the pair is deeper in hard questions.
  • quiz_readiness — Pre-flight a planned quiz: does this category hold enough questions at that difficulty for the amount asked, and what is the largest amount it can serve if not.
  • category_quality — Rank categories by their share of human-verified questions and show pending and rejected counts, so a quiz is not built from a poorly reviewed category.

Setup

No setup. Questions come from the public Open Trivia DB API.

Part of awesome-mcps.

Premium tools

These tools need a license key:

  • quiz_exploitability
  • distractor_quality

Buy a key at https://mcp-marketplace.io/server/io-github-mrfentmen-opentdb-mcp and set it in your MCP client config:

"env": { "MCP_LICENSE_KEY": "mcp_live_..." }

The key is checked against MCP Marketplace, cached for 24 hours, and keeps working offline once one check has succeeded. Every other tool on this server stays free.

Keywords

trivia

FAQs

Package last updated on 28 Sep 2026

Related posts