trivia-mcp-server
Connects Kiro to the Open Trivia Database to fetch real quiz questions, categories, and stats for building interactive quiz applications.
README
š§ 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.
š ļø Tools
| Tool | Description |
|---|---|
get_trivia_questions |
Fetch random trivia questions by difficulty (easy/medium/hard) |
list_trivia_categories |
List all 24 available quiz categories |
get_category_stats |
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.