MedXpert 图书馆连接器(通用版)
v1.0.2Local RAG MCP server for your own .md knowledge base: BM25 + local Ollama, offline, zero egress.
Values you need
| Variable | What it is | |
|---|---|---|
LIBRARY_WIKI_DIR | optional | Directory of your own .md files. Defaults to the sample wiki bundled in the package. |
OLLAMA_BASE_URL | optional | Local Ollama endpoint used for embeddings and generation (default http://127.0.0.1:11434). |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add medxpert-library-connector -- uvx --from medxpert-library-connector==1.0.2 medxpert-libraryAdd to
claude_desktop_config.json{
"mcpServers": {
"medxpert-library-connector": {
"args": [
"--from",
"medxpert-library-connector==1.0.2",
"medxpert-library"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"medxpert-library-connector": {
"args": [
"--from",
"medxpert-library-connector==1.0.2",
"medxpert-library"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"medxpert-library-connector": {
"args": [
"--from",
"medxpert-library-connector==1.0.2",
"medxpert-library"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.medxpert-library-connector]
command = "uvx"
args = ["--from", "medxpert-library-connector==1.0.2", "medxpert-library"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: search_knowledge, get_page, list_sources, ask_knowledge.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json