
Scholar
io.github.mlintangmz2765由 GitHub 账号 mlintangmz2765 发布v1.0.0更新于 Oct 27, 2026
Hardened Scholar MCP for deep academic research (Scopus, OpenAlex, Unpaywall) with PDF vision.
概览
本地 MCP 服务器,让助手统一检索 Scopus、OpenAlex、Semantic Scholar 与 Unpaywall 的学术文献,并提取 PDF 文本与页面图像。
- 可以做什么
- 跨 Scopus、OpenAlex、Semantic Scholar 与 Unpaywall 检索论文,获取元数据与摘要,查找相关文献,并批量查询最多 50 个 DOI
- 通过 Google Books、Open Library 与 Library Genesis 检索图书,并从 Libgen 文件中提取目录、关键词命中或指定页码范围
- 解析作者身份并获取文献计量档案(H 指数、i10 指数、ORCID、所属机构),来源包括 OpenAlex、Scopus 与 Semantic Scholar
- 追踪正向引用与反向参考文献,并梳理研究主题与学科层级
- 从开放获取 PDF 或 HTML 提取文本,将 PDF 页面渲染为图像供视觉模型分析,并把 DOI 解析为开放获取或 Sci-Hub 的 PDF 链接
- 生成 BibTeX 条目,并按 APA、IEEE、Chicago、Harvard、Vancouver、MLA 或 Turabian 格式排版引用
- 适用场景
- 适合文献综述、系统性论文发现、作者与引用分析,以及在研究过程中阅读或查看 PDF 图表。也适合希望用一个接口同时访问多个学术数据库的助手。
- 运行要求
- 以 Python 包(scholar-academic-mcp)通过 stdio 在本机运行,仅支持桌面客户端。需要 CONTACT_EMAIL 与 SCOPUS_API_KEY;可选 SCOPUS_INST_TOKEN、S2_API_KEY、SCIHUB_MIRRORS 与 LIBGEN_MIRRORS。需要访问学术 API 与 PDF 站点的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Scholar,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Scholar MCP Server
[Python Version] [Model Context Protocol] [License: MIT] [Registry]
A Model Context Protocol (MCP) server providing structured access to scientific literature databases. It serves as a unified interface for Scopus, OpenAlex, Semantic Scholar, and Unpaywall, enabling AI agents to perform systematic paper discovery, author disambiguation, citation lineage tracking, and multimodal Content extraction.
Core Capabilities
-
Unified Literature Search
- Semantic Scholar Integration — High-relevance search and detailed metadata, including AI-generated TLDRs (requires API key).
- Scopus Integration — Targeted metadata retrieval via advanced Boolean syntax (requires API key).
- OpenAlex Integration — Broad search across 250M+ works with abstract reconstruction.
- Unpaywall Resolution — DOI-to-PDF cross-referencing across global Open Access repositories.
- Sci-Hub Fallback (⚠️ Use with Caution) — Automatic mirror resolution and parsing for paywall bypassing.
-
Book Search & Extraction
- Google Books & Open Library — Integrated search for book metadata, editions, and descriptions without API keys.
- Library Genesis (Libgen) — Search and extract full text from books directly using PyMuPDF. Features smart caching and token-saving strategies (TOC reading, targeted keyword searching, and page range extraction).
-
Author Identification & Metrics
- Instant author disambiguation and ID resolution via OpenAlex autocomplete.
- Comprehensive profiles: H-index, i10-index, institutional affiliation history, and ORCID linkage.
- Precision metrics from Elsevier (Scopus) for verified publication counts.
-
Citation Lineage Tracking
- Map research evolution through forward citations (citing works) and backward references (cited works).
-
Structured & Multimodal Extraction
- Text Extraction — Layout-aware parsing of OA PDFs using PyMuPDF.
- Vision Rendering — Page-by-page PNG rendering for LLM-based analysis of charts, tables, and equations.
- HTML Fallbacks — Extraction from web-based research resources via BeautifulSoup.
-
Topic Mapping & Field Analysis
- Concepts and domain hierarchy discovery to map research landscapes.
- Batch metadata retrieval for high-throughput literature processing (up to 50 DOIs/request).
-
Access Management & Fallbacks
- Automated detection of closed-access content with human-in-the-loop instructions for manual uploads.
Architecture
Installation
Quick Start (via PyPI)
The fastest way to use the server is directly via PyPI:
Manual Setup (for Development)
Environment Variables
Configuration
Claude Desktop / Cursor
Add the following to your configuration file (e.g., claude_desktop_config.json):
Quick Start & Examples
Once configured, your AI agent can perform complex research workflows. Below are representative examples of tool inputs and structured outputs.
1. Literature Discovery (Scopus)
Prompt: "Find recent papers about 'Transformer architectures' published after 2022 using Scopus."
Tool Call: search_papers_tool(query="TITLE-ABS-KEY(Transformer architectures) AND PUBYEAR > 2022", limit=3)
Output:
2. Multimodal Content Analysis
Prompt: "I need to see the diagram for the neural network architecture on page 3 of this URL."
Tool Call: get_full_text_visual_tool(url="https://arxiv.org/pdf/1706.03762.pdf", max_pages=3)
Output:
[Text]"Successfully rendered 3 pages visually..."[Image](PNG data of page 1)[Image](PNG data of page 2)[Image](PNG data of page 3 - containing the architecture diagram)
3. Research Topic Mapping
Prompt: "Help me understand the subfields and domains related to 'Generative AI'."
Tool Call: search_topics_tool(query="Generative AI")
Output:
Tools
The server registers 23 tools across 7 categories:
Paper Discovery
Book Discovery & Extraction
Author Analytics
Citation Tracking
Full-Text & PDF
Citation & Writing
Open Access Resolution
Topic Mapping & Batch Analysis
Technical Design & Reliability
Scholar MCP is engineered for precision and fault tolerance in high-stakes research environments, utilizing several layers of protection to ensure data integrity:
-
Strict Data Contracts (Pydantic)
- All upstream API responses are validated against Pydantic models before being returned to the agent.
- Ensures a predictable, type-safe interface even if upstream database schemas change.
-
Fault-Tolerant Networking (Tenacity)
- Integrated Exponential Backoff using
tenacityfor transient HTTP errors (429, 5xx). - Configurable rate-limit awareness for Elsevier and OpenAlex "polite pool" routing.
- Integrated Exponential Backoff using
-
Resource Safety & Concurrency
- Context-Managed Extractors: Automatic cleanup of PDF buffers and file descriptors.
- Isolated Concurrency: Batch operations utilize
asyncio.gatherwith localized exception handling to prevent session-wide failures.
-
System Observability
- Structured standard-error (
stderr) logging provides execution visibility during the tool lifecycle without interfering with the MCP JSON-RPC protocol.
- Structured standard-error (
-
Automated Verification
- Comprehensive test suite leveraging respx for deterministic API mocking, ensuring 100% coverage of edge cases without network externalites.
Project Structure
Troubleshooting
Contributing
- Fork the repository.
- Create a feature branch (
git checkout -b feature/my-feature). - Commit your changes (
git commit -m 'feat: add new capability'). - Push to the branch (
git push origin feature/my-feature). - Open a Pull Request.
Please ensure all code follows PEP 8 conventions.
License
MIT License. See LICENSE for details.
Disclaimer: Automated querying of publisher APIs must comply with the respective Terms of Service of Elsevier, OpenAlex, and Unpaywall. Do not distribute API keys. Adhere to all applicable rate limits.
mcp-name: io.github.mlintangmz2765/scholar
来源:README.md,提交 65ebee8
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分