# Paper Search (arXiv + Semantic Scholar + OpenAlex) [Health: Active]

**Category:** 🔬 Research  
**Repository:** https://github.com/MCPServings/paper-mcp  
**GitHub Stars:** 1  
**Views:** 18  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/paper-search-arxiv-semantic-scholar-openalex

## Description
Paper search, arXiv full-text reading, and citation graphs over arXiv, Semantic Scholar, OpenAlex.

## Tools
Capabilities this server exposes over MCP:

- **search_papers** — Search academic papers. Returns normalized hits with a short abstract preview; call get_paper for the full record.
- **search_all** — Aggregated search across arXiv, Semantic Scholar, OpenAlex and Yongleji at once. Fans out concurrently, de-duplicates the same work across corpora (by DOI or title) and re-ranks with Reciprocal Rank Fusion, so papers found by several sources rank highest. Each hit lists which `sources` found it and an `ids` map ({source: id}) you can pass to get_paper / read_paper / the citation tools. Prefer this over search_papers for a broad lookup.
- **search_medical** — Evidence-graded MEDICAL literature search (PubMed + Europe PMC). Unlike search_all (generic, ranks high-cited reviews/guidelines above trials), this filters by research type via PubMed Publication-Type tags and re-ranks by the evidence pyramid (meta-analysis / systematic review > RCT > cohort > ...), so the actual clinical trials surface first. Open-access full text is pulled from Europe PMC by PMID. `query` should be English keyword/boolean text (PubMed maps it); do natural-language/multilingual understanding upstream. Returns hits with pmid/doi/study_type/evidence_level/citations/abstract and, when open-access, fulltext.
- **get_paper** — Fetch one paper by id, with full abstract and PDF link.
- **search_by_author** — Find papers by a specific author, newest first.
- **list_recent** — List the latest papers in a subject category, newest first.
- **list_categories** — List common subject category codes for filtering/recent.
- **read_paper** — Read a paper's full text. format='markdown' (default, body with formulas as $LaTeX$), 'html' (raw LaTeXML HTML), or 'latex' (the original LaTeX manuscript from the e-print source). arXiv only; id like 2401.01234.
- **list_paper_sources** — List available paper corpora.
- **recognize_formula** — Recognize a math formula from an image and return LaTeX. Provide image_url (downloaded server-side) OR image_base64. model: deepseek-ocr (default), paddleocr-vl, or texify. Returns {latex, model, elapsed_ms}.
- **recognize_table** — Recognize a table from an image and return LaTeX tabular code. Provide image_url OR image_base64. model: deepseek-ocr (default), paddleocr-vl, or texify. Returns {latex, model, elapsed_ms}.
- **list_ocr_models** — List the OCR models available for recognize_formula / recognize_table.
- **lint_latex** — Lint a LaTeX snippet: report errors and return an auto-fixed version. Input `code` (the LaTeX source). Returns {errors, fixed_code, summary_en, summary_zh, elapsed_ms}.
- **extract_pdf** — Extract a PDF to clean Markdown/LaTeX text via MinerU (great for papers behind no open-access full text — give the user's PDF and get readable text back). Provide pdf_url (downloaded server-side, SSRF-guarded) OR pdf_base64. formula/table toggle math/table reconstruction. Returns {task_id, status, cached, content, chars}: a recently-seen (cached) or small PDF comes back with `content` in one call; a fresh PDF (MinerU is GPU-heavy, minutes) returns status='running' + a task_id — then call extract_pdf_result(task_id) to fetch the text.
- **extract_pdf_result** — Fetch the result of an extract_pdf job by task_id. Returns {task_id, status, content, chars}: `content` is the extracted text once status='done'; while still 'running' content is null — call again shortly. Results expire server-side, so fetch reasonably soon.
- **get_paper_citations** — Semantic Scholar: papers that CITE this one (forward citation graph). id accepts S2 id / DOI: / ARXIV: / CorpusId:.
- **get_paper_references** — Semantic Scholar: papers this one REFERENCES (its bibliography). id accepts S2 id / DOI: / ARXIV: / CorpusId:.
- **get_paper_authors** — Semantic Scholar: the authors of a paper (with h-index, paper/citation counts).
- **match_paper_title** — Semantic Scholar: find the single paper whose title best matches the given text (exact-match lookup).
- **autocomplete_papers** — Semantic Scholar: autocomplete paper titles for a partial query (fast type-ahead).
- **search_papers_bulk** — Semantic Scholar: bulk paper search (up to 1000 hits, sortable e.g. 'citationCount:desc' or 'publicationDate:desc', with a continuation token). Filters: fields_of_study, year (e.g. '2020-2024'), venue, publication_types, open_access_pdf.
- **get_papers_batch** — Semantic Scholar: fetch many papers at once by id (S2/DOI:/ARXIV:/CorpusId:), up to ~500 per call.
- **search_authors** — Semantic Scholar: search for authors by name; returns profiles with h-index and paper/citation counts.
- **get_author** — Semantic Scholar: a single author's profile by id.
- **get_author_papers** — Semantic Scholar: all papers by a given author id, newest first.
- **get_authors_batch** — Semantic Scholar: fetch many authors at once by id.
- **search_snippets** — Semantic Scholar: search INSIDE paper full text and return matching text snippets (not just titles/abstracts).
- **recommend_papers_for_paper** — Semantic Scholar: recommend papers similar to one paper. pool='recent' (last open corpus) or 'all-cs' (all of CS). If the 'recent' pool yields nothing (common for older papers), it automatically retries the 'all-cs' pool.
- **recommend_papers_from_examples** — Semantic Scholar: recommend papers from positive (and optional negative) example paper ids.
- **list_dataset_releases** — Semantic Scholar Datasets: list all available release ids (dated snapshots of the full corpus).
- **get_dataset_release** — Semantic Scholar Datasets: which datasets a release contains (papers, abstracts, citations, embeddings, s2orc, tldrs…). release_id defaults to 'latest'.
- **get_dataset_download_links** — Semantic Scholar Datasets: get download links (presigned URLs) for one dataset in a release. Needs the API key.
- **get_dataset_diffs** — Semantic Scholar Datasets: incremental diff (added/updated/deleted) for a dataset between two releases. Needs the key.
- **get_openalex_work** — OpenAlex: fetch one work's full record (316M-work, all-field corpus). id accepts OpenAlex Wxxxx, a DOI, or an arXiv id.
- **get_openalex_citations** — OpenAlex: papers that CITE this work (forward citation graph), most-cited first.
- **get_openalex_references** — OpenAlex: the works this one REFERENCES (its bibliography).
- **search_openalex_authors** — OpenAlex: search authors; returns profiles with h-index, i10-index, works/citation counts and institutions.
- **search_openalex_institutions** — OpenAlex: search institutions (universities, labs) with ROR id, country, works/citation counts.
- **search_openalex_works** — OpenAlex: advanced filtered work search. Filters: from_year, to_year, is_oa (open access only), min_citations, institution_id. sort_by: relevance|newest|cited.
- **get_openalex_trends** — OpenAlex: publication-trend analytics for a query — counts grouped by year (default), or by 'institutions.id', 'authorships.author.id', 'open_access.is_oa', 'type', 'language'. Returns aggregate counts only (cheap, no rows).
- **list_openalex_topics** — OpenAlex: search the topic taxonomy (~4500 topics) to find the right subject term for filtering or recent-work queries.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "paper-search-arxiv-semantic-scholar-openalex": {
    "url": "https://latex-tools.online/mcp"
  }
}
```

## Documentation

## What Paper Search (arXiv + Semantic Scholar + OpenAlex) does

Paper Search (arXiv + Semantic Scholar + OpenAlex) exposes academic research workflows through MCP. It connects to arXiv, Semantic Scholar, and OpenAlex, with a normalized interface for paper search and metadata retrieval. It also provides a medical search path backed by PubMed and Europe PMC, plus supporting tools for OCR, LaTeX validation, and PDF extraction.

The unified `search_all` tool is intended for broad discovery. It searches the three main corpora concurrently, identifies likely duplicates using DOI or title, and combines rankings with Reciprocal Rank Fusion. Results include the sources that matched and source-specific identifiers for follow-up operations. Single-source search remains available when a query needs a particular corpus or its specialized filters.

## How it works

The hosted MCP endpoint is available at `https://latex-tools.online/mcp`. A local deployment can run the Python package as an HTTP MCP service. Paper identifiers vary by source: Semantic Scholar tools accept identifiers such as S2 IDs, DOI values, arXiv IDs, and `CorpusId` values, while `read_paper` uses an arXiv identifier.

