Quizz MCP
Enables Claude to generate interactive quizzes from conversations to test understanding and reinforce learning.
README
<p align="center"> <img src="assets/logo.svg" alt="Quizz MCP" width="280" /> </p>
<p align="center"> Turn your Claude conversations into learning opportunities. </p>
<p align="center"> <img src="assets/screenshot.png" alt="Quizz MCP Screenshot" width="700" /> </p>
When you're exploring a new concept, debugging code, or learning a framework through Claude or Claude Code, how much are you actually retaining? Quizz MCP helps you engage deeper with your AI interactions by generating quizzes that test your understanding - giving you new perspectives and revealing gaps you didn't know you had.
Why?
Reading explanations feels like understanding. But real comprehension comes from actively recalling and applying concepts. Quizz creates that active engagement:
- Test yourself on code you just reviewed
- Discover blind spots in your understanding
- Get AI feedback on your reasoning, not just right/wrong
- Track progress across topics over time
Getting Started
1. Install
git clone https://github.com/ThoBustos/quizz-mcp.git
cd quizz-mcp
pnpm install && pnpm build
Requires: Node.js 20.11+, pnpm 8+
2. Configure Claude Code
Add to your MCP settings (~/.claude/settings.json or project .mcp.json):
{
"mcpServers": {
"quizz": {
"command": "node",
"args": ["/absolute/path/to/quizz-mcp/packages/mcp/dist/index.js"],
"env": {
"ANTHROPIC_API_KEY": "sk-ant-..."
}
}
}
}
3. Start the Web UI
cd quizz-mcp
pnpm dev
Opens at http://localhost:9004
<p align="center"> <img src="assets/screenshot-home.png" alt="Home Screen" width="600" /> </p>
4. Generate Your First Quiz
In Claude Code, just ask:
Quiz me on what we just discussed
Or be specific:
Generate a quiz about React hooks - 5 questions, medium difficulty, mix of multiple choice and code writing
Claude will ask you to confirm:
- Content: What to quiz on
- Difficulty: Easy, Medium, Hard, or Expert
- Question count: 1-20 questions
- Question types: Multiple-choice, multi-select, open-ended, or code-writing
Then it opens the quiz in your browser.
Taking a Quiz
Keyboard Navigation
| Key | Action |
|---|---|
A-D |
Jump to option |
↑/↓ |
Navigate options |
Space |
Toggle selection (multi-select) |
Enter |
Submit answer |
Cmd+Enter |
Submit code answer |
Cmd+Shift+E |
Expand/collapse AI chat |
AI Chat
After each answer, you can chat with Claude about the question. Ask for clarification, explore edge cases, or dive deeper into concepts. Click the expand button (or Cmd+Shift+E) for a full-screen chat experience.
<p align="center"> <img src="assets/screenshot-chat-sidebar.png" alt="Chat Sidebar" width="700" /> </p>
The chat supports code blocks, markdown, LaTeX math, and more:
<p align="center"> <img src="assets/screenshot-chat-fullscreen.png" alt="Chat Fullscreen" width="700" /> </p>
Difficulty Levels
| Level | Pass Threshold | What It Tests |
|---|---|---|
| Easy | 50% | Basic recall, main ideas |
| Medium | 60% | Comprehension, patterns, "how" and "why" |
| Hard | 75% | Analysis, connections, trade-offs |
| Expert | 85% | Critical evaluation, edge cases, alternatives |
Quiz Results
When you complete a quiz, you'll see your score and a summary of all questions. Hit Try Again to reinforce your learning with spaced repetition.
<p align="center"> <img src="assets/screenshot-results.png" alt="Quiz Results" width="600" /> </p>
Viewing Your Progress
In Claude Code:
Show my quiz stats
Or use the quiz_stats tool to see:
- Total quizzes taken
- Average scores by difficulty
- Recent session history
Themes
Go to Settings (gear icon) to configure your theme:
<p align="center"> <img src="assets/screenshot-themes.png" alt="Theme Settings" width="600" /> </p>
| Theme | Style |
|---|---|
| Hacker | Matrix green terminal aesthetic (default) |
| Claude Community | Warm Claude orange tones |
| Minimal | Clean blue GitHub-style |
| Thomas | Green accents + amber buttons |
Your preference is saved locally.
Troubleshooting
Quiz won't generate?
- Ensure
ANTHROPIC_API_KEYis set in your MCP config - Check that the path to
packages/mcp/dist/index.jsis absolute
Browser doesn't open?
- Start the web UI manually:
pnpm dev - Navigate to
http://localhost:9004/quiz/{session-id}
Database errors?
- The database is stored at
~/.quizz/data.db - Both MCP server and web UI share this database
<p align="center"> <img src="assets/screenshot-correct.png" alt="Correct Answer" width="600" /> </p>
Fun fact: SQLite is the most deployed database in the world - it's in your phone, browser, car, and now tracking your quiz scores. Your learning progress is literally stored in the same format as aircraft flight systems. No pressure.
For Developers
See DESIGN.md for architecture details, or explore:
pnpm test # Run tests
pnpm lint # Check code style
pnpm typecheck # Type checking
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。