Skip to main content
Glama
Scholar MCP

Scholar MCP

Scholar MCP gives your AI agent a research library. It searches scholarly sources in parallel, with optional keys for additional indexes, follows citations and related work, reads the original paper down to its figures and tables, and keeps what matters in a local library with your notes. It works in Claude, Codex, Cursor, VS Code, Gemini CLI, OpenCode and any other MCP client, and from the command line or Python.

📰 News

  • November 2026, 0.9.0 to 0.11.0. scholar-mcp install sets Scholar up in 32 agents, a hung source no longer holds up a search, windows narrow to the month or day, results carry full abstracts, and author search finds the right person behind a well-known name.

  • July 2026, 0.8.5. Google Scholar sessions recover on their own, arXiv falls back to its own search when its API is down, and scholar-mcp sources --check tests every provider live.

  • April 2026, 0.8.2 to 0.8.4. Semantic Scholar requests follow the provider's pacing, the MCP Registry entry resolves as io.github.Liyux3/scholar-mcp, and every tool says when to use it.

  • February 2026, 0.8.0 and 0.8.1. Six core tools connect to a persistent research library, and plugins and a portable launcher bring Scholar to more agent clients.

  • July 2025, 0.7.1 and 0.7.2. A source that throttles is reported instead of looking empty, one slow source can no longer stall a search, and citation graphs and related papers work again for arXiv papers.

  • May 2025, 0.6.0 and 0.7.0. Papers keep their notes in a library of collections, a relevance model ranks every candidate together, strong matches bring in their citations, and Europe PMC, INSPIRE-HEP and DBLP join the sources.

  • December 2024, 0.1.0 to 0.2.1. The first release searches Semantic Scholar from Claude Code with one command; CORE and PubMed join within days.

See the changelog for more.

Related MCP server: Crossref Academic MCP Server

🚀 Get started

  1. Install uv if you do not have it, then install Scholar:

    uv tool install --python 3.12 --find-links https://github.com/Liyux3/scholar-mcp/releases/latest/download/wheel-index.html "scholar-mcp[rerank]"
  2. Connect it to your agents. Scholar finds the clients on your machine and registers itself, with a backup of every file it touches:

    scholar-mcp install --all

    In a client the installer does not know, ask your agent to install Scholar by following llms-install.md. Name clients to choose (scholar-mcp install claude-code codex), add --dry-run to preview the change, or --profile research for the citation graph and paper library tools. scholar-mcp update upgrades the command every connected client runs, and uvx scholar-mcp@latest install CLIENT refreshes a client pinned to a uvx version.

  3. Restart the client and ask a research question, for example find recent work on evaluating long-term memory in LLM agents, read the most cited one and compare its benchmarks.

Any stdio MCP client can launch Scholar directly through uvx, with nothing installed in advance:

{
  "mcpServers": {
    "scholar": {
      "command": "uvx",
      "args": [
        "--python", "3.12",
        "--find-links", "https://github.com/Liyux3/scholar-mcp/releases/latest/download/wheel-index.html",
        "--from", "scholar-mcp[rerank]", "scholar-mcp"
      ]
    }
  }
}

For Claude Code the same command is claude mcp add scholar -- uvx --python 3.12 --find-links <index> --from 'scholar-mcp[rerank]' scholar-mcp.

The repository is also a plugin marketplace for Codex and Claude Code, bundling the research tools and the Deep Research skill:

codex plugin marketplace add Liyux3/scholar-mcp && codex plugin add scholar-mcp@scholar-mcp
claude plugin marketplace add Liyux3/scholar-mcp && claude plugin install scholar-mcp@scholar-mcp

Releases also ship macOS desktop bundles (MCPB) with Python included, a multi-architecture container at ghcr.io/liyux3/scholar-mcp, and the MCP Registry entry. See the distribution matrix and llms-install.md for agents installing it themselves.

🧰 What your agent can do

Tool

Search

search_papers

One question fans out to every source; duplicates merge into one record, the pool is reranked, and citations of the best matches are followed before the final ranking

Inspect

paper_info

Full metadata, citations and references of a paper in one call

Explore

recommend_papers

Semantic neighbours, co-cited peers and papers sharing references

People

search_authors

Author profiles, affiliations and metrics

Read

read_paper

Page-aware Markdown, structured tables and a focused image of any figure, read temporarily

Keep

download_paper

