Student MCP Server
Click on "Install 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., "@Student MCP ServerCan you calculate my average marks and check for attendance shortages?"
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.
๐ AI-Powered Student Assistant (Model Context Protocol + Groq + Web App)
An interactive, AI-driven educational platform built using Model Context Protocol (MCP), Groq LLM (llama-3.3-70b-versatile), Python 3.11+, and a modern Glassmorphic Web Dashboard.
๐ Project Features
Model Context Protocol (MCP): Standardized protocol connecting AI reasoning with local file tools & calculations.
Groq LLM Power: Blazing fast inference for autonomous tool selection and response synthesis.
6 Built-in Educational MCP Tools:
๐งฎ Calculator: Evaluates math expressions, percentage weights, and GPA formulas.
๐ Attendance Tracker: Analyzes student attendance records from
attendance.csv, detects shortages (<75%), and predicts required classes.๐ Marks Analyzer: Computes averages, top scores, letter grades, and performance rankings from
marks.csv.๐ PDF Reader: Extracts text and searches content from lecture PDF files (
notes.pdf).๐ Lecture Notes Search: Keyword and concept search across course revision notes.
๐ College Regulations Checker: Queries official college handbook (
rules.txt) for attendance rules, grading scales, and library policies.
Interactive Web Interface (Frontend):
Dark glassmorphism design with responsive tabs.
Live MCP Protocol Visual Trace: Step-by-step pipeline view showing
User Prompt -> Groq LLM -> MCP Server -> Tool Run -> Answer.Interactive Analytics Modules: Marks Report Card, Attendance Shortage Predictor, Searchable Rules Explorer, PDF Viewer, and MCP Tool Sandbox.
Offline Simulation Mode: Browser fallback engine that works out-of-the-box even before adding an API key!
Related MCP server: Canvas MCP Server
๐๏ธ Architecture Overview
User Query
โ
โผ
Frontend Web Dashboard (HTML/CSS/JS)
โ
โผ
FastAPI Server (backend/api.py)
โ
โผ
Groq LLM (llama-3.3-70b-versatile)
โ
โโโบ Intercepts Query & Selects Tool
โ
โผ
MCP Client (backend/client.py)
โ
โผ
MCP Server (backend/server.py via FastMCP)
โ
โโโบ calculator.py (Math & GPA)
โโโบ attendance.py (attendance.csv)
โโโบ marks.py (marks.csv)
โโโบ pdf_reader.py (notes.pdf)
โโโบ notes.py (notes.txt)
โโโบ rules.py (rules.txt)
โ
โผ
Groq Formats Natural Language Answer -> User๐ Project Directory Structure
student_mcp/
โโโ backend/
โ โโโ server.py # FastMCP / MCP Server tool registry
โ โโโ client.py # Groq LLM tool router & MCP integrator
โ โโโ api.py # FastAPI web bridge for Frontend
โ โโโ calculator.py # Calculation logic
โ โโโ attendance.py # Attendance CSV parser
โ โโโ marks.py # Marks CSV calculator
โ โโโ pdf_reader.py # PDF text extractor (PyPDF)
โ โโโ notes.py # Lecture notes search
โ โโโ rules.py # College handbook search
โ โโโ prompts.py # System prompts & tool definitions
โ โโโ requirements.txt # Dependencies list
โ โโโ .env # Environment config (GROQ_API_KEY)
โ โโโ data/
โ โโโ attendance.csv # Attendance dataset
โ โโโ marks.csv # Marks dataset
โ โโโ notes.pdf # Sample academic PDF notes
โ โโโ notes.txt # Text notes reference
โ โโโ rules.txt # Official college regulations handbook
โ
โโโ frontend/
โ โโโ index.html # Interactive Student Assistant Web Dashboard
โ โโโ styles.css # Dark mode, glassmorphism & micro-animations
โ โโโ app.js # App logic, chat UI, MCP protocol visual trace & tool sandbox
โ
โโโ server.py # Root server entrypoint
โโโ client.py # Root terminal CLI client
โโโ create_pdf.py # Utility to generate notes.pdf
โโโ requirements.txt # Root dependencies
โโโ .env # Root environment variables
โโโ README.md # Complete documentationโก Quick Start Guide
1. Install Dependencies
Ensure Python 3.11+ is installed, then run:
pip install mcp groq pandas pypdf python-dotenv fastapi uvicornOr install from requirements file:
pip install -r requirements.txt2. Configure Groq API Key
Sign up for a free account at https://console.groq.com.
Create an API key (e.g.
gsk_xxxxxxxxxxxxxxxx).Open
.envand paste your key:
GROQ_API_KEY=gsk_xxxxxxxxxxxxxxxx3. Run the Applications
Option A: Launch Interactive Web Dashboard (Recommended)
Start the backend FastAPI server:
python backend/api.py(Runs on http://localhost:8000)
Open
frontend/index.htmlin your web browser!
Option B: Run via Python CLI Client
Start the terminal client directly:
python client.pyExample queries to try:
"Calculate Rahul's average marks.""Check Priya's attendance in Computer Networks.""What is the minimum attendance required and condonation rule?""Search notes for Binary Search Tree.""Calculate (88 * 0.25 + 92 * 0.30 + 95 * 0.45)."
Option C: Run MCP FastMCP Server
python server.py๐ ๏ธ MCP Tools Reference
Tool Name | File | Description | Example Query |
|
| Evaluates math formulas, percentages, GPA |
|
|
| Reads |
|
|
| Reads |
|
|
| Extracts text from |
|
|
| Topic search across course notes |
|
|
| Queries |
|
๐ฏ Verification & Testing
Run unit checks on individual modules:
python backend/calculator.py
python backend/attendance.py
python backend/marks.py
python backend/rules.pyEnjoy building with Model Context Protocol (MCP) and Groq! ๐
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-quality-maintenanceEnables personalized AI tutoring by allowing students to upload PDF/DOCX study materials that are processed and indexed for semantic search. Provides intelligent responses based on the student's own learning materials using RAG technology.Last updated
- Alicense-qualityDmaintenanceEnables AI assistants to interact with Canvas LMS through 25 comprehensive tools. Supports course management, assignments, grades, messaging, calendar events, and file access through natural language.Last updated12212MIT
- Flicense-qualityDmaintenanceConnects AI assistants to the FAST-NUCES Flex Student Portal, enabling students to query their academic data including attendance, marks, transcript, and fee reports through natural language conversations.Last updated5
- Alicense-qualityDmaintenanceEnables AI assistants to access PSG College of Technology e-campus portal data including CA marks, attendance records, timetable schedules, and course information through natural language queries.Last updated4MIT
Related MCP Connectors
AI-callable calculators and engineering models with real formulas. No hallucinated math.
AI access to your aNotepad online notes: read, search, write, and organize via 22 tools.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analyโฆ
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/poorvika12-hub/student_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server