Vinkius
OpenTrivia

OpenTrivia MCP for AI. Generate fresh quizzes across any subject.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

OpenTrivia MCP on Cursor AI Code EditorOpenTrivia MCP on Claude Desktop AppOpenTrivia MCP on OpenAI Agents SDKOpenTrivia MCP on Visual Studio CodeOpenTrivia MCP on GitHub Copilot AI AgentOpenTrivia MCP on Google Gemini AIOpenTrivia MCP on Lovable AI DevelopmentOpenTrivia MCP on Mistral AI AgentsOpenTrivia MCP on Amazon AWS Bedrock

How this MCP server connects to your AI agent

OpenTrivia gives you immediate access to a massive database of trivia questions. Use it to pull quizzes by category, filter by difficulty (easy/hard), or manage session tokens so your AI agent never repeats a question.

You can also check global stats or discover every available knowledge area with simple tool calls.

What AI agents can do with OpenTrivia Automation

Get categories

Looks up and returns a list of all potential quiz categories available in the database.

Get category count

Retrieves the total number of questions written for a specific category ID you provide.

Get global count

Returns the overall count of all questions across every single category in the database.

+ 3 more capabilities included
Discover all available topics

Run get_categories to list every quiz topic currently in the database.

Check question volume per category

Use get_category_count to find out exactly how many questions exist for a specific knowledge area.

Pull a quiz set

Execute get_questions with filters (amount, difficulty, category) to retrieve the actual trivia content.

Ensure unique questions

Call request_token to get a session ID that prevents your agent from reusing old quiz material for six hours.

View global stats

Get an aggregate count of all verified and pending questions across the entire database using get_global_count.

Included with Plan

Waiting for input…

AI Agent

What AI agents can do with OpenTrivia MCP Server: 6 Tools for Quiz Management

Use these tools to look up topics, count question sets, pull specific quiz data, and keep your trivia sessions fresh with token management.

Make your AI actually useful.

Add this MCP to Claude, Cursor, or Windsurf and your AI stops guessing. It gets real tools to look things up, take action, and handle the stuff you keep doing by hand.

Start using OpenTrivia on Vinkius

Get Categories

Looks up and returns a list of all potential quiz categories available in the database.

Get Category Count

Retrieves the total number of questions written for a specific category ID you...

Get Global Count

Returns the overall count of all questions across every single category in the...

Get Questions

Pulls a set of trivia questions based on specific criteria like difficulty, amount...

Request Token

Generates a new session token for your quiz to prevent the same questions from...

Reset Token

Manually resets an existing session token, useful if you need to restart a quiz cycle immediately.

Security and governance baked right in.

Pick your AI client below to get set up. Just create a Vinkius account, subscribe, and you're instantly up and running. We handle the entire backend infrastructure, delivering out-of-the-box support for HTTPS Streamable, SSE, and OAuth2—zero messy routing required.

Claude AI

Claude AI

1

Open Claude Settings

Go to claude.ai, click your profile icon, then navigate to Customize → Connectors.

2

Add Custom Connector

Click the "+" button and select Add custom connector. Paste your Vinkius endpoint URL:

https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp

Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. For OAuth-protected servers, expand Advanced settings to add credentials.

3

Start a conversation

Open a new chat. The OpenTrivia integration is available immediately — no restart needed.

Choose How to Get Started

Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.

Build Your Own

Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.

  • Import from OpenAPI, Swagger, or YAML specs
  • Create Agent Skills with progressive disclosure
  • Deploy to edge with MCPFusion framework
  • Built in DLP, auth, and compliance on every call
  • Real time usage dashboard and cost metering
  • Publish to catalog or keep private
Start building

Make Your AI Do More

Start with OpenTrivia, then connect any of our 5,100+ other servers whenever your AI needs more. One click, no limits.

  • Use this MCP plus 5,100+ others, all in one place
  • Add new capabilities to your AI anytime you want
  • Every connection is secured and compliant automatically
  • Track usage and costs across all your servers
  • Works with Claude, ChatGPT, Cursor, and more
  • New servers added to the catalog every week
OpenTrivia MCP server cover

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Open Trivia Database. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

VINKIUS INFRASTRUCTURE

Cloud Hosted

Managed infra

V8 Isolated

Sandboxed per request

Zero-Trust Proxy

No stored credentials

DLP Enforced

Policy on every call

GDPR Compliant

EU data residency

Token Compression

~60% cost reduction

Your data is protected. See how we built it.

Built on the Model Context Protocol (MCP) for Claude, ChatGPT, Cursor, and more

The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.

This connection provides 6 powerful capabilities that interface natively with Claude, ChatGPT, Cursor, and other compatible AI platforms. No middleware. No custom integration required.

Building quizzes and tests used to involve jumping between databases, spreadsheets, and multiple API calls., Solved with Vinkius AI Gateway

Remember the old way? You'd pull a list of topics from one service. Then you'd have to manually check another system—maybe a separate database—just to see how many questions were available for that topic. If you needed 50 questions, you’d start pulling them, but if your session timed out or the data was stale, you had to stop and restart the whole process.

