Skip to content
MCP Shelf

arXiv MCP Server

Search arXiv, download papers and read them in full.

View on GitHub
  • Package checked
  • ★ 3.2K GitHub stars
  • 19K downloads a week
  • Last commit 8 Oct 2026

What is arXiv MCP Server?

The arXiv MCP Server is an open source MCP server that lets AI assistants search arXiv, download papers and read them section by section, with citation graphs, BibTeX export and topic alerts.

Tools
19
Runs on
Your computer
Licence
Apache-2.0
GitHub stars
3.2K

Good for

  • Literature reviews
  • Reading a paper with an assistant that has the full text
  • Keeping a local library of papers you have looked at

You'll need

  • uv (for uvx)

Package checkedThe npm package called "arxiv-mcp-server" comes from a different repository (r-uben/arxiv-mcp-server). This project publishes to PyPI under that name, so it runs with uvx.

MCP Shelf take

We started arXiv on our own test machine on 26 Oct 2026 and it answered with 19 tools. 11 of the 19 only read; the other 8 can change things. Every tool comes with a useful description, all of them say whether they change things, and the tool list costs about 2,200 tokens of context before you ask a thing. Other directories point at a package with the same name that belongs to someone else; the config on this page installs the real one. It sits 8th of 16 in its category on our shelf by GitHub stars (3.2K, with 19K downloads a week).
MCP Shelf tests: numbers from our own runs, not the README · tested on 26 Oct 2026

What can arXiv MCP Server read and change?

It can read

  • arXiv's public search, abstracts, HTML, PDFs and LaTeX
  • Citation data from Semantic Scholar

It can change

  • Saves papers, an index and your topic watches in the storage folder on your computer

Safer setup: It only reads public research. Point --storage-path at a folder you are happy to fill with papers.

arXiv MCP Server in more detail

The server searches arXiv by query, date and category, downloads papers, converts them to text and keeps them in a local folder. The assistant can then read whole papers instead of abstracts, and list what you have already saved.

It also ships prompts for structured paper analysis.

Made by
Joe Blazick and contributors
Latest version
0.8.2 (8 Oct 2026)
PyPI package
arxiv-mcp-server
Downloads
19K a week
Last commit
8 Oct 2026
Setup checked
27 Oct 2026
Page updated
27 Oct 2026

What's in the pod

What tools does arXiv MCP Server have?

We found 19 tools when we started it on 26 Oct 2026. 11 only read. The rest can change things, so keep your app's "ask before each tool call" setting on for them.

Changes things8 tools · Can create, edit, send or delete.

ToolWhat it is for
check_alertsGoes through every saved watch and reports just the new papers that appeared since you last looked.
download_paperSaves a paper locally and returns its text, using arXiv's HTML version where it exists and the PDF otherwise.
get_paper_latexFetches the paper's original LaTeX source, in bounded chunks.
get_paper_latex_sectionReturns one section of the LaTeX source, with macros expanded.
list_paper_latex_sectionsLists the headings in a paper's LaTeX source.
reindexRebuilds the local search index over your downloaded papers.
unwatch_topicDeletes a saved topic watch.
watch_topicSaves a research topic so check_alerts can tell you about new papers on it.

Only reads11 tools · Looks things up and changes nothing.

ToolWhat it is for
citation_graphLists papers that cite a paper and papers it cites, using Semantic Scholar.
export_citationsWrites BibTeX entries straight from arXiv's own metadata, so nothing is made up.
get_abstractFetches a paper's title, authors and abstract without downloading it, to judge relevance first.
get_paper_outlineLists the headings of a downloaded paper with ids you can read section by section.
list_papersLists the papers you have downloaded.
list_watchesLists your saved topic watches.
read_paperReads a downloaded paper as Markdown, in pieces of about 12,000 characters.
read_paper_sectionReads just one section of a downloaded paper.
search_paper_textFinds passages inside one downloaded paper that match a phrase.
search_papersSearches arXiv by keywords, author, title or category, with date ranges and sorting.
semantic_searchFinds papers in your local library that are close in meaning to a question.

Grouped and described by us. The README on GitHub lists the inputs each tool takes.

How clearly it describes its tools to your assistant

Tools with a description
19 of 19
Say if they change things
19 of 19
Context it takes, at least
~2,200 tokens

Every tool says whether it only reads or can change things, so a client can ask before the risky ones.

