StudyPilot MCP Server
Provides tools to extract key facts from study notes, generate quizzes, and grade answers via JSON-RPC.
README
📚 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.
🖼️ 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) | BaseAgent class + 4 specialized sub-agents coordinating in a pipeline |
| MCP Server | mcp_server.py exposes agent capabilities (extract_notes, generate_quiz, grade_answers) as MCP tools over JSON-RPC |
| Security Features | safety_filter.py — input size validation, prompt-injection heuristics, HTML/script sanitization before any content reaches an agent |
| Agent Skills | Reusable skill modules (safety_filter, db_store) declared and used across agents |
| Deployability | Single-command local deployment via Flask, localhost:3000 |
🛠️ 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 fallback - Protocol: 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.txt
Run the app
python src/server.py
Then open your browser at:
http://localhost:3000
That'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.env - Add your key:
GEMINI_API_KEY=your_key_here - Restart 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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。


