Google Scholar MCP Server

Google Scholar MCP Server

site icon
2025.04.11 0
Python学术搜索研究工具AI集成搜索工具开发效率
Google Scholar MCP Server 是一个通过模型上下文协议(MCP)为AI助手提供访问Google Scholar学术论文的桥梁服务。它允许AI模型以编程方式搜索学术论文并获取其内容,支持自定义搜索字符串或高级搜索参数,快速获取论文元数据和作者详细信息,从而促进学术研究和分析。
View on GitHub

Overview

基本能力

产品定位

Google Scholar MCP Server 是一个为AI助手设计的中间件服务,旨在通过MCP协议简化对Google Scholar学术资源的程序化访问。

核心功能

  • 论文搜索:支持通过关键词或高级参数(如作者、年份范围)搜索Google Scholar论文。
  • 高效检索:快速获取论文的标题、摘要、引用等元数据。
  • 作者信息:查询特定作者的学术档案及发表记录。
  • 研究支持:为学术分析和文献综述提供结构化数据支持。

适用场景

  • AI助手集成学术搜索功能
  • 自动化文献综述工具
  • 学术研究数据分析
  • 作者影响力追踪

工具列表

  1. search_google_scholar_key_words:关键词搜索论文
  2. 参数:query(搜索词), num_results(结果数量)
  3. search_google_scholar_advanced:高级搜索(支持作者/年份过滤)
  4. 参数:query, author, year_range, num_results
  5. get_author_info:获取作者学术档案
  6. 参数:author_name

常见问题

  • 需遵守Google Scholar服务条款
  • 依赖第三方库scholarly的可用性

使用教程

依赖安装

# 前置依赖
python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
pip install -r requirements.txt  # 需包含mcp[cli]>=1.4.1和scholarly>=1.7.0

安装方式

手动安装

git clone https://github.com/JackKuo666/Google-Scholar-MCP-Server.git
cd Google-Scholar-MCP-Server
pip install -r requirements.txt

通过Smithery安装

# Claude客户端
npx -y @smithery/cli@latest install @JackKuo666/google-scholar-mcp-server --client claude

调试运行

python google_scholar_server.py
# 测试搜索(示例)
curl -X POST http://localhost:8000/search -d '{"query":"deep learning"}'

客户端配置

Claude Desktop配置示例

{
  "mcpServers": {
    "google-scholar": {
      "command": "python",
      "args": ["-m", "google_scholar_mcp_server"]
    }
  }
}

许可证

该项目遵循 MIT 开源许可条款。