Skip to main content

MCP server for PlayQuizNow — create and manage quizzes from AI tools like Claude Desktop

Project description

PlayQuizNow MCP Server

PyPI License: MIT

An MCP (Model Context Protocol) server for PlayQuizNow — the online quiz platform for education, training, and live events.

This server lets AI assistants like Claude Desktop, Claude Code, and other MCP-compatible tools create and manage quizzes directly on PlayQuizNow.

What can it do?

Tool Description
create_quiz Create a quiz with questions, answers, timing, scoring, and access controls
list_my_quizzes List all quizzes you've created
get_quiz Get full quiz details by join code
delete_quiz Delete a quiz by ID

Example prompts

Once connected, just ask your AI assistant:

  • "Create a 10-question quiz about the French Revolution with multiple choice answers"
  • "Make a private timed quiz on Python basics — 20 seconds per question, with explanations"
  • "Create a quiz about climate change with negative marking for wrong answers"
  • "List my quizzes"
  • "Show me the details of quiz ABC123"

Quick Start

1. Get an API Key

Log into PlayQuizNow, go to API Keys (in your profile menu), and create a new key. You'll get a key like pqn_a1b2c3d4... — save it, it's shown only once.

2. Configure Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "playquiznow": {
      "command": "uvx",
      "args": ["playquiznow-mcp"],
      "env": {
        "PLAYQUIZNOW_API_KEY": "pqn_your_key_here"
      }
    }
  }
}

Restart Claude Desktop. You're ready to create quizzes.

3. Try it

Ask Claude: "Create a quiz about space exploration with 5 questions"

Claude will generate the questions and create the quiz on PlayQuizNow. You'll get a join code and link that players can use immediately.

Quiz Creation Options

The create_quiz tool supports all quiz configuration options:

Quiz Settings

Parameter Type Default Description
title string required Quiz title
description string "" Description shown to players
quiz_mode enum "single_player" single_player or multi_player
access_type enum "public" public, private, or unlisted
negative_marking boolean false Deduct points for wrong answers
auto_start_quiz boolean false Skip waiting room
start_datetime ISO 8601 now When quiz becomes available
end_datetime ISO 8601 When quiz closes
max_plays_per_participant integer Limit plays per player
marketing_text string Text shown on results page
marketing_link string URL linked from results page

Question Settings

Parameter Type Default Description
text string required Question text (plain text)
question_type enum "mcq_text" mcq_text, poll, or text_answer
answers array required Answer options (1-8 per question)
positive_points number 1 Points for correct answer
negative_points number 0 Points deducted for wrong answer
time_for_question integer 30 Seconds to answer (5-300)
time_for_answer integer 10 Seconds to show explanation (3-60)
correct_answer_explanation string "" Explanation shown after answering

Limits

  • Max 100 questions per quiz
  • Max 10 question sets per quiz
  • Max 8 answer options per question
  • MCQ questions must have at least 1 correct answer

Environment Variables

Variable Required Default Description
PLAYQUIZNOW_API_KEY Yes Your PlayQuizNow API key (pqn_...)
PLAYQUIZNOW_BASE_URL No https://api.playquiznow.com API base URL

Development

git clone https://github.com/playquiznow/playquiznow-mcp.git
cd playquiznow-mcp
pip install -e .

# Run locally against a dev server
PLAYQUIZNOW_API_KEY=pqn_... PLAYQUIZNOW_BASE_URL=http://localhost:8000 playquiznow-mcp

About PlayQuizNow

PlayQuizNow is an online quiz platform for educators, trainers, and event organizers. Features include:

  • Single-player and live multiplayer quizzes
  • LTI integration (Canvas, Moodle, Blackboard, D2L)
  • WordPress plugin and embeddable widget
  • Google Classroom integration
  • Enterprise SSO
  • Real-time leaderboards and analytics

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

playquiznow_mcp-0.1.0.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

playquiznow_mcp-0.1.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file playquiznow_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: playquiznow_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for playquiznow_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 50d3a095ef9a796754ee0ec4f44e1f72117e1e6257258afa87ba46efd362d16d
MD5 f6edbe6fe3a9cbdc4103db9442d167fa
BLAKE2b-256 580cfd15d133fd0327855099a20b38f39d73a2817111ea5ad699e4b9d800132d

See more details on using hashes here.

File details

Details for the file playquiznow_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for playquiznow_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3f3d6674a19cf5403e2c4bfbf4df74c9a00e57347ff8a9352f532ef519026da
MD5 4011888a7d3f383f3ed5a8b130d7f742
BLAKE2b-256 87780a5bfb85732aaf051f9cf13d65b8239799b713a2940bd81554bbb18b1e5e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page