mcp-study-tools
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Study Tools
A Model Context Protocol (MCP) server, written in TypeScript, that turns plain study notes into study material: flashcards, multiple choice quizzes, summaries, and day by day study plans. It runs locally over stdio, needs no API key, and makes no network calls. Every tool is deterministic, so the same notes always produce the same flashcards, the same quiz, and the same plan.
Who it helps
Students and self learners who keep notes as text or markdown and want to revise actively instead of rereading passively. Paste a chapter of notes into any MCP client and get flashcards for recall practice, a quiz with an answer key for self testing, a short summary for a last minute review, and a plan that spreads the topics across the days left before an exam.
Related MCP server: kaoyan-mcp
Tools
Tool | Inputs | Output |
|
| Flashcards with |
|
| Multiple choice questions with 4 choices each, the correct answer index, an explanation taken from the source notes, and a printable answer key |
|
| An extractive summary (top sentences by term frequency, in original order) plus the key terms of the notes |
|
| A day by day plan: new topics per day, review slots for earlier topics, a minute budget, and concrete tasks per day |
How the parsing works
Flashcards come from
Term: definitionlines,Term — definitionlines, markdown heading sections (first prose sentence under the heading), and explicitQ:/A:pairs in the notes.Quiz questions are built from the extracted term/definition pairs. The three distractors are definitions of other terms from the same notes, picked with a seeded deterministic shuffle, so a quiz is stable across runs.
Summaries score each sentence by the normalised frequency of its content words across the whole notes file, keep the top sentences for the requested length, and restore the original reading order.
Study plans distribute topics as evenly as possible across the days, give every day after the first a review slot for the previous day, and add a full review on the final day.
Architecture
MCP client (any MCP host application)
|
| JSON-RPC over stdio
v
src/index.ts McpServer from @modelcontextprotocol/sdk,
StdioServerTransport, zod input schemas
|
+--> src/tools/flashcards.ts make_flashcards
+--> src/tools/quiz.ts make_quiz
+--> src/tools/summarize.ts summarize_notes
+--> src/tools/studyPlan.ts make_study_plan
|
v
src/lib/text.ts shared deterministic parsing: term and Q/A
extraction, sentence splitting, term frequency,
seeded shuffleThe tool modules are pure functions with no dependency on the MCP SDK, so they are unit tested directly and can be reused outside the server.
Run it
Requirements: Node.js 18 or newer.
npm install
npm run build # compiles TypeScript to dist/
npm start # starts the server on stdio (it waits for an MCP client)Or run the compiled entry point directly:
node dist/index.jsRun the demo, which feeds examples/sample-notes.md (computer networks
notes) through all four tools and prints the real output:
npm run demoRun the tests:
npm test # vitest, 22 tests across the four toolsAdd it to an MCP client
Build first (npm install && npm run build), then add this entry to your
MCP client's server configuration file:
{
"mcpServers": {
"mcp-study-tools": {
"command": "node",
"args": ["/absolute/path/to/mcp-study-tools/dist/index.js"]
}
}
}Restart the client and the four study tools appear in its tool list. Example prompts once connected: "Make flashcards from these notes", "Quiz me with 5 questions on this chapter", "Summarize these notes, short version", "Make a 4 day study plan for these topics at 45 minutes a day".
Demo output
Real output from npm run demo against examples/sample-notes.md
(flashcards limited to 4, quiz limited to 3 questions, summary at short
length, plan at 3 days and 45 minutes per day; trimmed here for length).
make_flashcards first card:
{
"front": "Protocol",
"back": "a set of rules that governs how data is formatted, transmitted, and received between devices on a network.",
"kind": "term",
"source": "Protocol: a set of rules that governs how data is formatted, transmitted, and received between devices on a network."
}make_quiz first question and the answer key:
{
"question": "Which statement best defines \"Protocol\"?",
"choices": [
"A computer network connects two or more devices so they can share data and resources with each other.",
"a small unit of data that is routed across a network, carrying part of a message plus addressing information.",
"the maximum rate at which data can be transferred over a network connection, usually measured in bits per second.",
"a set of rules that governs how data is formatted, transmitted, and received between devices on a network."
],
"answerIndex": 3,
"correctAnswer": "a set of rules that governs how data is formatted, transmitted, and received between devices on a network.",
"explanation": "Protocol: a set of rules that governs how data is formatted, transmitted, and received between devices on a network."
}1. D — a set of rules that governs how data is formatted, transmitted, and received between devices on a network.
2. A — a small unit of data that is routed across a network, carrying part of a message plus addressing information.
3. B — a device that forwards packets between different networks and chooses the best available path for each packet.summarize_notes (short):
A computer network connects two or more devices so they can share data and resources with each other. Switch: a device that connects devices within one local network and forwards data only to the intended recipient. IP Address: a numeric label assigned to each device on a network, used to identify where packets should be delivered. When a computer sends a message, the message is broken into packets at the sending device.
Key terms: network, packets, packet, data, device, devices, address, messagemake_study_plan (topics extracted from the same notes, 11 topics, 3 days):
Day 1 (45 min): Learn Protocol, Packet, Router, Switch
Day 2 (45 min): Review Protocol, Packet, Router, Switch (11 min); Learn IP Address, DNS, Bandwidth, Latency (34 min)
Day 3 (45 min): Review IP Address, DNS, Bandwidth, Latency, Protocol, Packet, Router, Switch (11 min); Learn Network Basics, How Packets Travel, Review Points (34 min)The server was also verified end to end over the MCP protocol itself:
initialize returns server mcp-study-tools version 1.0.0, tools/list
returns the four tools above, and a tools/call for make_study_plan
returns the plan as JSON text content.
Project layout
src/index.ts MCP server entry point (stdio transport)
src/demo.ts demo runner used for the output above
src/lib/text.ts shared parsing helpers
src/tools/ one module per tool
test/ vitest suites, one per tool plus shared fixtures
examples/ sample study notes used by the demoTech stack
TypeScript, Node.js, @modelcontextprotocol/sdk (official MCP SDK), zod
for tool input schemas, vitest for tests. No API keys, no network calls,
no data leaves the machine.
License
MIT License. Copyright (c) 2026 Aryanmouli Cherupalli. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Flashcards, multiple-choice quizzes, mind maps and spaced-repetition reviews from your study notes.
Read, write, and conversationally review open-source flashcards through split read/write MCP tools.
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
Turn what you learn with AI into study books with readings, flashcards and quizzes.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides tools for searching and reading Obsidian notes, creating flashcards, generating summaries, and planning study schedules via the MCP protocol.MIT
- AlicenseBqualityBmaintenanceEnables MCP-compatible AI clients to act as a personal exam-prep tutor for Chinese postgraduate entrance exams, with a local knowledge base, spaced-repetition review scheduling, worksheet generation and delivery (print/PDF/HTML/text), and learning analytics—all with zero third-party dependencies and data staying local.145MIT
- AlicenseNot gradedqualityCmaintenanceEnables students to track assignments and exams, create study plans that distribute hours before deadlines, and generate fill-in-the-blank quizzes from notes.MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to save, search, read, update, and delete personal notes, summarize topics, and generate quizzes from saved notes through MCP tools, resources, and prompts.71MIT