medical-knowledge-mcp-server
医疗:疾病常见知识搜索
该 MCP 服务提供疾病、疫苗、检查和治疗常见知识的检索与详情查询能力,适用于健康知识查询和医疗概念辅助理解。
主要功能
🩺 疾病病因、症状、预防和治疗知识
💉 疫苗接种对象、功效、禁忌和注意事项
🔬 医疗检查目的、准备、方法和风险
💊 治疗适用疾病、准备、风险和康复知识
🔗 相关疾病、医院、科室、检查和治疗信息
Related MCP server: Medical MCP Server
推荐调用流程
根据用户问题提取资料关键词、资料分类和就诊科室。
调用
medical_resource_search查找候选知识条目。从结果中取得
medicalInfoId和medicalType。调用
medical_resource_detail查询完整知识内容。
详情查询时必须同时传入 ID 和正确的资料分类;不要根据中文名称自行构造 ID。
服务设计说明
服务提供 2 个只读 Tool,统一覆盖疾病、疫苗、检查和治疗四类资料。
中文分类会映射为 Product API 使用的
Disease、Vaccine、Check、Treatment。所有成功响应统一使用
total/resultList顶层;详情命中时通常total=1。内容仅用于常见知识查询,不替代医生诊断、处方或紧急医疗服务。
环境要求
Python 3.10+
依赖:
mcp、python-dotenv、requests
本地快速启动
cd medical-knowledge-mcp-server
python3 -m venv mcp_env
source mcp_env/bin/activate
pip install -r requirements.txt
cp .env.example .env
python server/mcp_server.py streamable-http服务默认地址:http://127.0.0.1:8000/mcp。支持 stdio、sse 和 streamable-http。
环境变量
INTEGRATOR_ID=your_integrator_id
SECRET_ID=your_secret_id
SECRET_KEY=your_secret_key
HANDAAS_REQUEST_TIMEOUT=30可用 Tool 与 Product ID
MCP Tool | 使用场景 | Product ID | 关键输入 |
| 检索疾病、疫苗、检查和治疗知识 |
| 关键词、资料分类、科室、分页 |
| 查询知识条目的完整内容和关联资料 |
|
|
Tool 详细说明
1. medical_resource_search
何时使用:用户询问某种疾病、疫苗、医疗检查或治疗方式时使用,也是详情查询的入口。
关键参数:
keyword:资料名称或内容关键词,例如“流感”“乙肝疫苗”。medicalType:可选值为“疾病”“疫苗”“检查”“治疗”。medicalDepartmentList:就诊科室筛选值,多级科室可用逗号分隔。pageIndex:从 1 开始;pageSize默认 10、最大 50。
返回说明:返回资料名称、分类、别名、科室和简介等摘要,并提供 medicalInfoId 与 medicalType 供详情查询。
2. medical_resource_detail
何时使用:已经确认知识条目,需要查看疾病病因症状、疫苗禁忌、检查准备或治疗风险等完整内容时使用。
关键参数:
medicalId:必填,使用搜索结果中的medicalInfoId。medicalType:必填,必须与搜索结果一致;支持疾病/疫苗/检查/治疗及对应英文值。
返回说明:不同分类返回对应的完整知识字段以及相关疾病、医院、检查或治疗信息。
使用示例
示例一:查询疾病知识
用户问题:
搜索流感相关的疾病知识,先看 5 条。
建议调用:
{
"tool": "medical_resource_search",
"arguments": {
"keyword": "流感",
"medicalType": "疾病",
"pageIndex": 1,
"pageSize": 5
}
}示例二:查询疾病详情
用户问题:
查看刚才疾病的病因、症状、预防和治疗方法。
建议调用:
{
"tool": "medical_resource_detail",
"arguments": {
"medicalId": "从知识搜索结果取得",
"medicalType": "疾病"
}
}示例三:查询疫苗知识
用户问题:
查询乙肝疫苗的接种对象、禁忌和注意事项。
先调用 medical_resource_search 并设置 medicalType="疫苗",确认条目后再调用详情 Tool。
使用注意事项
medicalId和medicalType必须来自同一条搜索结果。搜索词过宽时优先增加
medicalType或科室条件。返回内容是知识资料,不用于自动诊断或替代专业医疗意见。
测试验证
python -m py_compile server/mcp_server.py
python -m unittest discover -s tests -v单元测试使用 Mock 响应;真实验证通过本地 .env 调用 HandaaS Integrator Gateway。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceProvides AI systems with access to peer-reviewed medical information from StatPearls, enabling searches for diseases and medical conditions with comprehensive, reliable content formatted in AI-friendly Markdown.1
- AlicenseNot gradedqualityFmaintenanceProvides comprehensive medical information by querying authoritative sources including FDA drug database, WHO health statistics, PubMed literature, RxNorm nomenclature, Google Scholar, and Australia's PBS API through 22+ specialized tools.623MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI-powered medical information retrieval through FHIR clinical document search and GraphRAG-based exploration of medical entities and relationships. Combines vector search with knowledge graph queries for comprehensive healthcare data analysis.MIT
- FlicenseNot gradedqualityDmaintenanceProvides seamless access to over 35 million PubMed scientific articles through natural language queries for research discovery and analysis. It enables tools for advanced searches, retrieving article details, and exploring related research within the life sciences and biomedical fields.12
Related MCP Connectors
Search PubMed with precision using keyword and journal filters and smart sorting. Uncover MeSH ter…
NIH Clinical Tables: ICD-10/9, RxTerms, LOINC, NPI, conditions search. Keyless.
Citable retrieval across papers, books, patents, Wikipedia, and live social sources.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/handaas/medical-knowledge-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server