From the tool list it sent us. The token figure counts names, descriptions and input names; the full schemas your client loads add more.

How do I install arXiv MCP Server?

Install steps from the arXiv MCP Server README

The project's own instructions, copied from its README on GitHub on 27 Oct 2026 under its Apache-2.0 licence. They are the source of truth; the ready-made configs further down are built from them. The rest of the README is in the README tab.

Install

The default install is uvx arxiv-mcp-server. Command-based integrations need uv, which provides uvx. No repository clone or Python environment setup is required.

uvx arxiv-mcp-server

Add this stdio configuration to clients that accept the mcpServers JSON shape, such as Claude Desktop and Kiro. Other clients may use a top-level servers object, TOML, or their own settings UI; consult the client's MCP documentation.

{
  "mcpServers": {
    "arxiv": {
      "type": "stdio",
      "command": "uvx",
      "args": ["arxiv-mcp-server"]
    }
  }
}

The default paper directory is ~/.arxiv-mcp-server/papers. To choose another directory, append "--storage-path", "/absolute/path/to/papers" to args.

The supported package is published on PyPI as arxiv-mcp-server==0.8.2. An unrelated npm package uses the same name, so do not install this server with npm, pnpm, or npx arxiv-mcp-server.

Listed on the official MCP registry, latest 0.8.2.

What you need first

  • uv (for uvx)

Add arXiv MCP Server to your app

Pick your app for a ready-to-paste snippet and where it goes, built from the steps above.

Where it goes: Your terminal, in the project folder

Claude Code
claude mcp add --transport stdio --scope user arxiv -- uvx arxiv-mcp-server

Or install the plugin, which adds a research skill too: claude plugin marketplace add blazickjp/arxiv-mcp-server, then claude plugin install arxiv-mcp-server@arxiv-mcp. Check the server with claude mcp get arxiv.

Papers are saved to ~/.arxiv-mcp-server/papers. To use another folder, add "--storage-path", "/absolute/path/to/papers" to args.

Checked against the project's own install docs on 27 Oct 2026: blazickjp/arxiv-mcp-server README.

Did this work for you?

Projects change their install steps often. If arXiv MCP Server did not install, or something here no longer matches the project, tell us and we will check it against the README and fix the page.

New to this? See the setup guides for Claude Code, Cursor, Claude Desktop, VS Code, Codex and ChatGPT. If it will not start, test it in MCP Inspector and look up the error in Fixing MCP server errors.

arXiv MCP Server not working? Common fixes

A desktop client cannot find uvx
Use the full path to uvx in the config, found with which uvx or where uvx.
Newer tools such as the LaTeX readers are missing
uvx keeps an old cached copy. Refresh it with uvx --refresh-package arxiv-mcp-server on Python 3.11, then restart your client.
Downloads fail or time out
arXiv throttles busy IP addresses. Wait a little, or raise ARXIV_MAX_TOTAL_TIME and ARXIV_REQUEST_TIMEOUT.
semantic_search or PDF conversion is unavailable
They are optional extras. Install arxiv-mcp-server[pdf] for PDF conversion or arxiv-mcp-server[pro] for local semantic search.

How do I configure arXiv MCP Server?

Names are exactly as the project spells them. Required ones are marked.

SettingWhat it does
--storage-pathCommand line flagFolder for downloaded papers, cached sources, alerts and the search index. Defaults to ~/.arxiv-mcp-server/papers.--storage-path /absolute/path/to/papers
ARXIV_REQUEST_TIMEOUTEnvironment variableSeconds to wait on each arXiv request. Defaults to 30.
ARXIV_MAX_TOTAL_TIMEEnvironment variableOverall seconds allowed for one tool call. Defaults to 50.
ARXIV_MAX_RETRIESEnvironment variableHow many times to retry after a timeout or rate limit. Defaults to 2.

arXiv MCP Server FAQ

How do I add the arXiv MCP Server to Claude Code?

Run claude mcp add --transport stdio --scope user arxiv -- uvx arxiv-mcp-server. With --scope user it is available in every project. Install uv first, and do not use npx: the npm package of that name is unrelated.

What can the arXiv MCP Server do beyond search?

It downloads and stores papers, lists what you have, reads a paper whole or by section, reads the LaTeX source, follows citations, compares papers, exports BibTeX and watches topics for new work.

Does the arXiv MCP Server need an API key?

