本项目是一个基于 Model Context Protocol (MCP) 的服务器,支持从多个来源搜索和检索学术论文信息。它为大型语言模型(LLMs)提供实时学术论文搜索、论文元数据和摘要访问、获取可用全文内容等功能,并以符合 MCP 规范的结构化数据进行响应。虽然主要针对与 Anthropic 的 Claude 桌面客户端集成设计,但也能与其他支持工具/功能调用能力的 AI 模型和客户端兼容。
⚠️ 重要提示
此软件处于积极开发阶段,功能和特性可能会发生变化。
本服务器提供了两种安装方式,可根据需求选择:
通过以下命令安装并运行服务器:
smithery install @afrise/academic-search-mcp-server
smithery run
git clone https://github.com/yourusername/academic-paper-search.git
cd academic-paper-search
pip install -r requirements.txt
export API_KEY=your_api_key_here
python server.py
在 Claude 桌面客户端中配置服务器:
{
"server_url": "http://localhost:8000",
"api_key": "your_api_key_here"
}
该服务器暴露了以下实用工具:
search_papers在多个来源中搜索学术论文。
query (str):搜索查询文本。limit (int, 可选):结果的最大数量(默认值:10)。fetch_paper_details检索特定论文的详细信息。
paper_id (str):论文标识符(DOI 或 Semantic Scholar ID)。source (str, 可选):数据源 ("crossref" 或 "semantic_scholar", 默认值: "crossref")。search_by_topic按主题搜索论文。
topic (str):搜索的主题或关键词。year_range (tuple, 可选):年份范围(例如 (2015, 2023))。language (str, 可选):论文语言(例如 "English"、"Chinese" 等)。该项目采用 AGPL - 3.0 协议,具体内容请参阅 LICENSE 文件。
欢迎大家参与项目贡献,以下是参与方式:
git clone https://github.com/yourusername/academic-paper-search.git
git checkout -b feature/amazing-feature
git commit -m 'Add amazing feature'
git push origin feature/amazing-feature
通过参与此项目,您同意您的贡献将根据 AGPL - 3.0 许可证发布。