Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Personal Research Assistant MCPWhat are the main challenges in RAG systems according to my research?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ Personal Research Assistant MCP
A production-ready MCP (Model Context Protocol) server that enables semantic search across your personal research library. Built for AI Engineers who need fast, accurate document retrieval integrated with Claude Desktop and other AI tools.
๐ฏ Problem Statement
Researchers and professionals accumulate dozens of papers and documents but struggle to:
Find relevant information across multiple documents
Remember which paper contained specific insights
Connect related concepts across different sources
Spend 2+ hours daily searching for information
Traditional keyword search misses semantic connections, and reading everything is impractical.
๐ก Solution
An MCP server that:
Indexes documents into a vector database using semantic embeddings
Enables Claude (or any MCP client) to query your research library conversationally
Provides sub-500ms response times with 85%+ retrieval accuracy
Includes a Streamlit dashboard for management and metrics
๐๏ธ Architecture
โจ Features
Semantic Search: Natural language queries across your entire library
Multi-Format Support: PDF, DOCX, HTML, Markdown, TXT
Fast Retrieval: <500ms query latency on 1000+ chunks
MCP Integration: Works with Claude Desktop, VS Code, and any MCP client
Metadata Extraction: Automatically extracts titles, authors, keywords
Query Logging: Track usage and performance metrics
Streamlit Dashboard: Upload, search, and visualize metrics
๐ Performance Metrics
Metric | Target | Actual |
Retrieval Accuracy | 85% | See METRICS.md |
Query Latency | <500ms | See METRICS.md |
Scale | 10k+ chunks | 1782+ chunks |
๐ Installation
Prerequisites
Python 3.11+
2GB RAM minimum
Git
Setup
Download Sample Data
Index Documents
๐ Usage
Start MCP Server
Configure Claude Desktop
Add to claude_desktop_config.json:
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop.
Launch Streamlit UI
Opens at http://localhost:8501
๐ ๏ธ MCP Tools
search_documents
Semantic search across your library.
get_document_summary
Get quick overview of a document.
find_related_papers
Find documents similar to a topic.
๐ Project Structure
๐งช Testing
๐ณ Docker Deployment
๐ Example Queries
Cross-document synthesis
"Compare different fine-tuning approaches for LLMs"Concept exploration
"How does RLHF improve model alignment?"Technical details
"Explain transformer attention mechanisms"Literature review
"What are recent developments in RAG systems?"
๐ง Customization
Change Embedding Model
Edit .env:
Adjust Chunk Size
Edit .env:
Add Document Types
Edit rag_pipeline/document_processor.py to add new file type handlers.
๐ Troubleshooting
ChromaDB errors: Delete data/chroma_db and re-index
Import errors: Verify pip install -r requirements.txt completed
UI blank: Check browser console, try Chrome/Firefox
Slow queries: Reduce TOP_K_RESULTS in .env
๐ง Future Enhancements
Auto-watch folder for new documents
Cross-encoder reranking for better accuracy
Multi-modal support (images, diagrams)
Citation network graph
Export to Notion/Obsidian
Web interface (FastAPI + React)
๐ฅ Demo Video
[Link to 2-minute demo video - Coming soon]
๐ค Contributing
Contributions welcome! Please open issues or PRs.
๐ License
MIT License - see LICENSE