API & MCP
Everything a person can do on Skillgrove Quiz Checker, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://skillgrovequizcheck.usefulweb.site/api/v1/calculate– run Skillgrove Quiz CheckerGET https://skillgrovequizcheck.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Skillgrove Quiz Checker
Validates a quiz bank in the Skillgrove format (single and multiple choice, numbers with tolerance and unit, ordering, matching and fill-in questions, each with an explanation and a source) and, if you add answers, grades them exactly like the Skillgrove app: score, pass/fail at 70 % and feedback per question.
| Field | Type | Default | Description |
|---|---|---|---|
quiz | textarea | "{\n \"format\": \"skillgrove-quiz\",\n \"version\": 1,\n \"lesson\": \"elect | Quiz bank (JSON). Format "skillgrove-quiz", version 1: a lesson key and a list of questions (see the example). |
answers | textarea | — | Answers to grade (JSON, optional). Question id → answer: choice index, list of indices, number, list of texts in order, list of right-hand sides per pair, or text. Example: {"q1": 1, "q2": "22.7", "q3": "R"} |
seed | text | — | Shuffle seed (optional). With a seed the result also lists the question and choice order the app shows for that seed. |
Example request
Check the Ohm's law quiz
curl -X POST https://skillgrovequizcheck.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"quiz":"{\n \"format\": \"skillgrove-quiz\",\n \"version\": 1,\n \"lesson\": \"electronics/ohms-law-and-circuits/ohms-law\",\n \"questions\": [\n {\n \"id\": \"q1\",\n \"type\": \"single\",\n \"prompt\": \"A 12 V supply drives 0.5 A through a resistor. What is its resistance?\",\n \"choices\": [\n \"6 Ω\",\n \"24 Ω\",\n \"12.5 Ω\"\n ],\n \"answer\": 1,\n \"explanation\": \"R = V / I = 12 / 0.5 = 24 Ω.\",\n \"source\": \"OpenStax University Physics Vol. 2, 9.5\"\n },\n {\n \"id\": \"q2\",\n \"type\": \"number\",\n \"prompt\": \"5 V across 220 Ω — how much current flows?\",\n \"answer\": 22.7,\n \"tolerance\": 0.3,\n \"unit\": \"mA\",\n \"explanation\": \"I = 5 / 220 = 22.7 mA.\",\n \"source\": \"OpenStax University Physics Vol. 2, 9.5\"\n },\n {\n \"id\": \"q3\",\n \"type\": \"fill\",\n \"prompt\": \"Ohm's law says V = I × ___.\",\n \"answer\": [\n \"R\",\n \"resistance\"\n ],\n \"explanation\": \"Voltage equals current times resistance.\",\n \"source\": \"OpenStax University Physics Vol. 2, 9.5\"\n }\n ]\n}"}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://skillgrovequizcheck.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
skillgrove_quiz_check - Local stdio connector:
node src/mcp-stdio.ts --tool=skillgrove-quiz-check
{
"mcpServers": {
"skillgrove-quiz-check": { "type": "http", "url": "https://skillgrovequizcheck.usefulweb.site/mcp" }
}
}