Brain Grain Quiz Coach
Enables Alexa+ to serve as a bilingual (Tamil/English) exam coach, offering tools to start quizzes, submit answers, retrieve streaks, list topics, and explain concepts.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Brain Grain Quiz CoachStart a TNPSC Polity quiz in Tamil with 5 questions"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Brain Grain Quiz Coach — Alexa+ MCP Server
A self-hosted MCP server that turns Alexa+ (or any MCP client) into a bilingual Tamil / English exam coach.
"Alexa, quiz me on Indian Polity."
Built for the Build, Ship, Shape: Amazon Developer Hackathon 2026, Alexa+ track. Content comes from Brain Grain, a live exam-prep product used by learners in Tamil Nadu preparing for TNPSC, UPSC, CTET and school exams.
MCP spec 2025-11-25 via
@modelcontextprotocol/sdk1.30.0Streamable HTTP transport (
/mcp) and stdioEvery question is a real previous-year / textbook question with a verified explanation — nothing is generated on the fly
Wrong answer → the next question is a sibling on the same topic (adaptive follow-up)
Tools
Tool | What it does |
| Start a quiz — |
| Submit A/B/C/D or 1–4; returns verdict, explanation, and the next question |
| Score, current/best streak, days active, weakest topics |
| Topics available for an exam/subject |
| Verified explanation for a concept keyword ("Article 17", "Preamble") |
Related MCP server: InterviewDojo
Run it
npm install
npm start # Streamable HTTP on http://localhost:3333/mcp
npm run stdio # stdio transport for Claude Desktop / Cursor / MCP Inspector
npm testTry it in the MCP Inspector:
npx @modelcontextprotocol/inspector node src/stdio.jsClaude Desktop config:
{ "mcpServers": { "braingrain": { "command": "node", "args": ["C:/path/to/braingrain-alexa-mcp/src/stdio.js"] } } }Content
By default the server reads Brain Grain's live app-packs — public, read-only JSON at https://braingrain.in/data/app-packs/<exam>/<subject>.json. Exams: tnpsc-group1, tnpsc-group2, tnpsc-group4 (alias tnpsc), ctet, tntet. Subjects for TNPSC: polity, history, geography, economy, science, current, aptitude. Every pack is bilingual (q/q2, o/o2, e/e2).
data/sample-bank.json ships 65 bilingual TNPSC Polity questions (5 per topic across 13 topics) as a fallback: set BRAINGRAIN_OFFLINE=1 to force it, and it kicks in automatically if the network is down.
Env | Default | Purpose |
|
| HTTP port |
|
| Pack base URL |
| unset |
|
Alexa+
Register the hosted /mcp endpoint as an Alexa+ MCP integration. Session identity: pass the Alexa user/profile id as learner so streaks persist across turns.
Repo layout
src/server.js Streamable HTTP entry (express)
src/stdio.js stdio entry
src/tools.js the five tools
src/bank.js sample-bank / API adapter
src/session.js per-learner state + adaptive queue
data/ sample bank
friction-log.md what got in the way while building (hackathon friction log)Licence
MIT — see LICENSE. Sample content © Brain Grain, included for evaluation.
Demo
npm start then open http://localhost:3333/demo/ — a simulated Alexa+ screen that drives the real server over MCP, with the JSON-RPC frames shown alongside. node demo/record.mjs records it to demo/out/demo.webm (needs Playwright; set PLAYWRIGHT_FROM to a project that has it).
This server cannot be deployed
Maintenance
Related MCP Connectors
UPSC prep: interactive quizzes, previous-year questions, daily current affairs, cited study search
20 MCP tools + 17 widgets for SAT/ISEE/SSAT/GRE/GMAT/LSAT prep. Flashcards, quizzes & games. Hosted.
Certification exam practice as a town-building game: AWS, Security+, PMP, CFA, Claude and more.
- FluoTestOAuthcom.fluotest
Create, edit and publish scored quizzes and read results from any MCP client. Free plan included.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables Alexa+ users to turn text into flashcards and be quizzed hands-free on a spaced-repetition schedule, with tools to add sources, review due cards, grade spoken answers, and track progress.MIT
- AlicenseNot gradedqualityBmaintenanceEnables Alexa+ to run spoken mock technical interviews by parsing a candidate's resume and target job description, generating tailored questions, and scoring each answer against Bar Raiser rubrics via Amazon Bedrock. It also produces a session report with score breakdowns, weak topics, and a concrete practice plan.MIT
- AlicenseNot gradedqualityBmaintenanceEnables students to ask by voice whether a specific topic is examinable on their exam — the digital SAT and PSAT, ACT, 24 AP courses, Alberta Diploma, and Singapore-Cambridge A-Level — returning the official syllabus's own wording, objective codes, and quoted exclusions rather than a guess. It also remembers which exams a student is taking and when, quizzes them on objectives, and reports weakest topics and days remaining for revision.MIT
- AlicenseNot gradedqualityBmaintenanceEnables Alexa+ or any MCP client to deliver USCIS naturalization civics exam prep with official question banks, deterministic answer checking, spaced repetition, authentic mock interviews with real stopping rules, and Monte Carlo readiness scoring.4,694 npmMIT