ArXiv papers can be returned as metadata, read as Markdown with formulas represented in LaTeX, fetched as raw HTML, or retrieved as the original LaTeX manuscript. The reader attempts official arXiv HTML first, uses ar5iv as a fallback for supported formats, and can use the e-print archive for LaTeX source.

## Setup and configuration

For a local service, create a virtual environment, install the package in editable mode, and start the module:

```bash
python -m venv .venv
. .venv/bin/activate
pip install -e .
PAPER_MCP_PORT=9400 python -m paper_mcp.server
```

The default local endpoint is `http://127.0.0.1:9400/mcp`. `PAPER_MCP_HOST`, `PAPER_MCP_PORT`, and `PAPER_MCP_PATH` change the bind address, port, and MCP path. `SEMANTIC_SCHOLAR_API_KEY` is optional and can increase Semantic Scholar rate limits. Request budgets can be adjusted with `MCP_MAX_PER_HOUR`, `MCP_WORKER_MAX_PER_HOUR`, `MCP_WORKER_SHARED_MAX_PER_HOUR`, and `MCP_RATE_COOLDOWN_SEC`.

## Tools and capabilities

- Search across all three primary corpora or query arXiv, Semantic Scholar, and OpenAlex separately.
- Retrieve full paper records, recent papers, category codes, and papers by author.
- Read arXiv full text as Markdown, HTML, or LaTeX source.
- Search medical literature by study type and rank results using an evidence hierarchy. Open-access text can be attached from Europe PMC.
- Traverse Semantic Scholar citations and references, inspect authors, search full-text snippets, find title matches, and generate recommendations.
- Run Semantic Scholar bulk searches and batch paper or author lookups, including filters for year, venue, field, publication type, and open-access PDFs.
- Search OpenAlex works, authors, and institutions; inspect citations, references, trends, topics, and influence-related metrics.
- Convert formula or table images to LaTeX, list available OCR models, and lint LaTeX snippets with an automatically fixed version.
- Extract PDF content into Markdown or LaTeX. Small or cached documents may return immediately; new MinerU jobs can return a task ID for later retrieval.

## Limitations and notes

ArXiv full-text coverage is incomplete, particularly for older scan-only papers. The medical search expects English keyword or Boolean text; natural-language or multilingual interpretation should happen before calling it. PDF extraction can be asynchronous because fresh MinerU jobs may take minutes. Image and PDF URLs are downloaded server-side and include SSRF protections. ArXiv requests are rate-limited and retried, and local or direct-client traffic is subject to configurable request budgets.

The project is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/paper-search-arxiv-semantic-scholar-openalex/readme_