With OpenTrivia MCP Server, it's direct. Your agent handles the flow: first, check topics with `get_categories`. Next, grab a fresh token using `request_token`. Then, just ask for the quiz set via `get_questions`, and you get the structured data right in your chat interface.

OpenTrivia MCP Server: Get unique quizzes with `get_questions`

The biggest time sink used to be managing question uniqueness. You'd run a quiz, and half the questions were repeats from last week’s test. Then you had to manually pause everything and reset your session key just to start over.

Now? It’s built-in. By calling `request_token` or `reset_token`, you guarantee that every subsequent call to `get_questions` pulls fresh, unique data for a controlled quiz cycle. The process is fast and reliable.

What your AI can actually do with this

Listen up. If you're building anything that needs actual trivia—the good stuff, the random facts people actually remember—you need this server. It gives your AI client direct access to a massive quiz database. Forget relying on canned content; here’s how you pull real-world knowledge for quizzes and tests.

To get started, you gotta know what's available. You run get_categories and it spits out every single topic in the whole damn thing. That list tells you all the buckets of knowledge—history, pop culture, science, ya know—so you can decide where to focus your quiz.

Once you've picked a category, you gotta check the volume before you commit. You use get_category_count with that specific ID and it’ll tell you exactly how many questions are sitting there for that topic. Wanna know if 'Film Noir' has ten solid questions or five hundred? This tool tells ya.

If you need a big-picture view, you can run get_global_count, which gives you the total question count across every single category in the entire database.

Now, for the actual quiz content. You execute get_questions and you pass it filters: how many questions you want (the amount), what difficulty level you're aiming for (easy, medium, or hard), and which topic ID you found earlier. This pull gives your agent a structured set of trivia ready to go.

It’s the core function; it delivers the content.

But here's the kicker: nobody wants their quiz repeating 'Who was the first president?' three times in a row, right? To keep things fresh, you call request_token. This generates a brand-new session token for your quiz. Using this token ensures that your agent won't reuse old questions—it keeps the content unique for six hours of active quizzing.

If you need to manually force a restart or if something goes sideways with the token flow, you use reset_token to wipe out the existing session ID and start fresh.

You stack these tools together: You run get_categories first; that tells you what topics exist. Then, your agent pulls a new guardrail using request_token, getting that unique session ID. After that, it runs get_questions, feeding in the category filter, the desired difficulty, and the fresh token ID. That workflow gives you reliable, non-repeating quiz material.

If you're building an educational tool or a trivia night experience, this server manages all the mechanics. You don't just get questions; you get controlled access to massive, filtered databases of facts. It’s how you ensure that your AI client always has fresh content and can precisely measure the depth of knowledge available in each niche topic.

Built · Hosted · Managed by Vinkius OpenTrivia MCP Server - Generate Quizzes & Test Questions
Server ID 019e5d40-f37c-710a-8e6c-c1076a9f4e94
Vinkius Inspector
Compliance Grade F
Score 3.6/100
Vinkius Inspector Badge — Score 3.6/100

Questions you might have

How do I find out what topics are available using get_categories? +

You call the get_categories tool. It returns a full list of all quiz categories, including their names and unique IDs. Use these IDs to filter your questions later.

What is the difference between request_token and reset_token? +

request_token gets you a fresh session token when you start a new quiz. reset_token forces an immediate token renewal, letting you restart a running session without waiting for inactivity.

How many questions can I get with get_questions? +

You can request up to 50 questions in one call when using get_questions. Make sure to specify the desired amount and difficulty level.

Can I check how many questions are available for a specific topic? +

Yes. Use the get_category_count tool, passing it the category ID you found with get_categories. This tells you the total content depth.

How do I find the total number of questions available across all categories using get_global_count? +

The tool provides a single, real-time count of every question in the entire database. This is useful for understanding the overall scale of knowledge before targeting specific topics.

If my session token expires or becomes invalid, what should I do to continue using get_questions? +

You must call request_token() first to generate a fresh session key. Once you have the new token, use it with your subsequent calls to ensure continuous access.

What is the practical difference between calling request_token and reset_token? +

Requesting a token generates a brand-new one when there’s no active session. Resetting forces an immediate renewal, effectively kicking out the old key without waiting for the 6-hour inactivity window.

What happens if I try to retrieve more than 50 questions using get_questions? +

The system limits retrievals to a maximum of 50 questions per call. If you need a larger quiz, run the tool multiple times or adjust your agent's workflow to handle data in chunks.

How do I ensure I don't get the same trivia question twice? +

First, use the request_token tool 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 tool. 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 tool and provide the category ID. It will return the total number of questions available for that specific topic, including difficulty breakdowns.

Built & Managed by Vinkius 30s setup 6 tools

We've already built the connector for OpenTrivia. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 6 tools are live and waiting. You're up and running in seconds.

Vinkius runs on Claude Claude
Vinkius runs on ChatGPT ChatGPT
Vinkius runs on Cursor Cursor
Vinkius runs on Gemini Gemini
Vinkius runs on Windsurf Windsurf
Vinkius runs on VS Code VS Code
Vinkius runs on JetBrains JetBrains
Vinkius runs on Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.