基本能力
产品定位
Google Scholar MCP Server 是一个为 AI 助手提供 Google Scholar 学术论文搜索和访问服务的中间件。
核心功能
- 论文搜索:支持通过关键词或高级参数搜索 Google Scholar 论文
- 高效检索:快速获取论文元数据
- 作者信息:获取作者的详细信息
- 研究支持:为学术研究和分析提供支持
适用场景
- AI 助手需要访问学术论文的场景
- 学术研究和分析
- 自动化文献综述
工具列表
- search_google_scholar_key_words:通过关键词搜索 Google Scholar 文章
- 参数:
query
(搜索字符串)、num_results
(返回结果数量) -
返回:包含文章信息的字典列表
-
search_google_scholar_advanced:高级搜索 Google Scholar 文章
- 参数:
query
(搜索字符串)、author
(作者名)、year_range
(年份范围)、num_results
(返回结果数量) -
返回:包含文章信息的字典列表
-
get_author_info:获取作者详细信息
- 参数:
author_name
(作者名) - 返回:包含作者信息的字典
使用教程
使用依赖
- Python 3.10+
- mcp[cli]>=1.4.1
- scholarly>=1.7.0
- asyncio>=3.4.3
安装依赖命令:
bash
pip install -r requirements.txt
安装教程
-
克隆仓库:
bash
git clone https://github.com/JackKuo666/google-scholar-MCP-Server.git
cd google-scholar-MCP-Server -
安装依赖:
bash
pip install -r requirements.txt
调试方式
启动 MCP 服务器:
bash
python google_scholar_server.py
使用示例:
1. 关键词搜索论文:
python
result = await mcp.use_tool("search_google_scholar_key_words", {
"query": "artificial intelligence ethics",
"num_results": 5
})
print(result)
-
高级搜索:
python
result = await mcp.use_tool("search_google_scholar_advanced", {
"query": "machine learning",
"author": "Hinton",
"year_range": [2020, 2023],
"num_results": 3
})
print(result) -
获取作者信息:
python
result = await mcp.use_tool("get_author_info", {
"author_name": "Geoffrey Hinton"
})
print(result)