Campus Life MCP Server

Campus Life MCP Server

An MCP server that provides information about IIT Guwahati campus life using a RAG pipeline backed by Qdrant Cloud.

Category
Visit Server

README

Campus Life MCP Server

An MCP (Model Context Protocol) server that provides information about IIT Guwahati campus life using a Retrieval-Augmented Generation (RAG) pipeline backed by Qdrant Cloud.

The server exposes a single MCP tool:

  • campus_life_info – Retrieves relevant campus life information from Qdrant and returns it to the MCP client (Claude Desktop).

Architecture

Claude Desktop
        │
        ▼
Cloudflare Tunnel
        │
        ▼
FastMCP HTTP Server
        │
        ▼
CampusLifeRetriever
        │
        ▼
Qdrant Cloud
        │
        ▼
Retrieved Chunks
        │
        ▼
Claude Desktop

Project Structure

campus-life-mcp/
│
├── server.py          # FastMCP server and MCP tool
├── retriever.py       # Qdrant retrieval pipeline
├── models.py          # Embedding & reranker models
├── observe.py         # Logfire tracing
├── config.py          # Configuration
├── .env.example       # Environment variables template
├── pyproject.toml
├── uv.lock
└── README.md

Retrieval Pipeline

User Query
      │
      ▼
Generate Embedding (BGE)
      │
      ▼
Qdrant Dense Search
      │
      ▼
CrossEncoder Reranking
      │
      ▼
Top K Chunks
      │
      ▼
Return to Claude

Prerequisites

  • Python 3.11+
  • uv
  • Cloudflare Tunnel (cloudflared)
  • Claude Desktop
  • Qdrant Cloud account

Setup

1. Clone the repository

git clone <repository-url>

cd campus-life-mcp

2. Install dependencies

uv sync

3. Create .env

Copy the example file.

cp .env.example .env

Fill the values:

QDRANT_URL=

QDRANT_API_KEY=

COLLECTION_NAME=

LOGFIRE_TOKEN=

LOGFIRE_SERVICE=campus-life-mcp

4. Start the MCP Server

uv run server.py

The server starts on

http://localhost:8000

Expose using Cloudflare Tunnel

Open another terminal and run

cloudflared tunnel --url http://localhost:8000

Cloudflare will generate a public URL similar to

https://xxxxx.trycloudflare.com

Connect to Claude Desktop

Add the remote MCP server using the generated Cloudflare URL.

Example:

{
  "mcpServers": {
    "campus-life": {
      "url": "https://xxxxx.trycloudflare.com/mcp"
    }
  }
}

Restart Claude Desktop.

The tool campus_life_info should now appear.


Example Query

Tell me about Kapili Hostel.

or

What clubs are available at IIT Guwahati?

or

What sports facilities are available on campus?


Logging

The server uses Logfire for observability.

It records:

  • Tool calls
  • Query execution
  • Latency
  • Exceptions

Technologies Used

  • FastMCP
  • Qdrant Cloud
  • Sentence Transformers (BGE Base)
  • BGE CrossEncoder Reranker
  • Logfire
  • Cloudflare Tunnel
  • uv

Future Improvements

  • Multiple MCP tools
  • Metadata filtering
  • Streaming responses
  • Docker support
  • Render deployment

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured