Knowledge Assistant
FreeNot checkedA custom MCP server providing semantic note memory (Qdrant + FastEmbed) and optional web search (Tavily) tools for a LangGraph ReAct agent.
About
A custom MCP server providing semantic note memory (Qdrant + FastEmbed) and optional web search (Tavily) tools for a LangGraph ReAct agent.
README
A personal knowledge assistant built on the Model Context Protocol (MCP). A custom FastMCP server exposes tools (semantic note memory + web search); a LangGraph ReAct agent discovers and calls those tools over HTTP.
User Query -> LangGraph Agent -> MultiServerMCPClient -> MCP Server (FastMCP)
|-- Qdrant (notes) + FastEmbed (local)
|-- Tavily (web)
Free stack (no paid keys)
| Concern | Original | This setup (free) |
|---|---|---|
| Embeddings | OpenAI | FastEmbed BAAI/bge-small-en-v1.5 (local, no key) |
| Agent LLM | Anthropic Claude | OpenRouter free model (one free key) |
| Web search | Tavily | Tavily (free tier, optional) |
| Vector store | Qdrant (Docker) | Qdrant (Docker) |
The note-memory tools (add_note, list_notes, search_notes) need no API
key at all — embeddings run locally. Only the agent's LLM needs a (free)
OpenRouter key.
Status on this machine
| Component | Status |
|---|---|
| venv + dependencies | installed (venv/) |
| Qdrant (Docker, :6333) | running |
| MCP server (:8001) | running |
| Memory pipeline (no keys) | VERIFIED via test_memory.py |
| Agent wiring | VERIFIED via test_connection.py |
| Full agent run | needs OPENROUTER_API_KEY in .env |
1. Add your free OpenRouter key
Get one at https://openrouter.ai/keys, then put it in .env:
OPENROUTER_API_KEY=sk-or-...
# OPENROUTER_MODEL=meta-llama/llama-3.3-70b-instruct:free # optional override
TAVILY_API_KEY= # optional web search
The agent is a tool-calling ReAct agent, so the OpenRouter model must support function/tool calling. Good free options:
meta-llama/llama-3.3-70b-instruct:free,qwen/qwen-2.5-72b-instruct,deepseek/deepseek-chat. If a model ignores tools, switchOPENROUTER_MODEL.
2. Start the MCP server (own terminal)
venv/Scripts/python mcp_server.py
Serves MCP at http://localhost:8001/mcp.
3. Verify without keys (optional)
venv/Scripts/python test_connection.py # tool discovery + list_notes
venv/Scripts/python test_memory.py # add -> list -> semantic search
4. Run the agent (needs OpenRouter key)
venv/Scripts/python mcp_agent.py "Save a note titled 'RAG Tips': Always use hybrid search"
venv/Scripts/python mcp_agent.py "What did I learn about retrieval?"
venv/Scripts/python mcp_agent.py "What notes do I have?"
venv/Scripts/python mcp_agent.py "Search the web for news about LangGraph 2026" # needs Tavily
Compatibility fixes applied vs. the original handout
The handout code targets older library versions. Updated for current releases:
- Embeddings -> local FastEmbed (
mcp_server.py). No OpenAI key;EMBED_DIMchanged 1536 -> 384 to matchbge-small-en-v1.5. - Agent LLM -> OpenRouter via
ChatOpenAI(base_url=...)(mcp_agent.py), replacinginit_chat_model("anthropic:..."). MultiServerMCPClientis not a context manager anymore (langchain-mcp-adapters0.1.0+) — instantiated directly, thenget_tools().qdrant.search()->qdrant.query_points(...).points(qdrant-client 1.12+).
Inspect the server interactively (optional)
npx @modelcontextprotocol/inspector http://localhost:8001/mcp
Installing Knowledge Assistant
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/deepxk2403/mcp-knowledge-assistantFAQ
Is Knowledge Assistant MCP free?
Yes, Knowledge Assistant MCP is free — one-click install via Unyly at no cost.
Does Knowledge Assistant need an API key?
No, Knowledge Assistant runs without API keys or environment variables.
Is Knowledge Assistant hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Knowledge Assistant in Claude Desktop, Claude Code or Cursor?
Open Knowledge Assistant on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Knowledge Assistant with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
