college-tools-mcp
Provides tools for querying a SQLite college management database, including retrieving student/faculty profiles, course details, enrollments, departmental course listings, course statistics, and executing read-only SQL queries.
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-tools-mcpShow me the roster for BIO 210"
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 Management AI Assistant (v5)
An intelligent college administrative assistant powered by Google Gemini and the Model Context Protocol (MCP). The assistant interacts with a relational SQLite database through structured FastMCP tools to answer inquiries regarding students, faculty, courses, enrollments, and academic performance.
Architecture Overview
+-------------------------------------------------------------+
| User / Client |
+-------------------------------------------------------------+
|
v
+-------------------------------------------------------------+
| Gemini LLM Assistant |
| (bot.py) |
+-------------------------------------------------------------+
|
MCP Protocol (stdio)
|
v
+-------------------------------------------------------------+
| FastMCP Server |
| (tooling.py) |
+-------------------------------------------------------------+
|
SQLite Queries
|
v
+-------------------------------------------------------------+
| College SQLite Database |
| (college.db) |
| - persons (students, faculty, staff) |
| - courses |
| - student_enrollments |
+-------------------------------------------------------------+Related MCP server: College Scorecard MCP Server
Features
Synthetic Data Generation: Creates realistic college records using
Fakerincluding students, faculty, courses, and grade histories.FastMCP Tooling: Exposes robust, schema-compliant MCP tools for querying academic records, courses, departments, and enrollment statistics.
Interactive Multi-turn Bot: Chat interface leveraging the Google GenAI SDK (
google-genai) with automatic tool call orchestration via MCP.Secure Configuration: Environment-based API key management with
.envsupport.
Project Structure
.
├── bot.py # Interactive Gemini chatbot integrating MCP tools via stdio
├── tooling.py # FastMCP Server exposing database querying tools
├── create_data.py # SQLite database schema initializer & synthetic data generator
├── college.db # SQLite database file (generated by create_data.py)
├── system_prompt.txt # System instruction prompt for the AI assistant
├── prompt.txt # Context and initial project design prompts
├── mcp_config.example.json # Example configuration for MCP client registration
├── requirements.txt # Python package dependencies
├── .env # Environment variables (GEMINI_API_KEY)
└── .gitignore # Git ignore file for Python, SQLite, and secretsDatabase Schema
The SQLite database (college.db) includes the following relational tables:
persons: Stores students, faculty, and staff profiles (ID, name, email, phone, DOB, gender, address, role).courses: Stores course listings (course ID, code, course name, department, credits, assigned instructor).student_enrollments: Stores enrollment details (enrollment ID, student ID, course ID, date, grade, semester).
Available MCP Tools (tooling.py)
get_student_info(student_id_or_name): Retrieve student profiles by ID, name, or email.get_course_details(course_code_or_name): Get course details and instructor info.get_student_enrollments(student_id_or_name): List all courses and grades for a student.get_students_by_course(course_code_or_name): List students enrolled in a given course.list_courses_by_department(department): List all courses in an academic department.get_courses_taught_by_faculty(faculty_id_or_name): List courses taught by a faculty member.search_persons(query, role): Search persons across roles (student, faculty, staff).get_course_statistics(course_code_or_name): Summary stats (total enrolled, grade distribution).list_all_courses(): Complete directory of all college courses.execute_custom_sql_query(query): Read-only query execution for complex aggregations.
Setup & Installation
1. Prerequisites
Python 3.10+ installed
Google Gemini API Key (Google AI Studio)
2. Install Dependencies
pip install -r requirements.txt3. Configure Environment Variables
Create or edit your .env file in the project root:
GEMINI_API_KEY=your_actual_gemini_api_key_here4. Generate Synthetic Database
Initialize the database with synthetic records:
python create_data.pyUsage
Run the Interactive AI Bot
python bot.pyType your academic or administrative questions (e.g., "Show me all courses in Computer Science" or "What grades did John Doe receive?"). Type exit or quit to end the session.
Connect as an MCP Server (e.g. IDE / Claude Desktop / Antigravity)
Reference mcp_config.example.json to register tooling.py in your MCP client configuration:
{
"mcpServers": {
"college-tools-mcp": {
"command": "python",
"args": [
"-Wignore",
"<FULL_PATH_TO>/tooling.py"
]
}
}
}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
- FlicenseNot gradedqualityDmaintenanceMCP server for querying a university course catalog. Enables searching courses, checking prerequisites, and looking up instructors via natural language.
- AlicenseNot gradedqualityAmaintenanceSearch, compare, and analyze U.S. college data — costs, earnings, programs, and outcomes — via MCP.1151Apache 2.0
- FlicenseNot gradedqualityCmaintenanceProvides tools for querying student academic data such as subjects, marks, performance reports, timetable, exams, fees, events, holidays, and assignments via natural language.
- FlicenseNot gradedqualityCmaintenanceEnables querying student information such as marks, attendance, pending assignments, and timetables from a MySQL database through MCP tools.
Related MCP Connectors
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Official Microsoft MCP Server to query Microsoft Entra data using natural language
Academic research MCP server for paper search, citation checks, graphs, and deep research.
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/IshaanShivalli/MCP-tools_for-collegeDB'
If you have feedback or need assistance with the MCP directory API, please join our Discord server