Personal Knowledge-Base MCP Server
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 Knowledge-Base MCP Serversearch my notes for anything related to neural network optimization"
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 Knowledge-Base MCP Server
A recruiter-ready MCP server that exposes semantic search over a real, personally-owned document corpus.
Problem
Keyword search misses semantically related information when the wording differs. This project indexes personal notes with embeddings and exposes reusable retrieval tools through the Model Context Protocol.
Related MCP server: research-mcp
What it ships
FastMCP server with 3 callable tools:
search_notes(user_id, query, top_k)— ranked chunks + source citationsget_document(user_id, doc_id)— full indexed document contextlist_sources(user_id)— indexed sources
PDF/Markdown/TXT ingestion and overlap-aware chunking
sentence-transformers/all-MiniLM-L6-v2embeddingsQdrant vector storage with per-user collections
Similarity threshold with explicit
no_confident_matchFastAPI multi-user web demo with signup/login, upload and search
Hand-labeled retrieval evaluation script
Architecture
See architecture.md.
Quick start
1. Install
python -m venv .venv
# Windows:
.venv\Scripts\activate
# macOS/Linux:
source .venv/bin/activate
pip install -r requirements.txt2. Configure Qdrant Cloud
Create a free Qdrant Cloud cluster, copy its URL/API key, and create .env from .env.example.
QDRANT_URL=https://YOUR-CLUSTER.qdrant.io
QDRANT_API_KEY=YOUR_KEY3. Add your real corpus
Put 2–5 of your own semester notes in corpus/, then:
python ingest.py --user demo --path corpus4. Run the web demo
uvicorn api:app --reloadOpen http://127.0.0.1:8000.
5. Run the MCP server
python server.pyFor Claude Desktop, add the server command to the MCP configuration using the absolute path to server.py and the same Python interpreter from your virtual environment.
Example shape:
{
"mcpServers": {
"personal-knowledge-base": {
"command": "C:\\PATH\\TO\\.venv\\Scripts\\python.exe",
"args": ["C:\\PATH\\TO\\personal-knowledge-base-mcp\\server.py"]
}
}
}Retrieval quality
Create a small hand-labeled set in evaluation_queries.json, with each query mapped to the correct doc_id, then run:
python evaluate.py --user demoReport the actual measured Precision@k in your final README. Do not fabricate the number.
Demo
See demo_script.md for a 5-minute live demo sequence.
Tech stack
Python · FastMCP · Qdrant Cloud · Sentence Transformers · FastAPI · SQLite · PDF/Markdown/TXT
Why this is useful
The MCP layer is protocol-level: the same retrieval capability can be called by Claude Desktop or another MCP-compatible client instead of being locked into a custom chatbot UI.
Limitations
This is a fellowship/demo implementation. Authentication is intentionally basic; production deployments should add secure sessions, password hashing, authorization middleware, rate limits, encrypted storage, and stronger tenant isolation.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables users to build and query a private knowledge base by uploading documents, which are embedded and stored locally, then accessible via MCP for semantic search and retrieval.
- FlicenseAqualityBmaintenanceEnables semantic search across personal PDF paper collections with page-level citations, allowing users to query their library from any MCP-capable client.9
- AlicenseNot gradedqualityAmaintenanceProvides MCP tools for semantic search over personal knowledge sources using pluggable embeddings and local vector indexing.1MIT
- FlicenseNot gradedqualityCmaintenanceEnables semantic search over a software project's Markdown and text documentation by indexing document chunks in Qdrant and exposing retrieval through MCP tools.
Related MCP Connectors
Hosted MCP memory: save sessions/decisions once, search from Claude, Cursor, ChatGPT. EU-hosted FTS.
Agentic search over your Dewey document collections from any MCP-compatible client.
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/samaviaminahil76/Personal-knowledge-base-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server