examintel-mcp

examintel-mcp

An MCP server that indexes exam PDFs and HTML documents for semantic search, topic frequency analysis, and study plan generation, fully local and private.

Category
Visit Server

README

examintel-mcp

An MCP (Model Context Protocol) server that turns your own PYQ/syllabus PDFs and HTML documents into a queryable exam-intelligence tool — usable from Claude Desktop or any MCP client. Runs fully locally. No API keys, no signups, no per-query cost.

1. Prerequisites

Python 3.10+ installed. Check with:

python3 --version

(On Windows, this is usually just python --version in Command Prompt or PowerShell.)

2. Setup

# from inside the examintel-mcp folder
python3 -m venv venv

# activate it:
source venv/bin/activate        # macOS/Linux
venv\Scripts\activate           # Windows (Command Prompt or PowerShell)

pip install -r requirements.txt

3. Add your PYQs

Organize PDFs or HTML files under data/pdfs/<subject>/<year>.pdf or data/pdfs/<subject>/<source_name>.html — the folder name becomes the subject tag, and the filename (without extension) becomes the year/source tag. Example:

data/pdfs/COA/2022.pdf
data/pdfs/COA/2023.pdf
data/pdfs/COA/2024.pdf
data/pdfs/CN/CN_Master_Guide.html
data/pdfs/JAVA/Java_Master_Guide.html

Start with 2 subjects, not your whole semester — get the pipeline working end to end first, then scale up.

4. Build the index

python ingest.py

First run downloads a small (~67MB) embedding model from Hugging Face — that's the only time this needs internet. Every run after that, and every query, is fully offline. You'll see a per-file chunk count printed; if a file shows 0 chunks, it's probably a scanned/image-only PDF (see Limitations below).

5. Connect it to Claude Desktop

Claude Desktop installs local MCP servers as "Desktop Extensions" (.mcpb files), not through manual JSON config editing.

  1. Open Claude Desktop → Settings → Extensions → Advanced settings → Extension Developer section → "Install Extension..."
  2. Select the .mcpb file built from extension/.
  3. When prompted for Project Data Folder, select this project's folder (the one with data/pdfs and chroma_db).
  4. Restart Claude Desktop, then ask something like: "Use examintel to find COA pipelining questions"

6. The three tools

  • search_topic(subject, query) — semantic search across indexed papers, returns matches with year + source
  • topic_frequency(subject) — ranks recurring terms by how often they appear
  • generate_study_plan(subject, days_remaining) — combines frequency with your timeline into a revision order

7. Limitations (be upfront about these in interviews — it reads better than pretending they don't exist)

Scanned/photocopied PDFs with no embedded text won't extract anything — OCR fallback (pytesseract) isn't wired in yet; that's a clean, well-scoped v2 feature to mention if asked "what would you add next." The question-boundary chunker is a regex heuristic tuned for "Q1.", "Q.1", "1.", "1)" style numbering — unusual paper formats may fall back to fixed-window chunking, which still works but loses the "one chunk = one question" cleanliness. topic_frequency is keyword counting, not true topic modeling — a fast, transparent first version, not a final one.

8. Next step: publish it

Once this works locally, publish to the official MCP registry (modelcontextprotocol/registry on GitHub, via the mcp-publisher CLI) and cross-list on mcp.so / smithery.ai. That's what turns this from "a project on my laptop" into a public, clickable artifact — see the PRD for the full checklist.

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
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
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
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