MedXpert 图书馆连接器(通用版)
Local MCP server that searches and answers questions over your own Markdown wiki
- Pricing
- Open source
- Platforms
- CLI, self-hosted
- Runs
- Locally
- Version
- 1.0.2
- Listing updated
- 2 days ago
About MedXpert 图书馆连接器(通用版)
MedXpert 图书馆连接器(通用版) is an open-source MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.
This connector turns a folder of plain .md files into a searchable knowledge base that runs entirely on your computer. Retrieval and answers use a local Ollama instance (bge-m3 for embeddings and qwen2.5:7b for generation by default), so it needs no API keys, works offline and makes no external network calls. It is written with the Python standard library only.
It ships with a three-page sample wiki, and you point LIBRARY_WIKI_DIR at your own directory. Build the vector index with rag_engine.py, then start the stdio server. Answers from ask_knowledge include citations to the retrieved pages. The package is published as medxpert-library-connector on PyPI under Apache-2.0.
The publisher, MedXpert, is a Chinese medical-device regulatory consultancy, and this is its general-purpose edition; the project documentation is bilingual in English and Chinese.
Install
Run in a terminal
claude mcp add medxpert-library-connector -- uvx medxpert-library-connectorAdd to claude_desktop_config.json
{
"mcpServers": {
"medxpert-library-connector": {
"command": "uvx",
"args": [
"medxpert-library-connector"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"medxpert-library-connector": {
"command": "uvx",
"args": [
"medxpert-library-connector"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"medxpert-library-connector": {
"type": "stdio",
"command": "uvx",
"args": [
"medxpert-library-connector"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"medxpert-library-connector": {
"command": "uvx",
"args": [
"medxpert-library-connector"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"medxpert-library-connector": {
"command": "uvx",
"args": [
"medxpert-library-connector"
]
}
}
}Configuration
LIBRARY_WIKI_DIRDirectory of your own .md files. Defaults to the sample wiki bundled in the package.OLLAMA_BASE_URLLocal Ollama endpoint used for embeddings and generation (default http://127.0.0.1:11434).
Tools this server provides (4)
Taken from the project documentation; the running server may differ.
- search_knowledge
- Semantic search over your wiki, returning snippets with similarity.
- get_page
- Returns the full text of one wiki page.
- list_sources
- Shows page count, categories and index status.
- ask_knowledge
- Answers a question using retrieval plus a local model, with citations.
What it does
- Local semantic search
- Searches your wiki with embeddings from a local Ollama model.
- RAG answers
- Combines retrieval and a local model with citations.
- No external calls
- Runs offline; queries and documents stay on your machine.
- Standard library only
- No third-party runtime dependencies.
- Configurable models
- Environment variables set the wiki folder, Ollama URL and models.
- Sample wiki
- Includes three example pages to test with.
Good for
- Search personal Markdown notes by meaning
- Ask questions of an internal wiki with cited sources
- Read one wiki page in full
- Check the size and categories of a knowledge base
- Run retrieval in an air-gapped environment
Pricing
Open source
Apache-2.0; free, runs locally
Prices change. Check medxpert.cn before you buy.
MedXpert 图书馆连接器(通用版) FAQ
Does it send my documents anywhere?
No. The README says everything runs locally and no data is uploaded.
What do I need installed?
Python and Ollama with an embedding model; a generation model is optional for answers.
How do I use my own notes?
Set LIBRARY_WIKI_DIR to a folder of .md files and build the index.
What licence is the code under?
Apache-2.0.
Is MedXpert 图书馆连接器(通用版) free?
Yes. MedXpert 图书馆连接器(通用版) is open source, so you can use and self-host it for free.
How do I add MedXpert 图书馆连接器(通用版) to Claude Code?
Run this command in your terminal: claude mcp add medxpert-library-connector -- uvx medxpert-library-connector
What are the best alternatives to MedXpert 图书馆连接器(通用版)?
The closest alternatives to MedXpert 图书馆连接器(通用版) are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and note1.
Alternatives to MedXpert 图书馆连接器(通用版)

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Claude Code Ultimate Guide
MCP serverMCP server for searching the Claude Code Ultimate Guide from any MCP client
Runs locally- Open source
- 6.5K GitHub stars
- AI models and LLM tooling

Nautilus Compass Memory
MCP serverLocal-first long-term memory layer for AI agents, served over MCP
Not checked yet- 5 tools
- Remote
- Open source
- 1.3K GitHub stars
- Knowledge and memory

note1
MCP serverMCP server giving AI assistants search and summaries across your note1 meetings
- 4 tools
- Remote
- Free trial
- 1 GitHub star
- Productivity
Context Nest
MCP serverGoverned, versioned context vault that Claude, Cursor and other MCP clients read from
Not checked yet- 4 tools
- Remote
- Freemium
- Knowledge and memory