这是一个专门为Claude Desktop设计的专业模型上下文协议(MCP)服务器。它通过获取并处理来自PubMed、NCBI Bookshelf以及用户提供的教育资源,极大地增强了AI辅助的医学学习体验。
# 克隆仓库
git clone https://github.com/ryoureddy/medadapt-content-server.git
cd medadapt-content-server
# 安装依赖项
pip install -r requirements.txt
# 运行服务器
python content_server.py
git clone https://github.com/ryoureddy/medadapt-content-server.git
cd medadapt-content-server
pip install -r requirements.txt
localhost:5000python content_server.py
curl -X POST http://localhost:5000/api/test
pubmed_utils.pybookshelf_utils.pypopulate_topics.pyDB_PATH环境变量为绝对路径,并且应用程序有写入权限。.env文件中医疗自适应内容服务器/
│
├── content_server.py # 主MCP服务器实现
├── database.py # SQLite数据库接口
├── pubmed_utils.py # PubMed API实用程序
├── bookshelf_utils.py # NCBI Bookshelf实用程序
├── populate_topics.py # 填充初始主题数据脚本
├── test_server.py # 测试脚本
├── requirements.txt # Python依赖项
├── .env.example # 环境变量示例文件
└── README.md # 文档说明
此项目使用MIT许可证,详细信息请参阅LICENSE文件。