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: Ace Achievers MCP Server
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.
Aspire Learning MCP — browse courses, chapters, lessons, and import LaTeX quizzes
Read, write, and conversationally review open-source flashcards through split read/write MCP tools.
Related MCP Servers
- AlicenseAqualityCmaintenanceLocal MCP voice coach that provides English pronunciation, grammar, and fluency feedback from microphone recordings. It supports free-form voice conversation, focused practice drills, phoneme-level feedback, prosody hints, and learner-profile guidance.869 PyPI2MIT
- AlicenseAqualityBmaintenanceEnables searching and browsing the Ace Achievers course catalog and question bank with tiered hint reveals.5MIT
- FlicenseNot gradedqualityBmaintenanceEnables portable English language instruction through MCP, owning learner identity, curriculum, and learner model while any host LLM delivers conversational teaching, sessions, and assessment.1-
- AlicenseNot gradedqualityBmaintenanceEnables voice-native spaced repetition for Alexa+ by quizzing users aloud and grading spoken answers for meaning, allowing hands-free review while cooking, driving, or doing other tasks.MIT