Open Trivia Database Connector for AI agents.
6 live capabilities
Generate high-quality trivia quizzes and educational study materials across hundreds of categories.
Waiting for input…
Why people use Open Trivia Database
OpenTrivia for Educational Quiz Generation
With the OpenTrivia MCP, that entire process disappears. Your agent connects directly to a massive library of verified questions. You just tell it what category or difficulty you want, and it pulls the data instantly. You get a polished, ready-to-use quiz in seconds without ever opening a spreadsheet.
What Vinkius changes
Your agent gets instant access to a massive, verified library of trivia questions without any manual data entry.
Use it from Claude, ChatGPT, Cursor or another AI client you already have.
One account · 5,900+ Connectors
- Real-world use case 01
Instant classroom quizzes
A teacher needs 10 medium-difficulty science questions for a 5th-grade class right now.
- Real-world use case 02
Content variety checks
A trivia app developer wants to make sure their history category has enough variety.
- Real-world use case 03
Bot session management
A Discord bot owner wants to prevent people from seeing the same questions twice.
Complete set · 6capabilities
The complete Open Trivia Database capability set.
These are the exact actions your AI can choose when you ask it to work with Open Trivia Database.
01—03
3 capabilities in this set.
Part of 6 available through Open Trivia Database.
- 01 Capability
Reset token
Reset a session token to start a new quiz. Use this when a user wants to play the same category again.
- 02 Capability
Get questions
Retrieve trivia questions using filters like difficulty and type. This is how you pull the actual content for a quiz.
- 03 Capability
Request token
Retrieve a session token to manage your quiz. This prevents the agent from repeating questions during a single session.
04—06
3 capabilities in this set.
Part of 6 available through Open Trivia Database.
- 04 Capability
Get categories
Look up all available trivia categories. This helps you see what topics are ready for a quiz.
- 05 Capability
Get category count
Get the total question count for a specific category. Use this to see if a topic has enough variety.
- 06 Capability
Get global count
Get the global question count for the entire database. This helps you see the total scope of available content.
Set up in minutes
One URL. Then ask Open Trivia Database to work.
Claude and ChatGPT only need the Connector URL. Copy it once, add it in settings, and use Open Trivia Database from the conversation.
Choose your client
Live previewAdvanced clients IDE · CLI
Claude · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_B9DZyIRNJqckSjVl5xjofWQ84WFnYPALVWC9Xgbn/mcp - Step 01
Open Connectors
In Claude Web or Claude Desktop, open Settings and choose Connectors.
- Step 02
Add the URL
Choose Add custom connector, name it Open Trivia Database, and paste the URL above.
- Step 03
Turn it on in chat
Select +, open Connectors, and enable Open Trivia Database for the conversation.
ChatGPT · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_B9DZyIRNJqckSjVl5xjofWQ84WFnYPALVWC9Xgbn/mcp - Step 01
Open MCP settings
On desktop, open Settings and MCP servers. On web, open your workspace app or connector settings.
- Step 02
Add the URL
Choose Add server with Streamable HTTP, or create a custom MCP app, then paste the Open Trivia Database URL.
- Step 03
Save and start
Save the connection and enable Open Trivia Database in your conversation. Desktop may ask you to restart once.
Cursor · IDE configuration
Advanced setup
{
"mcpServers": {
"opentrivia": {
"url": "https://edge.vinkius.com/vk_preview_B9DZyIRNJqckSjVl5xjofWQ84WFnYPALVWC9Xgbn/mcp"
}
}
} - Step 01
Open MCP Settings
Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) → search "MCP Settings"
- Step 02
Add the server config
Paste the JSON configuration above into the mcp.json file that opens
- Step 03
Save the file
Cursor will automatically detect the new Connector
- Step 04
Start using Open Trivia Database
Open Agent mode in chat and ask: "Using Open Trivia Database, help me...". 6 tools available
VS Code Copilot · IDE configuration
Advanced setup
{
"mcpServers": {
"opentrivia": {
"url": "https://edge.vinkius.com/vk_preview_B9DZyIRNJqckSjVl5xjofWQ84WFnYPALVWC9Xgbn/mcp"
}
}
} - Step 01
Create MCP config
Create a .vscode/mcp.json file in your project root
- Step 02
Add the server config
Paste the JSON configuration above
- Step 03
Enable Agent mode
Open GitHub Copilot Chat and switch to Agent mode using the dropdown
- Step 04
Start using Open Trivia Database
Ask Copilot: "Using Open Trivia Database, help me...". 6 tools available
Windsurf · IDE configuration
Advanced setup
{
"mcpServers": {
"opentrivia": {
"url": "https://edge.vinkius.com/vk_preview_B9DZyIRNJqckSjVl5xjofWQ84WFnYPALVWC9Xgbn/mcp"
}
}
} - Step 01
Open MCP Settings
Go to Settings → MCP Configuration or press Cmd+Shift+P and search "MCP"
- Step 02
Add the server
Paste the JSON configuration above into mcp_config.json
- Step 03
Save and reload
Windsurf will detect the new server automatically
- Step 04
Start using Open Trivia Database
Open Cascade and ask: "Using Open Trivia Database, help me...". 6 tools available
Cline · IDE configuration
Advanced setup
{
"mcpServers": {
"opentrivia": {
"url": "https://edge.vinkius.com/vk_preview_B9DZyIRNJqckSjVl5xjofWQ84WFnYPALVWC9Xgbn/mcp"
}
}
} - Step 01
Open Cline MCP Settings
Click the Connectors icon in the Cline sidebar panel
- Step 02
Add remote server
Click "Add Connector" and paste the configuration above
- Step 03
Enable the server
Toggle the server switch to ON
- Step 04
Start using Open Trivia Database
Ask Cline: "Using Open Trivia Database, help me...". 6 tools available
Claude Code · Terminal command
Advanced setup
claude mcp add opentrivia --transport http "https://edge.vinkius.com/vk_preview_B9DZyIRNJqckSjVl5xjofWQ84WFnYPALVWC9Xgbn/mcp" - Step 01
Install Claude Code
Run npm install -g @anthropic-ai/claude-code if not already installed
- Step 02
Add the Connector
Run the command above in your terminal
- Step 03
Verify the connection
Run claude mcp to list connected servers, or type /mcp inside a session
- Step 04
Start using Open Trivia Database
Ask Claude: "Using Open Trivia Database, show me...". 6 tools are ready
Where the request belongs
Work Open Trivia Database can move forward.
This is for creators who need high-quality, diverse content quickly. It's for the game dev tired of hardcoding questions and the teacher who needs a fresh quiz in seconds.
Game Developer
Building a trivia app and needs a way to pull thousands of questions without maintaining a massive CSV file.
Educator
Creating study materials for 30 different subjects and needs to generate instant practice questions for students.
Content Creator
Building a trivia bot for a Discord or Telegram community and needs to keep the content fresh and varied.
Build the capability set
Add more capabilities.
Each Connector adds new actions and data without changing how you work.
Browse ConnectorsOpen Trivia Database
Access 13,000+ community-curated trivia questions from OpenTDB � filter by category, difficulty, and type with session-based deduplication.
Trivia Quiz Generator
Generate random trivia quiz questions by category, difficulty, and tags � perfect for games, education, and interactive content.
Jservice
Access the Jeopardy! clue database. fetch clues by category, value, or date, and get random trivia for your AI agent.
Random Facts API
Access thousands of interesting facts. audit random data via AI.
Deterministic EdTech Quiz Scorer
Transform your AI into a ruthless, high-precision EdTech examiner. Automatically cross-reference quiz answers against weighted keys to generate granular performance metrics instantly.
Uselessfacts
Access a vast database of quirky, useless facts to entertain, break the ice, or learn something new every day.
Bring your own AI
Change the model, client or framework. Keep Open Trivia Database connected.
-
Claude -
ChatGPT -
Gemini -
Cursor -
VS Code -
Windsurf -
ZCode -
Cline -
Zed -
Continue -
Kiro -
Roo Code -
Zencoder -
Goose -
Void -
Augment Code -
Amp -
Qodo -
Tabnine -
Pieces -
Sourcegraph Cody -
JetBrains -
Warp -
Amazon Q -
Antigravity -
BoltAI -
Raycast -
Jan -
LM Studio -
AnythingLLM -
Open WebUI -
Msty -
Cherry Studio -
LibreChat -
TypingMind -
Chorus -
5ire -
n8n -
LangChain -
LlamaIndex -
CrewAI -
Vercel AI SDK
Before you connect
Questions about Open Trivia Database.
The practical details behind the request, access and result.
Can I use OpenTrivia MCP to build a trivia app?
Yes, it's perfect for that. It lets your agent pull questions from a huge database so you don't have to build one yourself.
Does OpenTrivia MCP let me filter by difficulty?
Yes, you can specify easy, medium, or hard questions when you ask your agent to fetch them.
Will the questions repeat in my quiz?
Not if you use the session token features. The Connector keeps track of what's been asked so your users get fresh content every time.
What kinds of subjects are covered?
It covers a huge range, including science, history, entertainment, and much more.
Can I use this for classroom learning?
Absolutely. It's a great way to generate instant study guides or classroom quizzes on any of the supported topics.
How does OpenTrivia MCP handle new users?
The Connector manages session tokens to ensure that each user interaction feels fresh and unique.
How do I ensure I don't get the same trivia question twice?
First, use the request_token capability to generate a session token. Then, include this token in your get_questions requests. The API will track your history and exclude previously seen questions for 6 hours.
How can I find the ID for a specific category like 'Science & Nature'?
Use the get_categories capability. It returns a complete list of all available trivia categories along with their unique numerical IDs, which you can then use to filter your questions.
Is there a way to check how many questions are available in a specific category?
Yes, use the get_category_count capability and provide the category ID. It will return the total number of questions available for that specific topic, including difficulty breakdowns.
One connection away
Give your agent a direct line to Open Trivia Database.
Connect Open Trivia Database once. Keep it beside 5,900+ managed Connectors when the next task needs more.
Explore every Connector No credit card required · Free tier available