
quizbyt
io.github.drupalmind/quizbyt
Free school quizzes and lessons, Class 1 to A Level: find topics, read notes, get embed code.
Documentation
QuizByt embed
Free, self-marking quizzes and interactive lessons from QuizByt on your own website. Give a class, a subject and a topic, and you get a quiz or a lesson your students can use right on your page. They need no account, you need no API key, and the embed sets no cookies.
It covers Class 1 to 10, IGCSE, O Level and A Level, in Mathematics, Science, English, Computer Science, Physics, Chemistry and Biology.
See it on a real page
A school's Class 1 maths page with a QuizByt lesson and quiz, each added with two lines of HTML. Try it live on quizbyt.com, or open examples/html/school-page.html.

Pick your way in
| You have | Use | Guide |
|---|---|---|
| A WordPress site | The plugin: a block, a shortcode and a picker | wordpress/quizbyt |
| Any other site (Wix, Squarespace, Blogger, Google Sites, plain HTML) | One script tag | docs/embed.md |
| A site that blocks scripts | A plain iframe | docs/embed.md |
| Claude (Claude Code, desktop or claude.ai) | The QuizByt plugin, or the MCP connector | Use QuizByt in Claude |
| An app or a learning platform | The JSON API, with samples in nine languages | docs/api.md |
Quick start
WordPress:
[quizbyt class="class-5" subject="mathematics" topic="decimals" type="quiz"]
Any site:
<div class="quizbyt-embed" data-class="class-5" data-subject="mathematics"
data-topic="decimals" data-type="lesson"></div>
<script src="https://app.quizbyt.com/embed.js" async></script>
Find a topic: every class, subject and topic id is listed in catalog.json. The WordPress plugin and app.quizbyt.com/embed have pickers, so you don't have to read it yourself.
Use QuizByt in Claude
The QuizByt plugin for Claude finds topics, writes the embed code for your site, plans lessons from QuizByt material, and helps developers with the API. It uses the QuizByt MCP server at https://app.quizbyt.com/mcp, which is read-only and needs no account or key. See docs/mcp.md for its tools.
Claude Code:
/plugin install quizbyt --marketplace drupalmind/quizbyt-embed
On older versions, add the marketplace first: /plugin marketplace add drupalmind/quizbyt-embed, then /plugin install quizbyt@quizbyt.
Claude desktop or claude.ai: go to Settings > Connectors > Add custom connector, and enter https://app.quizbyt.com/mcp.
Then ask, for example:
- "Put a Class 3 fractions quiz on my WordPress blog."
- "Plan a week on photosynthesis for O Level biology, with a lesson and a quiz each day."
- "Write a Python script that lists QuizByt quizzes for Class 5 maths."
It has three skills: embed-a-quiz-or-lesson, teach-a-topic and build-with-the-api. The plugin lives in claude-plugin/.
Install the WordPress plugin
- Download this repository as a zip, or clone it.
- Zip the
wordpress/quizbytfolder (or run./build.sh, which writesdist/quizbyt.zip). - In WordPress, go to Plugins > Add New > Upload Plugin, choose the zip, and activate it.
- Add the QuizByt quiz or lesson block, or use Settings > QuizByt to pick a topic and copy its shortcode.
What's in this repository
wordpress/quizbyt/ the WordPress plugin (PHP, no build step)
claude-plugin/ the Claude plugin: MCP server and three skills
embed/ embed.js, the one-line script for any site
docs/embed.md every way to embed, with all the options
docs/api.md the full JSON API reference
examples/api/ API samples: cURL, JavaScript, TypeScript, Python, PHP, Go, Java, Ruby, C#
examples/html/ pages you can open in a browser (school-page.html is the one in the screenshot)
docs/screenshots/ how an embed looks on a site
The two rules
- Credit stays. Keep the "Quiz by QuizByt" line, linked. The plugin and the script add it for you.
- API keys stay on your server. The embeds need no key. If you use the API, never put your key in a page.
Support
Write to info@quizbyt.com, or open an issue. Contributions are welcome. See CONTRIBUTING.md.
Licence
MIT. See LICENSE. The quizzes and lessons themselves belong to QuizByt and are shown under its terms.
No installation packages available.