No. arXiv and Semantic Scholar are used without keys, so the only setup is uv and a client config.

Is the arXiv MCP Server free?

Yes. It is Apache 2.0 licensed, runs on your machine and uses free public APIs, so there is no cost beyond your AI app.

Where does the arXiv MCP Server save papers?

In ~/.arxiv-mcp-server/papers by default. Add --storage-path and an absolute folder path to the args to keep them somewhere else, such as a synced research folder.

Can the arXiv MCP Server make my bibliography?

Yes. export_citations writes BibTeX from arXiv's own records, so author names, titles and IDs come from the source rather than from the model's memory.

Why are some arXiv MCP Server tools missing?

You are probably running an old cached version. The LaTeX readers and other newer tools arrived in recent releases, so refresh uv's cache or pin arxiv-mcp-server==0.8.2 and restart your app.

Is the arXiv MCP Server safe?

It only reads public research and writes papers into its own storage folder. Point the storage path at a folder you are happy to fill, since papers add up.

arXiv MCP Server README

This is the project's own README from blazickjp/arxiv-mcp-server, written by Joe Blazick and contributors, and shared under its Apache-2.0 licence. We copied it on 27 Oct 2026, so the version on GitHub may be newer.

arxiv-mcp-server

A local MCP server for agent literature work. The differentiator is original-LaTeX section reads, BibTeX from arXiv metadata, and topic watches. Papers stay on disk. The working loop is paper ID → outline → one section → citations. Search is optional.

Install

The default install is uvx arxiv-mcp-server. Command-based integrations need uv, which provides uvx. No repository clone or Python environment setup is required.

uvx arxiv-mcp-server

Add this stdio configuration to clients that accept the mcpServers JSON shape, such as Claude Desktop and Kiro. Other clients may use a top-level servers object, TOML, or their own settings UI; consult the client's MCP documentation.

{
  "mcpServers": {
    "arxiv": {
      "type": "stdio",
      "command": "uvx",
      "args": ["arxiv-mcp-server"]
    }
  }
}

The default paper directory is ~/.arxiv-mcp-server/papers. To choose another directory, append "--storage-path", "/absolute/path/to/papers" to args.

The supported package is published on PyPI as arxiv-mcp-server==0.8.2. An unrelated npm package uses the same name, so do not install this server with npm, pnpm, or npx arxiv-mcp-server.

Listed on the official MCP registry, latest 0.8.2.

Why this is not a search wrapper

Search, source retrieval, citation graphs, and downloads call their respective external services. What stays local is the literature loop: read author-submitted LaTeX one section at a time, export BibTeX from authoritative arXiv metadata, and keep topic watches on disk. The server runs locally over stdio by default.

Per-client recipes (Claude Code, Codex, Hermes, VS Code / Kiro, Claude Desktop, plugins)

Use the default JSON above unless your client has a one-line helper.

Claude Code

Add the MCP server for all projects:

claude mcp add --transport stdio --scope user arxiv -- uvx arxiv-mcp-server

For the richer plugin integration—which installs the MCP connection plus the bundled arXiv research skill—register this repository as a marketplace and install the plugin:

claude plugin marketplace add blazickjp/arxiv-mcp-server
claude plugin install arxiv-mcp-server@arxiv-mcp

Verify the direct MCP installation with claude mcp get arxiv. Restart Claude Code or run /reload-plugins after installing the plugin.

OpenAI Codex

Add the MCP server:

codex mcp add arxiv -- uvx arxiv-mcp-server

Or install the MCP connection and bundled research skill as a Codex plugin:

codex plugin marketplace add blazickjp/arxiv-mcp-server
codex plugin add arxiv-mcp-server@arxiv-mcp

Verify the direct MCP installation with codex mcp get arxiv. Codex CLI, the Codex IDE extension, and Codex in the ChatGPT desktop app share this MCP configuration.

Hermes Agent

Add the server, approve the discovered tools, and test the saved connection:

hermes mcp add arxiv --command uvx --args arxiv-mcp-server
hermes mcp test arxiv
VS Code and Kiro

For the richer Kiro Power integration, open the Powers panel, choose Add Custom Power → Import power from GitHub, and enter:

https://github.com/blazickjp/arxiv-mcp-server

The Power installs the MCP connection from mcp.json and adds focused arXiv research guidance. Kiro users who prefer manual configuration can place the generic configuration above in .kiro/settings/mcp.json for one workspace or ~/.kiro/settings/mcp.json for all workspaces.

