arxiv-query-mcp

Getting Started

  • Installation
    • Prerequisites
    • Recommended: uv and one-command setup
    • Install from PyPI
    • Install with Poetry (recommended)
    • Build from Source
    • MCP Client Setup
      • Claude Desktop
      • Other MCP Clients
    • Building the Docs
  • Quickstart
    • Search by Topic
    • Search by Author
    • Look Up a Specific Paper
    • Browse a Category
    • Read a Paper’s Text
    • Query Syntax Reference

Tool Reference

  • Tool Reference
    • arxiv_search
      • Parameters
      • Query Syntax
      • Examples
      • JSON Response Schema
    • arxiv_get_paper
      • Parameters
      • Paper ID Formats
      • Examples
      • Well-Known Papers
      • JSON Response Schema
    • arxiv_list_by_category
      • Parameters
      • Category Codes
      • Examples
    • arxiv_fetch_paper_text
      • Parameters
      • Return Values
      • Examples
      • HTML Availability
    • arxiv_related_papers
      • Parameters
      • Return Values
      • Examples
      • Rate Limits
    • Common Parameters
      • response_format
      • sort_by / sort_order

Configuration

  • Configuration
    • Setting environment variables
    • Connection and output
    • Caching
    • Rate limiting and retries
    • Agent skill
    • Programmatic configuration
  • Caching and Rate Limiting
    • Two-tier cache
    • Rate limiting
    • Retries
    • Turning it off

API Reference

  • API Reference
    • server
      • main()
    • cli
      • setup()
      • main()
      • clients
      • targets
      • skill
    • models
      • SortBy
      • SortOrder
      • Relation
      • ResponseFormat
      • SearchInput
      • GetPaperInput
      • ListByCategoryInput
      • FetchPaperTextInput
      • RelatedPapersInput
    • config
    • cache
      • TwoTierCache
    • ratelimit
      • RateLimiter
      • resilient_get()
    • semantic_scholar
      • PaperNotIndexedError
      • fetch_related()
      • related_error_message()
      • format_related()
    • utils
arxiv-query-mcp
  • Tool Reference
  • arxiv_related_papers
  • Edit on GitHub

arxiv_related_papers

Find papers related to a known arXiv paper: papers on the same topic, the papers it cites, or the papers that cite it.

arXiv has no citation or similarity data, so this tool queries the Semantic Scholar API, which indexes arXiv papers by their arXiv ID.

Note

Results can include papers that are not on arXiv. They have no arxiv_id and link to Semantic Scholar instead. Very new preprints can take a few days to appear in Semantic Scholar.

Parameters

Parameter

Type

Default

Description

paper_id

str

(required)

arXiv paper ID or URL, e.g. 1706.03762. A version suffix is ignored, since relations are tracked per paper.

relation

str

similar

similar (recommendations on the same topic) · references (papers this one cites) · cited_by (papers citing this one)

max_results

int

10

Number of results to return. Range: 1 – 50.

start

int

0

Pagination offset for references and cited_by. Recommendations are a single list, so similar only accepts 0.

response_format

str

markdown

Output format: markdown · json

Return Values

Each paper carries its title, authors, year, citation count, venue, a link (the arXiv abstract page when the paper is on arXiv) and an abstract snippet. With response_format set to json:

{
  "paper_id": "1706.03762",
  "relation": "similar",
  "source": "semantic_scholar",
  "start": 0,
  "count": 10,
  "has_more": false,
  "next_start": null,
  "papers": [
    {
      "title": "Transformer++",
      "authors": ["Prakhar Thapak", "Prodip Hore"],
      "year": 2020,
      "published": "2020-03-11",
      "arxiv_id": "2003.04974",
      "doi": "",
      "venue": "arXiv.org",
      "citation_count": 0,
      "url": "https://arxiv.org/abs/2003.04974",
      "abstract": "..."
    }
  ]
}

Examples

Papers similar to Attention Is All You Need:

{ "paper_id": "1706.03762" }

What the Adam paper builds on:

{ "paper_id": "1412.6980", "relation": "references" }

The second page of papers citing DeepSeekMath:

{ "paper_id": "2402.03300", "relation": "cited_by", "max_results": 20, "start": 20 }

Rate Limits

Without an API key, requests share Semantic Scholar’s public quota and are throttled more often. Request a free key from Semantic Scholar and set ARXIV_MCP_S2_API_KEY to give the server its own quota. Requests are spaced by ARXIV_MCP_S2_RATE_LIMIT_PERIOD (default one second), independently of the arXiv spacing, and results are cached like arXiv results (see Caching and Rate Limiting).

Previous Next

© Copyright 2026, Lucas Waetzig.

Built with Sphinx using a theme provided by Read the Docs.