Local RAG MCP server for your own .md knowledge base: BM25 + local Ollama, offline, zero egress.
MCPpedia last refreshed this data
io.github.zhaoxinghua09-cell/medxpert-library-connector is an MCP server that local RAG MCP server for your own .md knowledge base: BM25 + local Ollama, offline, zero egress. Its tool list has not been published yet over stdio, requires no API key, and scores 60/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"io-github-zhaoxinghua09-cell-medxpert-library-connector": {
"args": [
"medxpert-library-connector"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Local RAG MCP server for your own .md knowledge base: BM25 + local Ollama, offline, zero egress.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
uvx 'medxpert-library-connector' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked medxpert-library-connector against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in ai-ml / education
🛡️ BLA (Blind LLM Agents) — Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> Hallucinate.
Unified real-time search engine skill for AI agents.
The official MCP server implementation for the Perplexity API Platform
Free, open-source MCP server that gives AI coding agents (Claude Code, Codex, Cursor, OpenCode, ZCode…) design inspiration from award-winning websites — search with real screenshots, pull design DNA, capture and record live sites. A Mobbin alternative. No API key.
MCP Security Weekly
Get CVE alerts and security updates for io.github.zhaoxinghua09-cell/medxpert-library-connector and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Turn your own wiki (plain .md documents) into a locally searchable, RAG-capable MCP server.
| Tool | What it does |
|---|---|
search_knowledge(query, top_k?) | Semantic search over your wiki; snippets with similarity |
get_page(title) | Full text of one wiki page |
list_sources() | Library scope: page count, categories, index status |
ask_knowledge(question, top_k?) | RAG answer: retrieval + local generation model, with citations |
pip install medxpert-library-connector # or: uvx medxpert-library-connector
LIBRARY_WIKI_DIR=/path/to/your/wiki medxpert-library-connector
把**你自己的 wiki(.md 文档)**做成可语义检索、可 RAG 问答的本地知识库 MCP 连接器。
| 工具 | 说明 |
|---|---|
search_knowledge(query, top_k?) | 语义检索知识库,返回相关片段 + 相似度 |
get_page(title) | 读取单个 wiki 页全文 |
list_sources() | 库范围:页数 / 分类 / 索引状态 |
ask_knowledge(question, top_k?) | RAG 问答:检索 + 本地生成模型,附引用 |
# 1. 安装并启动 Ollama,拉取模型
ollama pull bge-m3 # 检索必备(嵌入)
ollama pull qwen2.5:7b # 问答可选(生成)
# 2. 用你自己的文档替换 wiki/(本包自带 3 个示例页)
# 把 .md 放进 wiki/ 即可,可建子目录分类
# 3. 构建向量索引
python rag_engine.py build
# 4. 启动 MCP server(stdio)
python medxpert_library_server.py
包内 mcp.json 已提供标准配置;在开放平台或客户端中引用本包目录即可。
也可用环境变量覆盖默认行为:
| 变量 | 默认值 | 说明 |
|---|---|---|
LIBRARY_WIKI_DIR | 本包 wiki/ | 知识库目录(指向你的文档) |
OLLAMA_BASE_URL | http://127.0.0.1:11434 | Ollama 地址 |
LIBRARY_EMBED_MODEL | bge-m3 | 嵌入模型 |
LIBRARY_GEN_MODEL | qwen2.5:7b | 生成模型(问答) |
medxpert-library-connector/
├── medxpert_library_server.py # MCP server(stdio,纯标准库)
├── rag_engine.py # 嵌入 / 余弦 / 构建 / 检索引擎
├── wiki/ # 示例知识库(替换成你自己的 .md)
├── connector-meta.json # 开放平台元数据
├── mcp.json # MCP 启动配置
├── icon.svg # 头像
├── LICENSE # Apache-2.0
├── requirements.txt # 依赖说明(仅 Ollama)
└── README.md
mcp-name: io.github.zhaoxinghua09-cell/medxpert-library-connector