TechMCP
Integrates with PSG College of Technology's e-campus portal to provide AI assistants access to student academic data like marks, attendance, and timetables.
๐ TechMCP - PSG College of Technology MCP Server
TechMCP is a comprehensive Model Context Protocol (MCP) server that seamlessly integrates with PSG College of Technology's e-campus portal. It provides AI assistants like Claude, Cursor, and Raycast with direct access to student academic data including CA marks, attendance records, and timetable information.
๐ Server hosting coming soon! No more local setup required.
โจ Features
๐ CA Marks & Assessment Tools
- CA1 & CA2 Marks: Fetch continuous assessment marks for individual subjects or all subjects
- Assignment Marks: Get assignment scores for theory courses
- Tutorial Marks: Access tutorial marks and MPT scores
- Subject Search: Search by subject code or subject name
- Health Monitoring: Built-in health checks for scraper status
๐ Attendance Management
- Attendance Percentage: Real-time attendance tracking for all subjects
- Present/Absent Hours: Detailed hour-wise attendance breakdown
- Bunk Calculator: Smart calculation of available bunks while maintaining minimum attendance
- Subject-wise Analysis: Individual subject attendance details
- Attendance Alerts: Monitor attendance status across all courses
๐ Smart Timetable System
- Live Schedule: Get current day's complete timetable
- Next Class: Find your immediate next class with location details
- Remaining Classes: See what's left for today
- Weekly Schedule: Complete week view with all subjects
- Break Schedule: Track break times and current break status
- Tomorrow's Schedule: Plan ahead with next day's timetable
- Day-specific Schedule: Get timetable for any day of the week
๐ฏ Course Management
- Course Directory: Complete list of all available courses
- Course Search: Find courses by code or name
- Detailed Course Info: Get comprehensive course details including timetable
- Subject Mapping: Automatic mapping between course codes and names
๐ฎ Coming Soon
- CGPA Calculator: Calculate current CGPA and predict future performance
- CA Schedule: Upcoming continuous assessment dates
- Semester Schedule: Important academic dates and deadlines
๐ Prerequisites
- Python 3.10+
- Valid PSG Tech e-campus credentials
- Internet connection for portal access
๐ Installation
1. Clone the Repository
git clone https://github.com/codit04/TechMCP.git
cd TechMCP
2. Install Dependencies
pip install -r requirements.txt
3. Configure Credentials
โ ๏ธ IMPORTANT: You must update the config.json file with your PSG Tech e-campus credentials:
{
"credentials": {
"roll_number": "YOUR_ACTUAL_ROLL_NUMBER",
"password": "YOUR_ACTUAL_PASSWORD"
},
"server": {
"host": "localhost",
"port": 8080,
"sse_mode": true
}
}
4. Start the Server
python server.py
The server will start on http://127.0.0.1:8080/sse and be ready for MCP connections.
๐ Connecting to AI Assistants
๐ฑ๏ธ Cursor IDE
- Create the MCP configuration directory:
mkdir -p ~/.cursor
- Create
~/.cursor/mcp.jsonwith the following content:
{
"mcpServers": {
"techmcp": {
"url": "http://127.0.0.1:8080/sse",
"name": "TechMCP - PSG Tech Integration",
"transport":"sse"
}
}
}
- Restart Cursor IDE
- The server will appear in your MCP settings
- Start asking questions like: "What are my CA1 marks?" or "What's my next class?"
๐ค Claude Desktop
- Install the server locally:
# From the TechMCP directory
mcp install server.py
- Restart Claude Desktop
- The TechMCP server will be available in Claude's tools panel
- Ask Claude about your academic data directly!
โก Raycast
- Ensure the server is running on
http://127.0.0.1:8080/sse - Install a compatible MCP extension for Raycast
- Configure the server URL in Raycast settings
- Access your academic data through Raycast commands
๐ ๏ธ Available Tools
Marks & Assessment
get_ca1_subject_mark- Get CA1 mark for a specific subjectget_ca2_subject_mark- Get CA2 mark for a specific subjectget_ca1_all_marks- Get CA1 marks for all subjectsget_ca2_all_marks- Get CA2 marks for all subjectsget_assignment_mark_by_subject- Get assignment marks for a subjectget_all_assignment_marks- Get all assignment marksget_tutorial_marks_by_subject- Get tutorial marks for a subjectget_all_tutorial_marks- Get all tutorial markslist_available_subjects- List all available subjectshealth_check- Check scraper health status
Attendance Management
get_subject_attendance_percentage- Get attendance % for a subjectget_all_attendance_percentages- Get attendance % for all subjectsget_subject_absent_hours- Get absent hours for a subjectget_all_absent_hours- Get absent hours for all subjectsget_subject_present_hours- Get present hours for a subjectget_all_present_hours- Get present hours for all subjectsget_subject_available_bunks- Calculate available bunks for a subjectget_all_available_bunks- Calculate available bunks for all subjects
Timetable & Schedule
get_next_class- Get your next scheduled classget_todays_schedule- Get today's complete scheduleget_schedule_from_now- Get remaining classes for todayget_tomorrows_schedule- Get tomorrow's scheduleget_schedule_for_day- Get schedule for a specific dayget_weekly_schedule- Get complete weekly timetableget_break_schedule- Get break times and current status
Course Information
get_all_courses- Get list of all coursessearch_courses- Search courses by name or codeget_course_details- Get detailed course information
๐ก Usage Examples
With Cursor/Claude
"What are my CA1 marks for Data Structures?"
"Show me my attendance percentage for all subjects"
"What's my next class?"
"How many hours can I bunk in Computer Networks while maintaining 75% attendance?"
"What's my complete schedule for tomorrow?"
Direct API Usage
# Get CA1 marks for a subject
curl -X POST http://127.0.0.1:8080/mcp \
-H "Content-Type: application/json" \
-d '{"method": "get_ca1_subject_mark", "params": {"subject": "20XTO1"}}'
๐ค Contributing
We welcome contributions to improve TechMCP! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
๐ Issues & Suggestions
- GitHub Issues: Create an issue for bugs or feature requests
- Discord Community: Join our discussion at @discord.gg/fRFGPQKERJ
๐ Acknowledgments
- @mathanamathav - Inspiration from the bunker-api project
- PSG College of Technology - For the excellent e-campus portal
- E-Campus Portal - The source of all academic data
โ๏ธ Legal & Privacy
- This project is for educational purposes only
- Uses your own credentials to access your own data
- No data is stored or transmitted to external servers
- Respects PSG Tech's e-campus terms of service
- Open source and transparent
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ง Technical Details
- Framework: FastMCP 2.0+
- Web Scraping: Beautiful Soup 4, httpx
- Data Models: Pydantic
- Transport: Server-Sent Events (SSE)
- Authentication: Session-based with CSRF protection
Made with โค๏ธ for PSG Tech Students
Simplifying academic data access through AI
Related Servers
Context Lens
Semantic search knowledge base for MCP-enabled AI assistants
VFX MCP
A powerful video editing server using ffmpeg-python to process external video files.
Stock Market Tracker
MCP server for advanced financial analysis, stock monitoring, and real-time market intelligence to support buy/sell decisions
senado-br-mcp
MCP Server for Brazilian Federal Senate open data - legislators, bills, votes, committees
ๅๆๅคงๆจกๅๅฎๅ จ MCP
A content security protection system for large language models, providing real-time risk identification and interception to ensure safe and compliant applications.
Control4 MCP Server
A safe-by-default MCP server that exposes your Control4 home automation (lights, scenes, locks, thermostats, and media) as structured tools over HTTP and Claude Desktop STDIO for reliable AI-powered control on your local network.
MCP Weather Server
Provides real-time weather information and forecasts using the OpenWeatherMap API.
IPMA MCP Server
Access meteorological data for Portugal from the IPMA public API using natural language.
Vibe Math MCP
A high-performance Model Context Protocol (MCP) server for math-ing whilst vibing with LLMs. Built with Polars, Pandas, NumPy, SciPy, and SymPy for optimal calculation speed and comprehensive mathematical capabilities from basic arithmetic to advanced calculus and linear algebra.
Quiz MCP
MCP server for interactive quizzes