Claude Desktop bundle

macOS users can install a bundled .mcpb extension from the v0.8.2 release or the latest GitHub release:

Double-click the bundle, drag it into Claude Desktop, or open Settings → Extensions → Advanced settings → Install Extension…. The bundle includes the server dependencies and requires CPython 3.11.x.

Other MCP clients

Other clients may use a top-level servers object, TOML, or their own settings UI; consult the client MCP documentation. Direct MCP installation is the shortest path. Install a plugin when you also want the research workflow that steers the client toward focused searches, bounded reads, citation traversal, and section-level LaTeX retrieval.

Plugin manifests

The same MCP server and research skill are packaged for both major plugin systems:

Integration Manifest Marketplace
Claude Code .claude-plugin/plugin.json .claude-plugin/marketplace.json
OpenAI Codex / ChatGPT Work .codex-plugin/plugin.json .agents/plugins/marketplace.json
Kiro Power POWER.md mcp.json
Shared MCP launch .mcp.json for Claude and repository-local clients; .codex-mcp.json for Codex plugins uvx arxiv-mcp-server
Shared research workflow skills/arxiv-mcp-server/SKILL.md Installed with either plugin

If a desktop client cannot find uvx

Desktop applications do not always inherit the same PATH as your terminal. If uvx arxiv-mcp-server works in a terminal but the client reports that the server failed to connect, find the executable's absolute path:

# macOS and Linux
command -v uvx
# Windows PowerShell
(Get-Command uvx).Source

Replace "command": "uvx" with the returned absolute path, then restart the client. Keep the args value unchanged.

If an existing installation is missing newer tools

uvx reuses cached tool environments. Force it to resolve the current PyPI release with a supported interpreter, then restart your MCP client:

uvx --python 3.11 --refresh-package arxiv-mcp-server arxiv-mcp-server

If your client still launches an older environment, add "--python", "3.11" before "arxiv-mcp-server" in its args array.

Persistent command install

To place arxiv-mcp-server on your PATH instead of launching it through uvx:

uv tool install arxiv-mcp-server

If the command is not immediately available, run uv tool update-shell and restart the terminal. Afterward, use "command": "arxiv-mcp-server" and omit the package name from args.

Tools

The server currently exposes 19 tools.

Tool Purpose Notes
search_papers Search arXiv by query, category, date, and sort order Default ≤5 compact results (abstract_mode=snippet); remote arXiv API
get_abstract Fetch metadata and an abstract by arXiv ID Does not download the paper
download_paper Download and convert a paper to local Markdown HTML first; PDF fallback uses [pdf]; force=true re-fetches; content bounded to 12,000 chars by default
list_papers List papers stored locally Returns id, title, authors, published; compact for IDs only
read_paper Read locally stored paper content Bounded to 12,000 chars by default; supports start/max_chars/return_full_text
get_paper_outline Paginated markdown heading outline Stable hierarchical section IDs
read_paper_section Read one bounded markdown section By outline ID or unique title
search_paper_text Bounded passage search in a paper Source offsets; no Torch required
get_paper_latex Retrieve bounded author-submitted LaTeX Remote arXiv source archive
list_paper_latex_sections Return a paginated LaTeX outline Supports start and max_sections
get_paper_latex_section Read one bounded LaTeX section Select by outline ID or exact title
citation_graph Fetch references and citing papers Remote Semantic Scholar API (1 call per paper, cached on disk); optional free API key improves reliability
export_citations Export BibTeX for one or more arXiv IDs Authoritative arXiv metadata
watch_topic Save or update an arXiv topic watch Stored locally; omit categories to preserve on update, categories: [] to clear
list_watches List saved topic watches Read-only; does not advance last_checked
check_alerts Check saved watches for new papers Returns papers since the last check
unwatch_topic Delete a saved topic watch Exact topic match; not-found if missing
semantic_search Search downloaded papers by semantic similarity Requires [pro]
reindex Rebuild the local semantic index Requires [pro]
Research alerts (watch_topic)

Save standing topic watches with watch_topic, inspect them with list_watches, poll with check_alerts, and remove with unwatch_topic.

When updating an existing watch (same topic string):

  • Omit categories → preserve the stored category filters (and other fields you leave unchanged).
  • Pass categories: [] → clear category filters.
  • Pass a non-empty list → replace the stored filters.

