MedXpert 图书馆连接器(通用版)
v1.0.2Local RAG MCP server for your own .md knowledge base: BM25 + local Ollama, offline, zero egress.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_knowledge
语义检索本地知识库(wiki .md 文档)。返回相关片段及相似度。例:'二类注册需提交哪些资料'、'ISO 13485 现行版本'。
| Parameter | Type | Description |
|---|---|---|
query * | string | 查询内容 |
top_k | number | 返回条数(1-20,默认 5) |
get_page
读取知识库单个 wiki 页全文。标题可用 search_knowledge 的结果或文件名。
| Parameter | Type | Description |
|---|---|---|
title * | string | 页面标题或文件名(不含 .md) |
list_sources
返回知识库范围:页数、分类统计、RAG 索引条目数、数据源目录。
ask_knowledge
RAG 问答:检索知识库片段 + 本地生成模型回答,附引用来源。零积分、离线可用。
| Parameter | Type | Description |
|---|---|---|
question * | string | 向知识库提问 |
top_k | number | 检索片段数(默认 5) |