Metadata-Version: 2.4
Name: uaar-university-mcp
Version: 0.1.0
Summary: UAAR University MCP Server
Project-URL: Homepage, https://github.com/uaar-university/uaar-university-mcp
Project-URL: Repository, https://github.com/uaar-university/uaar-university-mcp.git
Project-URL: Documentation, https://github.com/uaar-university/uaar-university-mcp#readme
Project-URL: Issues, https://github.com/uaar-university/uaar-university-mcp/issues
Author: UAAR University
Maintainer: UAAR University
License: MIT License
        
        Copyright (c) 2025 UAAR University
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: academic,ai-agent,claude,education,mcp,university
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Education
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: bcrypt
Requires-Dist: fastapi
Requires-Dist: mcp
Requires-Dist: python-jose[cryptography]
Requires-Dist: python-multipart
Requires-Dist: rich
Requires-Dist: uvicorn
Description-Content-Type: text/markdown

# UAAR University MCP Server

[![PyPI version](https://img.shields.io/pypi/v/uaar-university-mcp.svg)](https://pypi.org/project/uaar-university-mcp/)
[![Python Versions](https://img.shields.io/pypi/pyversions/uaar-university-mcp.svg)](https://pypi.org/project/uaar-university-mcp/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

A Model Context Protocol (MCP) server for UAAR University, providing AI agents with access to academic resources, admissions, student services, and more.

## Features

- **Academic Resources**: Course search, department information, merit lists
- **Faculty Directory**: Search faculty by name or research interest
- **Student Services**: Library, Hostel, Transport, and Scholarship information
- **Results & Exams**: Check semester results, CGPA, and exam schedules
- **Admissions**: Check admission status, admission forms, and programs
- **Administrative Tools**: Contact information, event listings, fee structures
- **Admin Features**: Add departments, courses, faculty, events, scholarships

## Installation

### From PyPI

```bash
pip install uaar-university-mcp
```

### Using uv

```bash
uv add uaar-university-mcp
```

## Usage

### As a Standalone MCP Server

```bash
# Run with stdio transport (for Claude Code CLI)
python -m server.cli

# Or run the HTTP server with SSE
python -m server.main --http
```

### Integration with Claude Desktop

Add to your Claude Desktop configuration (`claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "uaar-university": {
      "command": "python",
      "args": [
        "-m",
        "server.cli"
      ]
    }
  }
}
```

### Integration with Claude Code

Add to your Claude Code MCP configuration:

```json
{
  "mcpServers": {
    "uaar-university": {
      "command": "uv",
      "args": [
        "run",
        "-m",
        "server.cli"
      ]
    }
  }
}
```

## Available Tools

The MCP server provides over 50 tools across these categories:

### Academic Tools
- Search courses by name or code
- List academic departments
- Get merit lists by department
- Get class and exam schedules

### Student Services
- Check admission status
- Get semester results and CGPA
- Search library books
- Check hostel availability
- Get scholarship information

### Faculty & Administration
- Search faculty members
- Get department contact information
- List upcoming events
- Get news and announcements

### Administrative Tools (Admin only)
- Add new departments, courses, faculty
- Add library books and scholarships
- Add university events and news

## Development

### Setup Development Environment

```bash
# Clone repository
git clone https://github.com/uaar-university/uaar-university-mcp.git
cd uaar-university-mcp

# Install dependencies
uv sync

# Install in development mode
uv pip install -e .
```

### Running in Development

```bash
# Run with stdio transport (for testing with Claude Code)
uv run python -m server.cli

# Or run HTTP server for testing SSE
uv run python -m server.main --http
```

## Configuration

The server uses a SQLite database by default. To use a different database:

1. Copy `.env.example` to `.env`
2. Update the database connection string

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Acknowledgments

- Built with [Model Context Protocol (MCP)](https://spec.modelcontextprotocol.io/)
- Uses [FastMCP](https://github.com/modelcontextprotocol/python-sdk) from the MCP Python SDK
- Inspired by educational technology initiatives at UAAR University