Create path: omitting categories stores an empty list (no category filter).

search_papers query guide

Tool schemas stay short on purpose. Use this section (not the always-loaded MCP description) for query tutorials, category catalogs, and workflow examples.

Query construction

  • Use quoted phrases for exact matches: "multi-agent systems", "neural networks"
  • Combine related concepts with OR: "AI agents" OR "software agents"
  • Field-specific searches: ti:"exact title phrase", au:"author name", abs:"keyword", cat:cs.LG
  • Exclude with ANDNOT: "machine learning" ANDNOT "survey"
  • Prefer 2–4 core concepts over long keyword lists

Advanced patterns

  • Field + phrase: ti:"transformer architecture"
  • Multiple fields: au:"Smith" AND ti:"quantum"
  • Exclusions: "deep learning" ANDNOT ("survey" OR "review")
  • Broad + narrow: "artificial intelligence" AND (robotics OR "computer vision")

Category filtering (recommended for relevance)

Computer Science: cs.AI (AI), cs.LG (ML), cs.CL (NLP), cs.CV (vision), cs.MA (multi-agent), cs.RO (robotics), cs.NE (neural/evolutionary), cs.IR (IR), cs.HC (HCI), cs.CR (security), cs.DB (databases)

Statistics & Math: stat.ML, stat.AP, math.OC, math.ST

Physics & other: quant-ph, eess.SP, eess.AS, physics.data-an

Effective examples

  • ti:"reinforcement learning" with categories: ["cs.LG", "cs.AI"]
  • au:"Hinton" AND "deep learning" with categories: ["cs.LG"]
  • "multi-agent" ANDNOT "survey" with categories: ["cs.MA"]
  • abs:"transformer" AND ti:"attention" with categories: ["cs.CL"]

Dates and sorting

  • Dates use YYYY-MM-DD (date_from / date_to)
  • Default sort_by is relevance; use date for newest-first monitoring
  • Foundational work: date_to: "2010-12-31" with title/abstract field searches

Result size, abstracts, and pagination

  • Default max_results is 5 (cap 50). Pass an explicit value for larger pages.
  • abstract_mode: snippet (default, ~280 chars, marked … [truncated] when cut), full (complete abstract), or none (omit abstracts). Other metadata (title, authors, categories, dates, URLs) is always returned.
  • Responses report total_results (corpus hits), returned, has_more, start, next_start, and abstract_mode
  • Pass start=next_start with the same abstract_mode for the next page
  • arXiv enforces ~3 seconds between requests (handled server-side); on rate-limit errors wait ~60s
Search and inspect a paper

Ask your MCP client to call search_papers with:

{
  "query": "\"Kolmogorov-Arnold Networks\"",
  "categories": ["cs.LG", "cs.AI"],
  "sort_by": "date"
}

Defaults return up to five compact results with abstract snippets. Use "abstract_mode": "full" when you need complete abstracts in the search response, or call get_abstract for a single paper after a compact search:

{
  "paper_id": "2404.19756"
}

Do not call get_abstract again for papers already returned with abstract_mode=full.

Download and read full text

Call download_paper with:

{
  "paper_id": "2404.19756"
}

Omitting max_chars returns a bounded first chunk (default 12,000 paper characters). Cached papers are returned immediately. Pass "force": true to re-download and overwrite the local markdown and sidecar (also happens automatically when the HTML extractor version changes).

Then page through the cached content with read_paper:

{
  "paper_id": "2404.19756",
  "start": 0
}

Or continue from a prior chunk:

{
  "paper_id": "2404.19756",
  "start": 12000
}

Large-content responses include content_length, returned_chars, next_start, is_truncated, and (when truncated) next_retrieval with the next-call instruction. Pass next_start into the next call's start to continue reading. Pass an explicit max_chars to override the default chunk size, or "return_full_text": true to opt into the previous unbounded full-paper response.

Migration notes (bounded content default)

Previously, omitting max_chars on download_paper / read_paper returned the entire paper. That default is now a 12,000-character chunk so a single MCP tool call cannot flood the client context window.

Need Call
First bounded chunk (new default) { "paper_id": "…" }
Continue reading { "paper_id": "…", "start": <next_start> }
Custom chunk size { "paper_id": "…", "max_chars": 5000 }
Old unbounded behavior { "paper_id": "…", "return_full_text": true }

