MedXpert 图书馆连接器(通用版)

v1.0.2
io.github.zhaoxinghua09-cell/medxpert-library-connector Checked 23 hours ago Published 15 days ago

Local 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 现行版本'。

ParameterTypeDescription
query *string查询内容
top_knumber返回条数(1-20,默认 5)

get_page

读取知识库单个 wiki 页全文。标题可用 search_knowledge 的结果或文件名。

ParameterTypeDescription
title *string页面标题或文件名(不含 .md)

list_sources

返回知识库范围:页数、分类统计、RAG 索引条目数、数据源目录。

ask_knowledge

RAG 问答:检索知识库片段 + 本地生成模型回答,附引用来源。零积分、离线可用。

ParameterTypeDescription
question *string向知识库提问
top_knumber检索片段数(默认 5)