medical-knowledge-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@medical-knowledge-mcp-server查询乙肝疫苗的接种对象和禁忌"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Medical: Common Disease Knowledge Search
Main Features
🩺 Knowledge of disease causes, symptoms, prevention, and treatment
💉 Vaccination targets, efficacy, contraindications, and precautions
🔬 Purpose, preparation, methods, and risks of medical examinations
💊 Applicable diseases, preparation, risks, and rehabilitation knowledge for treatments
🔗 Related diseases, hospitals, departments, examinations, and treatment information
Related MCP server: Medical MCP Server
Recommended Call Flow
Extract the keyword, resource category, and department from the user's question.
Call
medical_resource_searchto find candidate knowledge entries.Obtain
medicalInfoIdandmedicalTypefrom the results.Call
medical_resource_detailto query the full knowledge content.
When querying details, both the ID and the correct resource category must be provided; do not construct the ID yourself based on the Chinese name.
Service Design Notes
The service provides 2 read-only Tools, uniformly covering four categories of resources: diseases, vaccines, examinations, and treatments.
Chinese categories are mapped to the
Disease,Vaccine,Check, andTreatmentvalues used by the Product API.All successful responses uniformly use the
total/resultListtop-level structure; when a detail is matched,totalis usually1.Content is for common knowledge queries only and does not replace doctor diagnosis, prescriptions, or emergency medical services.
Environment Requirements
Python 3.10+
Dependencies:
mcp,python-dotenv,requests
Local Quick Start
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-httpDefault service address: http://127.0.0.1:8000/mcp. Supports stdio, sse, and streamable-http.
Environment Variables
INTEGRATOR_ID=your_integrator_id
SECRET_ID=your_secret_id
SECRET_KEY=your_secret_key
HANDAAS_REQUEST_TIMEOUT=30Available Tools and Product IDs
MCP Tool | Use Case | Product ID | Key Inputs |
| Search knowledge of diseases, vaccines, examinations, and treatments |
| keyword, category, department, pagination |
| Query the full content and related resources of a knowledge entry |
|
|
Tool Detailed Description
1. medical_resource_search
When to use: Use this when the user asks about a disease, vaccine, medical examination, or treatment; it is also the entry point for detail queries.
Key parameters:
keyword: Resource name or content keyword, e.g., "influenza" or "hepatitis B vaccine".medicalType: Allowed values are "disease", "vaccine", "examination", "treatment".medicalDepartmentList: Department filter; multiple departments can be separated by commas.pageIndex: Starts at 1;pageSizedefaults to 10, maximum 50.
Return description: Returns summaries such as resource name, category, aliases, department, and introduction, and provides medicalInfoId and medicalType for detail queries.
2. medical_resource_detail
When to use: Use this when the knowledge entry has been confirmed and you need to view the full content, such as disease causes, vaccine contraindications, examination preparation, or treatment risks.
Key parameters:
medicalId: Required; use themedicalInfoIdfrom the search results.medicalType: Required; must match the search results; supports disease/vaccine/examination/treatment and their corresponding English values.
Return description: Returns the complete knowledge fields for the corresponding category, as well as related diseases, hospitals, examinations, or treatment information.
Usage Examples
Example 1: Query Disease Knowledge
User question:
Search for disease knowledge related to influenza, show 5 results first.
Suggested call:
{
"tool": "medical_resource_search",
"arguments": {
"keyword": "流感",
"medicalType": "疾病",
"pageIndex": 1,
"pageSize": 5
}
}Example 2: Query Disease Details
User question:
View the causes, symptoms, prevention, and treatment methods of the disease just mentioned.
Suggested call:
{
"tool": "medical_resource_detail",
"arguments": {
"medicalId": "从知识搜索结果取得",
"medicalType": "疾病"
}
}Example 3: Query Vaccine Knowledge
User question:
Query the vaccination targets, contraindications, and precautions for the hepatitis B vaccine.
First call medical_resource_search and set medicalType="vaccine"; after confirming the entry, call the detail Tool.
Usage Notes
medicalIdandmedicalTypemust come from the same search result.If the search term is too broad, prioritize adding
medicalTypeor department conditions.The returned content is knowledge material and is not used for automated diagnosis or as a substitute for professional medical advice.
Testing and Verification
python -m py_compile server/mcp_server.py
python -m unittest discover -s tests -vUnit tests use Mock responses; real verification is done by calling the HandaaS Integrator Gateway through the local .env.
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