College AI Assistant
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., "@College AI AssistantList students with attendance less than 80%"
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.
College AI Assistant
A local AI assistant for exploring student profiles, marks, attendance, and academic performance. The project combines a Gemini-powered agent, an MCP-style tool server backed by SQLite, a FastAPI API, and a lightweight browser interface.
Features
Search students by name and retrieve profile details.
Review subject marks, averages, strongest and weakest subjects.
Review subject attendance and find students below a threshold.
Add students and marks through assistant requests.
Use the same agent through either the CLI or the web application.
Related MCP server: mcp-student-assistance
Requirements
Python 3.10 or later
A Gemini API key
PowerShell, Command Prompt, or another Python-compatible shell
Setup
From the project root, create and activate a virtual environment:
python -m venv venv
venv\Scripts\Activate.ps1On Windows Command Prompt, use venv\Scripts\activate.bat instead. Install the pinned dependencies:
pip install -r requirements.txtCreate a .env file in the project root:
GEMINI_API_KEY=your_gemini_api_key_hereInitialize the sample SQLite database:
python database.pyThis creates college.db and seeds the sample student records.
Run The CLI
Start an interactive assistant session:
python ai_agent.pyThe CLI starts the MCP tool server as needed. You do not need to run server.py separately.
Run The Web App
Start the API in one terminal:
uvicorn api:app --reload --host 127.0.0.1 --port 8000Serve the static frontend from the web directory in a second terminal. Serving it on port 5500 matches the API's local CORS configuration:
python -m http.server 5500 --directory webOpen http://127.0.0.1:5500 in your browser. The API and interactive documentation are available at http://127.0.0.1:8000 and http://127.0.0.1:8000/docs.
Configuration
Configuration defaults are defined in config/settings.py:
GEMINI_API_KEY— loaded from the environment or root.envfile.GEMINI_MODEL— Gemini model name, defaulting togemini-2.5-flash.MCP_SERVER_COMMAND— command used to start the tool server, defaulting topython.MCP_SERVER_FILE— tool server entry point, defaulting toserver.py.
API
Health check
GET /healthExample response:
{"status":"ok","service":"College AI Assistant"}Chat
POST /chat
Content-Type: application/json
{"message":"What are Abhishek's marks?"}The response includes a session ID that can be sent with subsequent messages to preserve conversation context:
{"session_id":"session-uuid","response":"..."}Project Layout
Path | Purpose |
| Interactive CLI client |
| FastAPI application and chat endpoints |
| MCP-style student data tools |
| SQLite schema, queries, and sample data |
| Gemini agent and MCP integration |
| Environment-backed configuration |
| Static browser interface |
| Pinned Python dependencies |
Troubleshooting
Web UI cannot connect: Confirm both servers are running, then open the UI at
http://127.0.0.1:5500rather than openingindex.htmldirectly.Gemini authentication fails: Check
GEMINI_API_KEYin.envand confirm the key has access to the configured model.Database records are missing: Run
python database.pyfrom the project root to recreate and reseedcollege.db.MCP startup fails: Run commands from the project root and verify that the virtual environment is active.
License
This project is provided as-is for demonstration and learning purposes.
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 Connectors
Let AI agents query data and act across all your business apps via MCP.
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Official Microsoft MCP Server to query Microsoft Entra data using natural language
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables an AI assistant to help students by providing tools for math calculations, attendance tracking, marks analysis, reading PDF notes, searching lecture notes, and checking college regulations.
- AlicenseNot gradedqualityCmaintenanceMCP server that provides intelligent student assistance tools for academic calculations, attendance tracking, marks analysis, and syllabus reading via Groq LLM.211MIT
- FlicenseNot gradedqualityBmaintenanceMCP server enabling AI assistants to query Myongji College data, including real-time library seat availability, campus notices, department lists, and course search (with user login). All tools are read-only and can be composed to answer complex campus-related questions.
- FlicenseNot gradedqualityCmaintenanceProvides tools for querying student academic data such as subjects, marks, performance reports, timetable, exams, fees, events, holidays, and assignments via natural language.
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/Abhi122005/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server