Clients that already passed max_chars are unchanged. Only callers that relied on the omitted-max_chars = full-text behavior need to add return_full_text: true or page via next_start.

Read original LaTeX by section

Call get_paper_latex with:

{
  "paper_id": "1706.03762"
}

Get the first page of its section outline with list_paper_latex_sections:

{
  "paper_id": "1706.03762",
  "start": 0,
  "max_sections": 100
}

Then call get_paper_latex_section using an ID from that outline:

{
  "paper_id": "1706.03762",
  "section_id": "3.2",
  "max_chars": 12000
}

LaTeX archives are validated, size-limited, and cached locally before content is returned.

Optional dependencies

Choose the install variant that matches the features you need:

# Base server
uv tool install arxiv-mcp-server

# Base server plus PDF conversion
uv tool install "arxiv-mcp-server[pdf]"

# Base server plus local semantic search
uv tool install "arxiv-mcp-server[pro]"

If the base tool is already installed, reinstall the selected variant:

uv tool install --force "arxiv-mcp-server[pdf]"

The pdf extra installs pymupdf4llm and pymupdf-layout for papers without usable arXiv HTML. The pro extra adds local embedding dependencies for semantic_search and reindex; semantic search only operates on papers already downloaded to the configured storage directory.

For older papers that require PDF conversion, run the package with its PDF extra:

{
  "mcpServers": {
    "arxiv": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "--from",
        "arxiv-mcp-server[pdf]",
        "arxiv-mcp-server"
      ]
    }
  }
}

Built-in prompts

The server provides seven MCP prompt workflows. Prompt availability depends on the client; the server provides workflow instructions but does not run a separate model.

Prompt Required arguments Purpose
research-discovery topic Map terminology, searches, papers, research clusters, and a reading path
deep-paper-analysis paper_id Analyze one paper in depth
summarize_paper paper_id Summarize methods, results, and limitations
compare_papers paper_ids Compare multiple papers
literature_review topic Synthesize a topic and optional paper set
literature-synthesis paper_ids Synthesize themes, methods, timelines, or gaps across papers
research-question paper_ids, topic Formulate grounded, falsifiable research questions

Streamable HTTP

For deployments where stdio is not practical:

TRANSPORT=http HOST=127.0.0.1 PORT=8080 \
  uvx arxiv-mcp-server --storage-path /absolute/path/to/papers

PowerShell:

$env:TRANSPORT = "http"
$env:HOST = "127.0.0.1"
$env:PORT = "8080"
uvx arxiv-mcp-server --storage-path C:\absolute\path\to\papers

Connect clients to:

{
  "mcpServers": {
    "arxiv": {
      "type": "http",
      "url": "http://127.0.0.1:8080/mcp"
    }
  }
}

Cloud and load-balancer probes should GET http://<host>:<port>/healthz. It returns 200 with body ok once the HTTP server is listening. There is no separate /ready check: if the process is up, it is ready. The stdio transport has no HTTP endpoints.

The server binds to 127.0.0.1 by default and enables MCP DNS-rebinding protection. If a reverse proxy exposes the server, keep the process on a private interface and provide authentication and network controls upstream. Use ALLOWED_HOSTS and ALLOWED_ORIGINS for the host and origin values forwarded by the proxy.

Configuration

