mcp学术中心
一个统一的MCP(模型上下文协议)服务器,用于搜索和下载来自10多个来源的学术论文和电子书。
来源
论文
- OpenAlex -开放学术元数据
- arXiv -预印本
- 未付费墙 -法律开放获取PDF
- 核心 -图书馆开放存取
- 科学中心 -后退
书籍
- 安娜的档案
- Z库 (镜子)
- 海洋PDF
- PDF驱动器
- ManyBooks (公共领域)
- BD电子书
- 数字图书馆
- Smashwords
安装
git clone https://github.com/bockybocky/mcp-academic-hub.git
cd mcp-academic-hub
pip install -r requirements.txt配置
设置环境变量(可选):
export UNPAYWALL_EMAIL="your-email@example.com" # For Unpaywall API
export CORE_API_KEY="your-core-api-key" # For CORE API (free at https://core.ac.uk)
export DOWNLOAD_DIR="/path/to/downloads" # Default download directory使用Claude代码
添加到您的Claude Code MCP设置中(~/.claude/settings.json):
{
"mcpServers": {
"academic-hub": {
"type": "stdio",
"command": "uv",
"args": ["run", "server.py"],
"cwd": "/path/to/mcp-academic-hub"
}
}
}使用Gemini CLI
添加到您的Gemini MCP设置中:
{
"mcpServers": {
"academic-hub": {
"command": "uv",
"args": ["run", "server.py"],
"cwd": "/path/to/mcp-academic-hub"
}
}
}可用工具
搜索工具
| 工具 | 说明 |
|---|---|
search_papers | 搜索OpenAlex+ArXiv |
search_ocean_of_pdf | 搜索海洋PDF |
search_pdf_drive | 搜索PDF驱动器 |
search_manybooks | 搜索ManyBooks(免费/公共领域) |
search_bdebooks | 搜索BD电子书 |
search_digilibraries | 搜索数字图书馆 |
search_smashwords | 搜索Smashwords |
search_zlibrary_to | 搜索Z库镜像 |
search_annas_archive | 搜索安娜的档案 |
下载/链接提取工具
| 工具 | 说明 |
|---|---|
get_pdf_links | 查找DOI(Unpaywall+CORE+Sci-Hub)的PDF链接 |
download_paper | 从直接URL下载PDF |
get_ocean_of_pdf_links | 从OceanofPDF中提取下载链接 |
get_pdf_drive_links | 从PDF驱动器中提取PDF链接 |
get_digilibraries_links | 从DigiLibraries提取下载链接 |
get_zlibrary_to_links | 从Z-Library中提取下载链接 |
get_smashwords_links | 提取Smashwords图书信息 |
需求
- Python>=3.10
- 紫外线 (推荐)或pip
许可证
麻省理工学院
