VignanUniversity MCP Server
Enables semantic search over the Vignan University knowledge base using Pinecone vector storage and Sentence Transformers.
README
Vignan University MCP Server
A FastAPI-based Model Context Protocol (MCP) server that enables semantic search over the Vignan University knowledge base using Pinecone vector storage and Sentence Transformers.
Overview
This server exposes a simple tool interface that allows clients to retrieve semantically relevant chunks of information from the Vignan University namespace stored in Pinecone. It uses the all-MiniLM-L6-v2 sentence transformer model to embed queries and perform similarity search.
Prerequisites
- Python 3.8+
- A Pinecone account with an index populated under the
Vignannamespace - The index must use 384-dimensional vectors (matching
all-MiniLM-L6-v2output)
Installation
-
Clone the repository and navigate to the project directory.
-
Install dependencies:
pip install -r requirements.txt -
Set up environment variables by creating a
.envfile in the project root:PINECONE_API_KEY=your_pinecone_api_key PINECONE_INDEX=your_index_name
Running the Server
python vignan_mcp_server.py
The server will start at http://localhost:8000.
API Endpoints
GET /list-tools
Returns metadata about all available tools exposed by this MCP server.
Response:
{
"server": "VignanUniversity MCP Server",
"tools": [
{
"name": "VignanUniversity",
"description": "...",
"parameters": { ... }
}
]
}
POST /callTool
Invokes a tool by name with the provided arguments.
Request body:
{
"name": "VignanUniversity",
"arguments": {
"query": "query",
"top_k": 5
}
}
| Field | Type | Required | Description |
|---|---|---|---|
name |
string | Yes | Must be "VignanUniversity" |
arguments.query |
string | Yes | Natural language query to search the knowledge base |
arguments.top_k |
integer | No | Number of results to return (default: 5) |
Response:
{
"result": [
{
"score": 0.91,
"text": "Relevant chunk text...",
"source": "document_name.pdf",
"chunk_index": 3
}
]
}
GET /health
Health check endpoint.
Response:
{ "status": "healthy" }
Project Structure
.
├── vignan_mcp_server.py # Main server application
├── requirements.txt # Python dependencies
└── .env # Environment variables
Dependencies
| Package | Purpose |
|---|---|
fastapi |
Web framework for building the API |
uvicorn |
ASGI server to run the FastAPI app |
fastmcp |
MCP protocol utilities |
pinecone |
Pinecone vector database client |
sentence-transformers |
Embedding model (all-MiniLM-L6-v2) |
python-dotenv |
Load environment variables from .env |
httpx |
HTTP client (async support) |
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
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.