StudyPilot MCP Server
Optional integration with Google Gemini API for live AI-powered quiz generation and grading.
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.
š StudyPilot AI
A secure, full-stack multi-agent study assistant ā paste your notes, get a quiz, get graded, and track your progress over time. Built for the Google Ć Kaggle AI Agents: Intensive Vibe Coding Capstone Project (Freestyle Track).
šÆ What It Does
StudyPilot AI turns raw study notes into a full learning loop:
Paste or upload your notes in the Study Lab
An agent pipeline sanitizes the input, extracts key facts, and generates a quiz
Take the quiz ā questions are built directly from real sentences in your notes
Get graded instantly, with explanations that quote your original notes back to you
Track your progress over time on the Dashboard, with full history of every attempt
Runs completely offline in high-fidelity Simulation Mode ā no API key required. Optionally connect a free Gemini API key for live LLM-powered generation.
Related MCP server: obsidian-mcp-server
š¼ļø Screenshots
(Add your dashboard, quiz, and feedback screenshots here)
Dashboard | Quiz Session | Feedback Hub |
|
|
|
š§ Multi-Agent Architecture
StudyPilot AI is built on an ADK-style multi-agent system, where each agent has a single clear responsibility and hands off to the next:
User Notes
ā
ā¼
āāāāāāāāāāāāāāāāāāāāāāā
ā Notes Extractor ā ā validates, sanitizes, extracts key terms & facts
ā Agent ā
āāāāāāāāāāā¬āāāāāāāāāāāāā
ā¼
āāāāāāāāāāāāāāāāāāāāāāā
ā Quiz Generator ā ā builds fact-based questions from real note content
ā Agent ā
āāāāāāāāāāā¬āāāāāāāāāāāāā
ā¼
āāāāāāāāāāāāāāāāāāāāāāā
ā Grader / Feedback ā ā scores answers, explains mistakes using source text
ā Agent ā
āāāāāāāāāāā¬āāāāāāāāāāāāā
ā¼
āāāāāāāāāāāāāāāāāāāāāāā
ā Progress Tracker ā ā logs attempts, tracks trends, flags weak topics
ā Agent ā
āāāāāāāāāāāāāāāāāāāāāāāKey Concepts Demonstrated
Concept | Implementation |
Multi-Agent System (ADK) |
|
MCP Server |
|
Security Features |
|
Agent Skills | Reusable skill modules ( |
Deployability | Single-command local deployment via Flask, |
š ļø Tech Stack
Backend: Python, Flask
Frontend: HTML, CSS, vanilla JS, Chart.js
Data Storage: Lightweight JSON file store (
db.json)AI Integration: Optional Google Gemini API (
google-genai), with full offline simulation fallbackProtocol: Model Context Protocol (MCP) server for agent tool exposure
š Getting Started
Prerequisites
Python 3.9+
pip
Installation
git clone https://github.com/Anchal-Verma04/studypilot-ai.git
cd studypilot-ai
pip install -r requirements.txtRun the app
python src/server.pyThen open your browser at:
http://localhost:3000That's it ā no API key needed. The app runs fully offline in Simulation Mode.
(Optional) Enable live Gemini AI
Get a free API key at aistudio.google.com/apikey
Copy
.env.exampleto.envAdd your key:
GEMINI_API_KEY=your_key_hereRestart the server
š Project Structure
studypilot-ai/
āāā src/
ā āāā agents/
ā ā āāā base_agent.py
ā ā āāā notes_extractor_agent.py
ā ā āāā quiz_generator_agent.py
ā ā āāā grader_agent.py
ā ā āāā progress_tracker_agent.py
ā āāā skills/
ā ā āāā safety_filter.py
ā ā āāā db_store.py
ā āāā public/
ā ā āāā index.html
ā ā āāā styles.css
ā ā āāā app.js
ā āāā mcp_server.py
ā āāā server.py
ā āāā test_agents.py
āāā db.json
āāā requirements.txt
āāā .env.example
āāā README.mdš Security Notes
All user-submitted notes pass through size validation and prompt-injection heuristics before reaching any agent
Content is HTML-sanitized to prevent script injection in the UI
No credentials are hardcoded ā API keys are loaded from a local
.envfile (never committed to version control)
š About This Project
Built as the capstone project for Google & Kaggle's 5-Day AI Agents: Intensive Vibe Coding Course (Freestyle Track), demonstrating multi-agent orchestration, MCP server design, agent skills, and security-conscious agent architecture ā developed using Antigravity IDE.
š License
MIT License ā free to use, modify, and learn from.
This server cannot be deployed
Maintenance
Related MCP Connectors
Flashcards, multiple-choice quizzes, mind maps and spaced-repetition reviews from your study notes.
Files what you learn into a personal wiki and quizzes you before you forget it.
Voice-led, FSRS-scheduled flashcards from YouTube, PDFs, web, or text. Auto-graded quizzes.
Spaced-repetition flashcards your AI writes, quizzes you on by voice, and schedules with FSRS.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA lightweight personal knowledge base MCP server that lets clients store, search, organize, and summarize research notes from a local JSON file.MIT
- AlicenseNot gradedqualityCmaintenanceProvides tools for searching and reading Obsidian notes, creating flashcards, generating summaries, and planning study schedules via the MCP protocol.MIT
- AlicenseAqualityCmaintenanceTurns your PDFs into locally stored flashcards and quizzes, grades your answers, and schedules spaced-repetition reviews entirely on your machine.12MIT
- AlicenseNot gradedqualityCmaintenanceServes offline, TF-IDF-based tools over local teaching lesson notes, enabling agents to search with citations, list topics, retrieve clip notes, and generate quizzes without cloud or vector database dependencies.MIT