The PDF from open archives, repositories or your institution's library, filed in your library

Map

build_paper_graph

A citation graph with PageRank and bridge papers (research profile)

Remember

paper_library

Collections, notes, tags and full-text search, mirrored to Obsidian, Zotero or Notion (research profile)

Every identifier Scholar returns, a paper URL, or an exact title can be passed back to any tool. Responses carry readable YAML for the model and structured data for the client; scholar://status reports the sources and reranker in use.

🧭 How it works

Your question goes to every source at once, in the form each one searches best, and no source holds up the others. Records from OpenAlex, Semantic Scholar, arXiv, Crossref, OpenReview, PubMed, Europe PMC, DBLP, zbMATH, CORE, OpenAIRE, Google Scholar and others merge on shared DOIs, arXiv ids and titles, so each paper appears once with complementary metadata. A ranking model, in the cloud or on your machine, orders the pool, the strongest papers bring in their citations and references, and everything is ranked together. The architecture page shows what each stage does for you and the backend film follows one question through it in two and a half minutes.

Agents call typed MCP tools over stdio or Streamable HTTP. Full text comes from open copies first and, for licensed papers, through your library's proxy. A persistent SQLite library with FTS5 search holds papers, notes and PDF attachments under ~/.scholar-mcp/, with Markdown projections for Obsidian and connectors for Zotero and Notion.

📊 Measured retrieval quality

LitSearch quality comparison

On the same 50 LitSearch queries, Scholar placed a correct paper in its top five for 62% of queries, against 52% for Exa research-paper search and 46% for BM25.

System

Hit@5

Hit@10

Hit@20

MRR

Scholar

0.62

0.68

0.70

0.442

Exa research paper

0.52

0.58

0.64

0.435

BM25 title + abstract

0.46

0.46

0.56

0.335

Hit@k is the share of queries with at least one ground-truth paper in the top k; MRR averages the reciprocal rank of the first match. Scholar recovered nine top-five hits that Exa missed, and Exa four that Scholar missed. The comparison uses the first 50 LitSearch inline-ACL queries, the same title matcher and a top-20 cutoff; Scholar ran its standard pipeline with Qwen reranking, Exa used category research paper, and BM25 follows the official LitSearch title+abstract implementation over the 64K-paper corpus. The frozen summary is in docs/benchmarks/litsearch-inline-acl-50.json, with raw BM25 results and their hash manifest.

📚 Your paper library

Saved papers, PDFs and notes live in one local SQLite library and stay searchable across sessions. Obsidian receives a live Markdown projection, Zotero a synchronized collection and Notion a reading list. Notes you edit in Obsidian or Notion flow back, so your agent builds on your changes.

scholar-mcp library export obsidian --collection memory --path ~/Vault
scholar-mcp library sync zotero --collection memory --apply

💻 Command line and Python

The tools work without an agent too. Output is YAML for reading or JSON with --json. --year takes a year, a range or an exact window, such as 2023, 2020-2024, 2026-10, 2026-10:2026-11 or 2026-10-01..2026-11-09, and a month covers all its days.

scholar-mcp search "long-term memory benchmarks for LLM agents" --year 2024-2026
scholar-mcp read arXiv:2504.19413 --pages 1-4
scholar-mcp read arXiv:2504.19413 --visual "Figure 1" --image figure1.png
scholar-mcp doctor --network
from scholar_mcp import api

hits = api.search("long-term memory benchmarks for LLM agents", year="2024-2026")
paper = api.info(hits["results"][0]["id"], include="detail,citations")

🔑 Configuration

Scholar works without any keys. Optional keys add coverage and throughput. scholar-mcp keys set NAME saves one in ~/.scholar-mcp/keys.env, which every client reads; a client's env block or your shell also works and takes precedence.

Variable

Effect

S2_API_KEY

Higher Semantic Scholar limits, full-text snippets and recommendations

OPENALEX_API_KEY, OPENALEX_EMAIL

OpenAlex semantic search and a larger daily allowance; the email serves Crossref's polite pool and Unpaywall

DASHSCOPE_API_KEY

Cloud reranking with Qwen3 Rerank; without it a local model ranks

SCHOLAR_MCP_EXTENSIONS=research

Adds the citation graph and paper library tools

SCHOLAR_DATA_DIR

Library, PDFs and state; default ~/.scholar-mcp

Variable

Purpose

