Google Scholar MCP Server

Google Scholar MCP Server

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

Overview

基本能力

产品定位

Google Scholar MCP Server 是一个为 AI 助手提供 Google Scholar 学术论文搜索和访问服务的中间件。

核心功能

  • 论文搜索:支持通过关键词或高级参数搜索 Google Scholar 论文
  • 高效检索:快速获取论文元数据
  • 作者信息:获取作者的详细信息
  • 研究支持:为学术研究和分析提供支持

适用场景

  • AI 助手需要访问学术论文的场景
  • 学术研究和分析
  • 自动化文献综述

工具列表

  1. search_google_scholar_key_words:通过关键词搜索 Google Scholar 文章
  2. 参数:query(搜索字符串)、num_results(返回结果数量)
  3. 返回:包含文章信息的字典列表

  4. search_google_scholar_advanced:高级搜索 Google Scholar 文章

  5. 参数:query(搜索字符串)、author(作者名)、year_range(年份范围)、num_results(返回结果数量)
  6. 返回:包含文章信息的字典列表

  7. get_author_info:获取作者详细信息

  8. 参数:author_name(作者名)
  9. 返回:包含作者信息的字典

使用教程

使用依赖

  • Python 3.10+
  • mcp[cli]>=1.4.1
  • scholarly>=1.7.0
  • asyncio>=3.4.3

安装依赖命令:

pip install -r requirements.txt

安装教程

  1. 克隆仓库:
git clone https://github.com/JackKuo666/google-scholar-MCP-Server.git
cd google-scholar-MCP-Server
  1. 安装依赖:
pip install -r requirements.txt

调试方式

启动 MCP 服务器:

python google_scholar_server.py

使用示例: 1. 关键词搜索论文:

result = await mcp.use_tool("search_google_scholar_key_words", {
    "query": "artificial intelligence ethics",
    "num_results": 5
})
print(result)
  1. 高级搜索:
result = await mcp.use_tool("search_google_scholar_advanced", {
    "query": "machine learning",
    "author": "Hinton",
    "year_range": [2020, 2023],
    "num_results": 3
})
print(result)
  1. 获取作者信息:
result = await mcp.use_tool("get_author_info", {
    "author_name": "Geoffrey Hinton"
})
print(result)

许可证

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