KLH Campus Assistant
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.
KLH Campus Assistant — MCP Demo
A Model Context Protocol (MCP) server for KLH University Hyderabad, built with FastMCP. It exposes 7 tools (CGPA calculator, schedule-conflict checker, study-group finder, course search, club finder, exam schedule, library lookup) and 2 resources (campus FAQ, curriculum requirements) over local stdio — no deployment, no network service, just Python.
Files
server.py— the MCP server. Run directly withpython server.py(it will idle waiting for a client — that's expected).client.py— a terminal demo that connects to the server and drives a scripted conversation through Claude.web/app.py+web/index.html— a small FastAPI + browser chat UI for a live, on-screen demo.requirements.txt— all dependencies for server, CLI client, and web demo.
Related MCP server: mydy-lms
Setup & Running the Demo
Requirements
Python 3.10+ (project written for Python 3.14)
An Anthropic API key (get one at https://console.anthropic.com/keys)
Step 1: Install Dependencies
Open a terminal in this folder and run:
pip install -r requirements.txtStep 2: Set Your API Key
You need to set your Anthropic API key as an environment variable:
On macOS/Linux:
export ANTHROPIC_API_KEY=sk-ant-...(Replace sk-ant-... with your actual API key)
On Windows (Command Prompt):
set ANTHROPIC_API_KEY=sk-ant-...On Windows (PowerShell):
$env:ANTHROPIC_API_KEY="sk-ant-..."Step 3: Run the Terminal Demo (Fastest)
Run this command to see the MCP server in action with a scripted demo:
python client.pyThis will automatically start the MCP server and walk through several examples:
CGPA calculation
Schedule conflict checking
Study group search
Club search
Step 4: Run the Interactive Web Chat (Recommended)
For a live, interactive demo with a visual UI:
# Navigate to the web folder
cd web
# Start the app (on Windows, use 'python -m uvicorn' instead)
uvicorn app:app --reload --port 8000Then open your browser and go to http://localhost:8000
Paste your API key into the page
Chat with the assistant — every tool call appears as an expandable card
Try queries like:
"What's my CGPA?"
"Do I have any schedule conflicts?"
"Find study groups for Data Structures"
"List all clubs at KLH"
Troubleshooting
ModuleNotFoundError: Make sure you installed dependencies with
pip install -r requirements.txtAPI key errors: Verify your API key is set correctly (it should start with
sk-ant-)Port 8000 already in use: Try a different port:
uvicorn app:app --reload --port 8001
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for study aids: element table, formula lookup and knowledge-point practice.
Educational MCP server with 17 math/stats tools, visualizations, and persistent workspace
A MCP server built for developers enabling Git based project management with project and personal…
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
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 gradedqualityBmaintenanceAn MCP server for interacting with the MyDy (Moodle-based) LMS, enabling attendance viewing, course browsing, assignment and grade checking, announcement reading, and material downloading.7MIT
- AlicenseBqualityDmaintenanceMCP server for IIT Kharagpur ERP that enables querying grades, CGPA, attendance, timetable, placements, and more through any AI agent.282MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that provides intelligent student assistance tools for academic calculations, attendance tracking, marks analysis, and syllabus reading via Groq LLM.1-