SCHOLAR_KB_DIR, SCHOLAR_DOWNLOAD_DIR

SQLite library and persistent PDF directories

SCHOLAR_OBSIDIAN_VAULT

Obsidian projection root

S2_API_KEYS, OPENALEX_API_KEYS

Comma-separated key pools

NCBI_API_KEY

Higher PubMed E-utilities throughput for a configured NCBI account

SCHOLAR_GOOGLE_PROXY

A dedicated Google Scholar proxy, or direct to bypass inherited proxies for this source

SCHOLAR_ACCESS_COMMAND

Optional host access backend, a JSON command array; see host access

SCOPUS_API_KEY, CORE_API_KEY, EXA_API_KEY

Optional Scopus, CORE and Exa sources

OPENAIRE_CLIENT_ID, OPENAIRE_CLIENT_SECRET

A free registered OpenAIRE service: 7,200 requests an hour instead of 60

ADS_API_TOKEN, SPRINGER_API_KEY, WOS_API_KEY, LENS_API_TOKEN

Opt-in NASA ADS, Springer Nature, Web of Science Starter and Lens sources, each joining once its key is set

DASHSCOPE_HTTP_BASE_URL

Alibaba workspace API host or /api/v1 base; default is the Beijing shared endpoint

SCHOLAR_RERANK_MODEL

Alibaba model (default qwen3-rerank) or the model of a custom endpoint

SCHOLAR_RERANK_URL, SCHOLAR_RERANK_API_KEY

Full custom rerank endpoint (Cohere-style query, documents, top_n request) and its credential

SCHOLAR_RERANK_TIMEOUT, SCHOLAR_RERANK_BATCH_SIZE

Remote rerank timeout (120 s) and per-request document capacity (500)

SCHOLAR_SOURCE_BUDGET_S

Time budget of one parallel search round; default 30 s

SCHOLAR_READ_CHAR_BUDGET

Characters of paper text per read_paper response, cut at a page boundary; default 100,000, 0 disables

SCHOLAR_USAGE_LOG

Local call record in <data>/usage/ (about 4 MB at most) that doctor summarizes: on (default, no query text), full (with arguments) or off

SCHOLAR_GOOGLE_PROXY, SCHOLAR_GOOGLE_RECOVERY

Google Scholar route and browser recovery mode (off, headless, headed)

LIBRARY_PROXY_PREFIX, LIBRARY_PROXY_COOKIES

Institutional EZproxy prefix and a cookies.txt from your signed-in browser

ZOTERO_API_KEY, ZOTERO_LIBRARY_ID

Zotero connector

NOTION_API_KEY, NOTION_DATA_SOURCE_ID

Notion connector

SCHOLAR_MCP_TRANSPORT=http

Streamable HTTP at /mcp instead of stdio (scholar-mcp serve --http)

SCHOLAR_IDLE_EXIT

HTTP idle exit in minutes, default 20; 0 keeps the process running. A supervisor such as launchd KeepAlive restarts it to release loaded model memory. Active tool workers and streamed replies finish before the idle window starts.

Scores from a custom reranker must be finite, in [0, 1] and comparable across batches; Scholar falls back to the local model when the endpoint fails and pauses retries for five minutes after a connection failure. Errors returned to the model redact URLs and credentials.

download_paper and read_paper look for free copies in parallel and prefer the publisher's version when one arrives. To use a paper your institution licenses, set its EZproxy prefix and a Netscape cookies.txt exported from your signed-in browser in the server's environment.

export LIBRARY_PROXY_PREFIX="https://proxy.library.example.edu/login?url="
export LIBRARY_PROXY_COOKIES="$HOME/private/library-cookies.txt"

Scholar reads only cookies scoped to that proxy. When the session expires, sign in through your browser and export a fresh file. See Institutional access for client configuration and network routing.

With Chrome, Edge or Chromium and ffmpeg installed, scholar-mcp[google,rerank] adds automatic verification recovery: a short-lived headless browser with a fresh profile establishes a session, then ordinary HTTP handles searches and pagination. Sessions are stored privately under <data>/sessions/. Set SCHOLAR_GOOGLE_RECOVERY=off to disable it.

🔧 Development

git clone https://github.com/Liyux3/scholar-mcp.git
cd scholar-mcp
uv sync --extra dev
uv run pytest            # unit tests; live API tests run with -m integration

