学术论文搜索分析工具

Paper MCP是一个用于学术论文搜索和分析的模型上下文协议服务器,帮助研究人员通过开放数据源快速查找、分析和提取学术论文信息。

  • by guangxiangdebizi
  • JavaScript
  • 本地部署
  • 2 星标
  • 更新于
在 GitHub 查看 guangxiangdebizi/papers-mcp

使用说明

📚 纸张MCP

用于学术论文搜索和分析的模型上下文协议(MCP)服务器。该工具可帮助研究人员使用开放数据源快速查找、分析和提取学术论文中的信息。

✨ 特性

🔍 论文搜索(papers.search)

  • 多源搜索:OpenAlex、Crossref、arXiv
  • 高级过滤:作者、所属机构、地点、年份范围、研究领域
  • 智能重复数据删除:自动合并来自不同来源的结果
  • 开放获取焦点:可选择过滤免费提供的论文
  • 灵活排序:按相关性、日期或引用次数

📖 论文分析(papers.analyze)

  • 通用URL支持PDF链接,arXiv页面,DOI链接,期刊页面
  • 智能提取:标题、作者、摘要、元数据
  • 全文分析:可选的完整内容提取
  • 多种格式:处理PDF、HTML和XML源
  • 元数据:出版物详细信息、引文信息、访问链接

🚀 快速开始

安装

# Clone the repository
git clone https://github.com/guangxiangdebizi/paper-mcp.git
cd paper-mcp

# Install dependencies
npm install

# Build the project
npm run build

用法

地方发展(Stdio)

# Start the MCP server
npm start

Web界面(SSE)

# Install supergateway globally
npm install -g supergateway

# Start SSE server on port 3100
npm run sse

Claude桌面配置

标准模式

添加到您的Claude Desktop配置中:

{
  "mcpServers": {
    "paper-mcp": {
      "command": "node",
      "args": ["path/to/paper-mcp/build/index.js"]
    }
  }
}

SSE模式

{
  "mcpServers": {
    "paper-mcp": {
      "type": "sse",
      "url": "http://localhost:3100/sse",
      "timeout": 600
    }
  }
}

🛠️ api参考

搜索论文

// Basic search
{
  "query": "machine learning transformers"
}

// Advanced search with filters
{
  "query": "neural networks",
  "authors": ["Geoffrey Hinton", "Yann LeCun"],
  "affiliations": ["Google", "Meta"],
  "venue": ["Nature", "Science"],
  "year_from": 2020,
  "year_to": 2024,
  "open_access_only": true,
  "sort_by": "citations_desc",
  "page": 1,
  "page_size": 20
}

分析纸张

// Analyze from URL
{
  "url": "https://arxiv.org/abs/2301.00001"
}

// Full-text extraction
{
  "url": "https://example.com/paper.pdf",
  "include_full_text": true,
  "max_content_length": 10000
}

🌐 数据源

📊 输出示例

搜索结果

{
  "page": 1,
  "page_size": 20,
  "has_more": true,
  "items": [
    {
      "title": "Attention Is All You Need",
      "authors": ["Ashish Vaswani", "Noam Shazeer"],
      "venue": "NeurIPS",
      "year": 2017,
      "doi": "10.5555/3295222.3295349",
      "primary_url": "https://arxiv.org/abs/1706.03762",
      "oa_pdf_url": "https://arxiv.org/pdf/1706.03762.pdf",
      "citation_count": 50000,
      "source": "openalex"
    }
  ]
}

分析结果

{
  "title": "Attention Is All You Need",
  "authors": ["Ashish Vaswani", "Noam Shazeer"],
  "abstract": "The dominant sequence transduction models...",
  "content": "Full paper content...",
  "type": "arxiv",
  "metadata": {
    "arxiv_id": "1706.03762",
    "published": "2017-06-12",
    "categories": ["cs.CL", "cs.AI"]
  }
}

🔧 发展

# Watch mode for development
npm run dev

# Build for production
npm run build

# Run tests (if available)
npm test

📝 许可证

Apache 2.0-请参阅 许可证 文件以获取详细信息。

👨‍💻 作者

陈兴宇

🤝 贡献

欢迎投稿!请随时提交拉取请求。

🙏 致谢

  • OpenAlex提供全面的学术数据
  • DOI解析服务的交叉引用
  • arXiv用于预印本的开放获取
  • 优秀协议的MCP社区

内置于❤️ 对于研究界