trivia-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@trivia-mcp-server list all trivia categories"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π§ Trivia Quiz MCP Server for Kiro
A custom MCP server that connects Kiro to the Open Trivia Database (https://opentdb.com/) β giving Kiro the ability to fetch real quiz questions, categories, and stats to build interactive quiz applications.
π What It Connects To
Open Trivia Database (opentdb.com) β a free, real API with 4,000+ trivia questions across 24 categories. No API key required.
Related MCP server: quiz-it
π οΈ Tools
Tool | Description |
| Fetch random trivia questions by difficulty (easy/medium/hard) |
| List all 24 available quiz categories |
| Get question count stats per category |
π― What I Built With It
An interactive HTML trivia quiz app that Kiro builds using real data from the MCP server β fetching live questions, showing multiple choice options, tracking score, and displaying results. This is only possible because of the MCP integration β without it, Kiro has no access to trivia data.
π₯ Demo Video
π οΈ Setup
Prerequisites
Node.js 18+
Kiro (latest version)
Installation
git clone https://github.com/Sankar2316/trivia-mcp-server.git cd trivia-mcp-server npm install npm run build
No API Key Needed! π
Open Trivia DB is completely free β no signup, no authentication.
Configure in Kiro
The .kiro/settings/mcp.json is already included. Just open this folder in Kiro and the MCP server auto-connects.
Test
npx @modelcontextprotocol/inspector node dist/index.js
π Project Structure
trivia-mcp-server/ βββ .kiro/ β βββ settings/ β βββ mcp.json βββ src/ β βββ index.ts βββ dist/ βββ package.json βββ tsconfig.json βββ README.md
π License
MIT
Available Tools
2 toolsget_trivia_questionsA
Get random trivia quiz questions from Open Trivia Database
Inputs: amount (required), difficulty.
list_trivia_categoriesA
List all available trivia quiz categories
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: one retrieves random questions, the other lists categories. No ambiguity.
Both tools follow a consistent verb_noun pattern: get_trivia_questions, list_trivia_categories.
With only 2 tools, the server feels thin. While it covers basic functionality, the small number is borderline for a trivia server.
The server lacks the ability to get questions filtered by category or difficulty, making the category list standalone and less useful. Notable missing operations.
Maintenance
Related MCP Connectors
Trivia MCP β wraps Open Trivia Database (free, no auth)
Human-checked quiz questions with answers by category and difficulty, from Open Trivia DB
MCP server for trivia: 1.4M+ questions (EN+PL), 24 categories, 12 tools + 4 prompts, OAuth 2.1.
Create, edit and publish scored quizzes and read results from any MCP client. Free plan included.
Related MCP Servers
- AlicenseCqualityDmaintenanceAn MCP server that enables users to retrieve trivia questions and answers across various categories through the API-Ninjas Trivia API. It supports customizable result limits and filtering by categories like science, history, and entertainment.1MIT
- AlicenseNot gradedqualityDmaintenanceProvides 100 IT/programming quiz questions with tools to retrieve questions by category, get random questions, check answers, and list categories, usable via Claude Desktop MCP or REST API.511 npmMIT
- AlicenseNot gradedqualityCmaintenanceWraps the Open Trivia Database to provide trivia categories and questions via MCP tools.279 npmMIT
- AlicenseNot gradedqualityFmaintenanceEnables users to fetch number trivia, historical date facts, math properties, and random number facts through the NumbersAPI.1 npmMIT