A new source is one module in scholar_mcp/sources/ plus one registry entry, and needs no new tool. scholar-mcp doctor --network probes every source, the ranking model and the PDF chain, and runs daily in CI. See CONTRIBUTING.md for changes, and report security issues through SECURITY.md.

📝 Citation

If Scholar MCP supports your research, please cite it.

@software{li_scholar_mcp_2026,
  author  = {Li, Yuxian},
  title   = {Scholar MCP},
  year    = {2026},
  version = {0.11.0},
  url     = {https://github.com/Liyux3/scholar-mcp},
  license = {PolyForm Noncommercial 1.0.0 with additional terms}
}

📄 License

The license and its additional terms make Scholar free for research and education; commercial use needs a license. Bundled CPU reader weights are provided unchanged by prithivida/FlashRank under CC-BY-SA-4.0, with their own attribution notice.

Available Tools

6 tools
download_paperDownload a paper PDFA
Idempotent

Keep a paper's PDF in your local research library.

Resolves an accessible copy across archives and repositories. Use read_paper for temporary reading without keeping a PDF. A successful download keeps a separate copy when the version changes.

Inputs: paper_id (required), save_dir, collection. Returns: object

paper_infoInspect a paper and its citation neighborhoodA
Read-onlyIdempotent

Look up a paper and trace what it builds on or what followed it.

Detail includes the complete available abstract and author list. Citations are papers that cite it; references are papers it cites. Each relation list is ordered by citation count and limited separately.

Inputs: paper_id (required), limit, include. Returns: object

read_paperRead a paper's main text or a page rangeA
Read-onlyIdempotent

Read a paper's text, inspect figures and tables, or jump to its appendix.

Returns page-aware Markdown from pages 1-10 by default, with selectors for figures and tables. Native structured articles are used when a PDF is unavailable, with original section IDs and continuation locators. Use visual to inspect a selected item. The temporary PDF is cleaned up; use download_paper to keep a local copy.

Inputs: paper_id (required), pages, visual. Returns: object

recommend_papersRecommend related papersA
Read-onlyIdempotent

Explore related work around a paper, including connections across topics.

similar finds semantic neighbours and is the default. peers finds papers cited alongside it. kin finds papers sharing its references, including connections across topics. For direct citation lists, use paper_info.

Inputs: paper_id (required), limit, relation. Returns: object

search_authorsSearch academic authorsA
Read-onlyIdempotent

Find researchers and their profiles, affiliations and publication metrics.

Compare returned affiliations to distinguish people with the same name.

Inputs: query (required), limit. Returns: object

search_papersSearch academic papersA
Read-onlyIdempotent

Discover papers that answer a research question or match a remembered idea.

Searches multiple sources, merges duplicates, follows citation connections, and ranks for relevance. Natural-language queries work without extra parameters. Use paper_info when you already have a paper identifier. For cross-language discovery, formulate the query in the language of the target literature, usually English for computer science and AI research.

Inputs: query (required), sort, year, debug, +7 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool maps to a distinct research action: discovery, retrieval/reading, downloading, metadata+citations, related-work exploration, and author lookup. The descriptions actively carve boundaries (e.g. recommend_papers explicitly defers to paper_info for direct citation lists, read_paper vs download_paper distinction), leaving little room for misselection.

    Naming Consistency4/5

    Five of six tools follow a clean verb_noun pattern (search_papers, download_paper, read_paper, recommend_papers, search_authors). paper_info breaks the pattern as a noun-first label, a minor but noticeable deviation.

    Tool Count5/5

    Six tools is tightly scoped for a scholarly literature server, with each tool covering a genuinely distinct stage of the research workflow. Nothing feels padded or missing at the count level.

    Completeness4/5

    The surface covers the full discovery-to-reading lifecycle including citations, references, recommendations, and author search. Minor gaps remain around managing the local library (no list/remove of downloaded papers) and filtering papers by a specific author.

    Maintenance

    ActivityActive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Unified academic search MCP server that searches open literature (arXiv, bioRxiv, medRxiv, PMC), CNKI, and Web of Science, with browser-backed authentication, local paper library, and export to multiple formats.
      21
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      An MCP server that enables coding agents to search academic papers, ingest full-text PDFs, extract structured details, and manage citations in literature research workflows.
      33
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Academic paper search and retrieval MCP server integrating multiple scholarly platforms into a unified interface. Supports search, fetch, trend analysis, and literature review workflows.
      8
      4
      MIT