Setting Default Purpose
--storage-path ~/.arxiv-mcp-server/papers Paper, source-cache, alert, and index storage
MAX_RESULTS 50 Server-side cap for result counts
ARXIV_REQUEST_TIMEOUT 30 Per-attempt read timeout in seconds for all arXiv requests (API, HTML, PDF, LaTeX). Values ≤ 0 fall back to default.
REQUEST_TIMEOUT – Deprecated. Legacy alias for ARXIV_REQUEST_TIMEOUT (applies to all requests). Only used when ARXIV_REQUEST_TIMEOUT is not set. Effective default: 30s. Values ≤ 0 fall back to default.
ARXIV_CONNECT_TIMEOUT 10 Connection timeout in seconds for all arXiv requests. Values ≤ 0 fall back to default.
ARXIV_MAX_TOTAL_TIME 50 Total budget in seconds for each tool call (HTML + PDF combined for download_paper). Values ≤ 0 fall back to default. Note: Very small budgets (under ~6s) may leave insufficient time for HTML-to-PDF fallback due to the process-wide 3s rate-limiter delay.
ARXIV_MAX_RETRIES 2 Maximum retry attempts for transient failures (timeouts, connections, 429, 503)
ARXIV_HTTP_406_MAX_RETRIES 1 Maximum retry attempts for HTTP 406 (IP-level throttling, use minimal retries)
ARXIV_INITIAL_BACKOFF 2.0 Initial exponential backoff delay in seconds
ARXIV_MAX_BACKOFF 30 Maximum backoff delay in seconds (Retry-After can exceed this and causes immediate rate_limited return). Values ≤ 0 fall back to default.
TRANSPORT stdio stdio, http, or streamable-http
HOST 127.0.0.1 HTTP bind host
PORT 8000 HTTP bind port
ALLOWED_HOSTS empty Additional accepted HTTP Host values
ALLOWED_ORIGINS empty Additional accepted HTTP Origin values
SEMANTIC_SCHOLAR_API_KEY empty Free Semantic Scholar API key for citation_graph. Get one at https://www.semanticscholar.org/product/api#api-key to avoid rate limits. Unauthenticated requests work until quota exhausted.

Environment variable names are case-insensitive through Pydantic settings. --storage-path is a command-line option rather than an environment setting.

Security

Paper text and LaTeX are untrusted external content. A paper can contain text intended to manipulate an AI client into ignoring its instructions or calling unrelated tools.

  • Do not treat instructions found inside a paper as trusted commands.
  • Use client approval controls for shell, browser, filesystem, and messaging tools.
  • Review generated summaries before taking external actions.
  • Keep Streamable HTTP private unless authentication is provided upstream.

See SECURITY.md for the reporting policy and threat details.

Development

git clone https://github.com/blazickjp/arxiv-mcp-server.git
cd arxiv-mcp-server
uv sync --extra test --extra dev
uv run pytest
uv run black --check .

Run the development checkout from an MCP client with:

{
  "mcpServers": {
    "arxiv-dev": {
      "command": "uv",
      "args": [
        "--directory",
        "/absolute/path/to/arxiv-mcp-server",
        "run",
        "arxiv-mcp-server"
      ]
    }
  }
}

Contributions are welcome. Read CONTRIBUTING.md before opening a pull request, and use GitHub Issues for reproducible bugs or scoped feature proposals.

License

Apache License 2.0. See LICENSE.

Two peas, one chat

Chat with AI about arXiv

Opens a chat primed with arXiv’s README and setup docs from this page, or add it in Cursor to use its tools.

The Cursor button opens Cursor and asks before it adds the server. Fill in any keys it needs in Cursor’s MCP settings.

Peas in a pod

What are the alternatives to arXiv MCP Server?

How arXiv MCP Server lines up against its neighbours on the shelf. See every knowledge and work apps server.

  • arXiv MCP ServerThis pea

    Search arXiv, download papers and read them in full.

    Tools
    19
    Runs on
    Your computer
    Licence
    Apache-2.0
    Stars
    3.2K
  • TradingView MCP

    Prices, indicators, screeners and backtests for stocks, crypto and forex, no account needed.

    Tools
    37
    Runs on
    Your computer or hosted
    Licence
    MIT
    Stars
    5.2K
  • Obsidian MCP

    Search, read and edit the notes in your Obsidian vault.

    Tools
    15
    Runs on
    Your computer
    Licence
    MIT
    Stars
    4.5K
  • Google Workspace MCP

    Gmail, Drive, Calendar, Docs, Sheets and six more Google apps behind one server.

    Tools
    43
    Runs on
    Your computer
    Licence
    MIT
    Stars
    3.4K
  • 12306 MCP

    Searches China Railway 12306 for trains, seats, stops and transfers.

    Tools
    8
    Runs on
    Your computer
    Licence
    MIT
    Stars
    2.4K
  • Google Search Console MCP

    Ask an assistant about your clicks, queries, indexing and sitemaps in Search Console.

    Tools
    21
    Runs on
    Your computer
    Licence
    MIT
    Stars
    2.1K
Full docs on GitHubblazickjp/arxiv-mcp-server

Something wrong on this page? Tell us.

For bots & AI agents

Machine-readable versions of arXiv MCP Server and MCP Shelf. Fetch these instead of parsing this page.

This listing (.md)llms.txtllms-full.txtai.txtFull catalog (.md)API specMCP serverMCP manifestDeveloper docs