scholar-mcp

scholar-mcp

Multi-source academic paper search, citation graph exploration, and PDF download as an MCP server, designed for LLM agents doing research.

Category
访问服务器

README

scholar-mcp

PyPI version Python 3.10+ License: MIT MCP

Multi-source academic paper search, citation graph exploration, and PDF download as an MCP server. Designed for LLM agents doing research.

Fuses results from 9 academic sources via Reciprocal Rank Fusion, with PDF access across 10+ preprint servers.

Quick Start

Claude Code:

claude mcp add scholar -- uvx scholar-mcp

With API key (recommended, higher rate limits):

claude mcp add scholar -e S2_API_KEY=your_key -- uvx scholar-mcp

Claude Desktop (add to config):

{
  "mcpServers": {
    "scholar": {
      "command": "uvx",
      "args": ["scholar-mcp"]
    }
  }
}

Requires Python 3.10+ and uv. No API key needed for basic use.

Tools

Tool Description
search_papers Multi-source search with RRF fusion. Filters: year, venue, field, citations, open access
get_paper Paper details by S2 ID, DOI, ArXiv ID, PMID, or OpenAlex ID
get_citations Papers citing a given paper (impact-sorted)
get_references Papers referenced by a given paper
recommend_papers Similar papers via SPECTER2 embeddings
search_authors Researchers with h-index, affiliations, paper counts
build_paper_graph Citation graph with PageRank analytics and Mermaid visualization
search_openreview Conference papers (ICLR, NeurIPS, ICML)
discover_field Auto-map a research field: find surveys, foundations, recent trends, build citation graph
save_papers Save papers to a persistent collection for later reference
list_saved_papers List or search saved paper collections (persists across sessions)
download_paper Smart PDF download across 10+ sources
read_paper Download + extract text from PDF

Search Sources

Source Coverage Strength
Semantic Scholar 214M papers SPECTER2 semantic search
OpenAlex 250M works Best coverage, impact-ranked citations
arXiv CS/Math/Physics Preprints
PubMed 36M biomedical Medicine, biology
Europe PMC Biomedical + EU PubMed superset
Crossref 150M DOIs Metadata
DBLP CS bibliography Conferences, proceedings
INSPIRE-HEP High-energy physics Particle physics
CORE 250M open access Institutional repositories

PDF Download Chain

  1. Semantic Scholar open access
  2. arXiv direct
  3. CORE (institutional repositories)
  4. Preprint servers: bioRxiv, medRxiv, SSRN, ChemRxiv, PsyArXiv, EarthArXiv, SocArXiv, engrXiv, AgriXiv, SportRxiv, Preprints.org
  5. Unpaywall (legal OA discovery)
  6. PubMed Central
  7. Sci-Hub (opt-in via SCIHUB_ENABLED=1)

Citation Graph

build_paper_graph builds an interactive citation network:

  • BFS expansion with velocity-weighted priority (new + influential papers first)
  • PageRank and betweenness centrality via networkx
  • Pivot/bridge paper detection
  • Topic filtering to keep graph focused
  • Mermaid output with color-coded nodes (seed, high-cite, bridge)
build_paper_graph("Attention Is All You Need", max_hops=2, max_papers=20, topic_filter="attention transformer")

Configuration

Variable Default Description
S2_API_KEY - Semantic Scholar API key (1 req/s)
CORE_API_KEY - CORE API key
OPENALEX_EMAIL - Email for Unpaywall + OpenAlex polite pool
SCHOLAR_DOWNLOAD_DIR ./downloads PDF save directory
SCIHUB_ENABLED false Enable Sci-Hub as last-resort source

Development

git clone https://github.com/Liyux3/scholar-mcp.git
cd scholar-mcp
uv venv && uv pip install -e ".[dev]"
uv run pytest tests/                          # 42 unit tests
S2_API_KEY=... uv run python tests/smoke_test.py  # quick integration check

42 tests: relevance scoring (26), graph analytics (9), knowledge base (7).

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选