Arxiv MCP Server
What it does
Search arXiv, fetch paper metadata, and read full-text content.
- Connects 电脑或云端
- Account or key No key needed
- Category 搜索与 AI 记忆
安装
选择你使用的 AI 应用,然后复制设置。
通过 5/5 项检查 · 你的提问会经过开发者的服务器(arxiv.caseyjhand.com)
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude · 约 2 分钟
不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加
打开 Claude 的 Connectors 页面
CustomizeConnectors
点击“+ Add” → “Add custom connector”,填写这 2 项
把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue
Name · 名称Arxiv MCP ServerRemote MCP server URL · 地址https://arxiv.caseyjhand.com/mcpAuthentication 保持 Claude 检测到的设置,然后点击 Add
在聊天中开启
+ConnectorsArxiv MCP Server
试一试
用 Arxiv MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Arxiv MCP Server,或回答中出现 Arxiv MCP Server 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
仅企业版 ChatGPT 可连接
适用于网页版 ChatGPT Business、Enterprise 或 Edu,需由工作区管理员或所有者添加 · 使用 Free、Plus 或 Pro:你的 ChatGPT 方案暂时无法自行连接 MCP
在网页版 ChatGPT 打开添加 MCP 的页面
Plugins+Add custom MCP server
填写名称和地址
输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin
Name · 名称Arxiv MCP ServerConnection · 地址https://arxiv.caseyjhand.com/mcp在聊天中选择 Arxiv MCP Server
开启新聊天,输入前先从插件列表中选择 Arxiv MCP Server
试一试
用 Arxiv MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 ChatGPT 说正在使用 Arxiv MCP Server,或回答中出现 Arxiv MCP Server 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Claude Code · 约 2 分钟
不需要密钥,不用安装程序
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
claude mcp add --transport http --scope user arxiv https://arxiv.caseyjhand.com/mcp在 Claude Code 中输入 /mcp
应能看到 Arxiv MCP Server 在列表中并显示已连接
试一试
用 Arxiv MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Arxiv MCP Server,或回答中出现 Arxiv MCP Server 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor · 约 2 分钟
不需要密钥,不用安装程序
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 Arxiv MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Arxiv MCP Server,或回答中出现 Arxiv MCP Server 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code · 约 2 分钟
不需要密钥,不用安装程序
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 Arxiv MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Arxiv MCP Server,或回答中出现 Arxiv MCP Server 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看
通过网页连接的应用使用的地址
https://arxiv.caseyjhand.com/mcpJSON 设置在下方“开发者专用”中
开发者专用:终端命令和 JSON 设置
通过网页连接
Claude Code
claude mcp add --transport http --scope user arxiv https://arxiv.caseyjhand.com/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"arxiv": {
"url": "https://arxiv.caseyjhand.com/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"arxiv": {
"type": "http",
"url": "https://arxiv.caseyjhand.com/mcp"
}
}
}安装在电脑上
Claude Code
claude mcp add --scope user arxiv --env ARXIV_API_BASE_URL=your-value --env ARXIV_REQUEST_DELAY_MS=your-value --env ARXIV_CONTENT_TIMEOUT_MS=your-value --env ARXIV_API_TIMEOUT_MS=your-value --env ARXIV_READ_TIMEOUT_MS=your-value --env MCP_LOG_LEVEL=your-value -- npx -y @cyanheads/arxiv-mcp-serverClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"arxiv": {
"command": "npx",
"args": [
"-y",
"@cyanheads/arxiv-mcp-server"
],
"env": {
"ARXIV_API_BASE_URL": "your-value",
"ARXIV_REQUEST_DELAY_MS": "your-value",
"ARXIV_CONTENT_TIMEOUT_MS": "your-value",
"ARXIV_API_TIMEOUT_MS": "your-value",
"ARXIV_READ_TIMEOUT_MS": "your-value",
"MCP_LOG_LEVEL": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"arxiv": {
"command": "npx",
"args": [
"-y",
"@cyanheads/arxiv-mcp-server"
],
"env": {
"ARXIV_API_BASE_URL": "your-value",
"ARXIV_REQUEST_DELAY_MS": "your-value",
"ARXIV_CONTENT_TIMEOUT_MS": "your-value",
"ARXIV_API_TIMEOUT_MS": "your-value",
"ARXIV_READ_TIMEOUT_MS": "your-value",
"MCP_LOG_LEVEL": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"arxiv": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/arxiv-mcp-server"
],
"env": {
"ARXIV_API_BASE_URL": "your-value",
"ARXIV_REQUEST_DELAY_MS": "your-value",
"ARXIV_CONTENT_TIMEOUT_MS": "your-value",
"ARXIV_API_TIMEOUT_MS": "your-value",
"ARXIV_READ_TIMEOUT_MS": "your-value",
"MCP_LOG_LEVEL": "your-value"
}
}
}
}需要你填写的值
ARXIV_API_BASE_URLenvarXiv API base URL.ARXIV_REQUEST_DELAY_MSenvMinimum delay between arXiv API requests (ms).ARXIV_CONTENT_TIMEOUT_MSenvTimeout for paper body fetches — HTML renders and PDF downloads (ms).ARXIV_API_TIMEOUT_MSenvTimeout for API search/metadata requests (ms).ARXIV_READ_TIMEOUT_MSenvTime budget for one arxiv_read_paper call — its metadata lookup, every content request and retry, and PDF text extraction (ms).MCP_LOG_LEVELenvSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
通过互联网连接,适用于
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
工具名称和描述与服务器在 2026年11月12日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
arxiv_search_papersSearch arXiv papers by query with category and sort filters. Returns paper metadata including title, authors, abstract, categories, and links.
arxiv_get_metadataGet full metadata for one or more arXiv papers by ID. Use when you have known IDs from citations, prior search results, or memory. Looks up 10 IDs per call; any further IDs come back in remaining_ids for the next call.
arxiv_read_paperFetch the full text of an arXiv paper. Tries arxiv.org/html first, falls back to ar5iv.labs.arxiv.org, and falls back again to text extracted from the PDF when neither has an HTML render — check the source field to know which one answered. Page through long papers with start and
arxiv_list_categoriesList arXiv category codes and names. Useful for discovering valid category filters for arxiv_search_papers. Lists subject classes only; arxiv_search_papers also accepts a bare archive code (the part before the dot, e.g. "astro-ph" or "cs") to search a whole archive at once.
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月12日
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“搜索与 AI 记忆”中的其他服务器比较i
- 星标数多于此分类中其他 5973 个服务器的 90%
- 发布到注册中心的时间比此分类中其他 5973 个服务器的 90% 更新
- 基础检查结果等于或优于此分类中其他 5973 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Arxiv MCP Server 安全吗?
它在 5 项适用的基础检查中通过了 5 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
两种方式都可以:安装在你的电脑上,或者连接云端版本。
它还在维护吗?
GitHub 仓库最后更新于3天前,最新版本(1.8.2)于3天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于支持远程 MCP 的应用,例如 ChatGPT Business 及以上方案。
有什么可以替代它?
同一分类中有:Context7, Codebase Memory, Ruflo
同类别的其他选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
@cyanheads/arxiv-mcp-server Search arXiv, fetch paper metadata, and read full-text content via MCP. STDIO or Streamable HTTP. 4 Tools • 2 Resources
Public Hosted Server: https://arxiv.caseyjhand.com/mcp
Overview
arXiv papers, metadata, and full text from the arXiv API and its OAI-PMH metadata feed. Search papers by query, category, and submission date; fetch structured metadata by ID; and read full paper text with automatic fallback across HTML and PDF renders. Runs as a stdio process, a local Streamable HTTP server, or the public hosted endpoint above.
Tools
| Tool | Description |
|---|---|
arxiv_search_papers | Search arXiv papers by query with field prefixes, category, and date filters |
arxiv_get_metadata | Fetch metadata for one or more papers by arXiv ID |
arxiv_read_paper | Read full paper text via HTML, ar5iv, or PDF-extracted fallback |
arxiv_list_categories | List the arXiv category taxonomy, optionally filtered by group |
Resources
| Resource | Description |
|---|---|
arxiv://paper/{paperId} | Paper metadata by arXiv ID |
arxiv://categories | Full arXiv category taxonomy |
Capability reference
arxiv_search_papers tool
- Query supports field prefixes
ti:,au:,abs:,cat:,co:,jr:,all:andAND/OR/ANDNOT, up to 1000 characters;categorytakes a code (cs.CL) or a whole archive (astro-ph,cs,math) - Query grammar follows arXiv's: space-separated terms are joined with
OR(writeANDto require every term), operators are uppercase only, and all three share one precedence grouped to the right (a AND b OR cisa AND (b OR c)). Quote a multi-word topic ("graph neural networks" AND cat:cs.LG) and put alternatives in parentheses before a filter; arXiv ignores common words such asofandtheoutside a quoted phrase - Sorts by
sort_by(relevance/submitted/updated) andsort_order, withsubmitted_from/submitted_toas inclusive UTCYYYY-MM-DDbounds; up to 50 results per call (a largermax_resultsreturns 50) - arXiv serves only the first 10,000 results of a query; a
startof 10,000 failsstart_beyond_result_limit. Use date windows to go further - Output echoes the effective query, total match count, and page offset; empty pages carry recovery guidance instead of an error. A total that is a floor (the local mirror counting to 50,000) carries
totalFoundIsLowerBound: true
arxiv_get_metadata tool
- Takes up to 100 IDs and looks up the first 10 distinct ones; the rest come back in
remaining_idsfor the next call'spaper_ids. An ID repeated in any accepted spelling is looked up once, while different versions of one paper stay separate - Accepts versioned (
2401.12345v2), unversioned, and pre-2007 (hep-th/9901001) IDs, with an optionalarXiv:prefix or an arxiv.orgabs/pdf/htmlURL - Returns found papers plus a typed
not_found[](not_in_arxiv/version_not_in_mirror/version_not_served/live_lookup_failed/invalid_id) for the rest;version_not_servedis a superseded pre-2007 version arXiv's API answers HTTP 500 for, and itsdetailnames the latest version. With the local mirror,live_lookup_failedmarks an ID the mirror lacked whose live lookup failed; the papers the mirror served still come back - Fails
invalid_idwhen no ID is well-formed,no_matchwhen every ID misses,version_unavailablewhen a version is reachable only on the live API, andversion_not_servedwhen every ID is a version arXiv will not serve
arxiv_read_paper tool
- Tries arXiv HTML, then ar5iv, then PDF text extraction; the
sourcefield reports which answered. PDF text is plain, so math, tables, and headings flatten - ar5iv keeps one render per paper, so an ar5iv body may be another revision than
paper_idand carriesrevision_unconfirmed: true, unless the read named no version and arXiv's API reported v1 as the paper's only version;pdf_urlis exactly thepaper_idrevision max_charactersdefaults to 100,000 (passnullfor the whole paper); page withstart. The first page carries anoutlineof section headings with offsetspaper_idaccepts the same ID spellings asarxiv_get_metadata- Fails
invalid_id,no_match(arXiv has no such paper, or no such version of it),content_unavailable(no render, no PDF),pdf_extraction_failed(the PDF has no text layer or does not parse),version_unavailable(version-pinned ID needs the live API), orversion_not_served(a superseded pre-2007 version arXiv will not serve; names the latest version and this version's PDF)
arxiv_list_categories tool
- ~155 categories across 8 top-level groups (
cs,econ,eess,math,physics,q-bio,q-fin,stat) - Optional
groupfilter to narrow results - Static data — always succeeds
arxiv://paper/{paperId} resource
paperIdaccepts the same ID spellings asarxiv_get_metadata; percent-encode a legacy ID's slash (arxiv://paper/hep-th%2F9901001)- Fails
empty_id,invalid_id,no_match,version_unavailable, orversion_not_served
arxiv://categories resource
- Returns
{ categories: [...] }, a flat array withcode/name/groupper entry - No parameters; cacheable for 24h
Features
Built on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.
arXiv-specific:
- Read-only, no authentication required
- Request queue enforcing arXiv's 3-second crawl delay; rate-limit responses fail fast with a cooldown
- Paper text falls back from arXiv HTML to ar5iv to PDF extraction
- Full arXiv category taxonomy embedded as static data
- Optional local OAI-PMH metadata mirror (SQLite + FTS5) that removes rate-limit exposure for search and metadata. See Optional: local mirror
Agent-friendly output:
arxiv_read_papernames itssource;arxiv_search_papersechoes the effective queryarxiv_get_metadatareturns found papers with a typednot_found[]reason per miss- Typed
sourceandnot_found[].reasonenums let callers branch on data
Getting started
Public Hosted Instance
A public instance is available at https://arxiv.caseyjhand.com/mcp — no installation required. Point any MCP client at it via Streamable HTTP:
{
"mcpServers": { "arxiv-mcp-server": { "type": "streamable-http", "url": "https://arxiv.caseyjhand.com/mcp" } } }
Self-Hosted / Local
Add the following to your MCP client configuration file.
{
"mcpServers": { "arxiv-mcp-server": { "type": "stdio", "command": "bunx", "args": ["@cyanheads/arxiv-mcp-server@latest"] } } }
Or with npx (no Bun required):
{
"mcpServers": { "arxiv-mcp-server": { "type": "stdio", "command": "npx", "args": ["-y", "@cyanheads/arxiv-mcp-server@latest"] } } }
Or with Docker:
{
"mcpServers": { "arxiv-mcp-server": { "type": "stdio", "command": "docker", "args": ["run", "-i", "--rm", "-e", "MCP_TRANSPORT_TYPE=stdio", "ghcr.io/cyanheads/arxiv-mcp-server:latest"] } } }
For Streamable HTTP, set the transport and start the server:
MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 bun run start:http
Server listens at http://localhost:3010/mcp
Prerequisites
- Bun v1.4.0 or higher (or Node.js v24+).
Installation
- Clone the repository:
git clone https://github.com/cyanheads/arxiv-mcp-server.git
- Navigate into the directory:
cd arxiv-mcp-server
- Install dependencies:
bun install
Configuration
All configuration is optional — the server works out of the box with sensible defaults.
| Variable | Description | Default |
|---|---|---|
ARXIV_API_BASE_URL | arXiv API base URL. | https://export.arxiv.org/api |
ARXIV_REQUEST_DELAY_MS | Minimum delay between arXiv API requests (ms). | 3000 |
ARXIV_CONTENT_TIMEOUT_MS | Timeout for paper body fetches — HTML renders and PDF downloads (ms). | 30000 |
ARXIV_API_TIMEOUT_MS | Timeout for API search/metadata requests (ms). With the mirror enabled, also the longest an unversioned arxiv_read_paper waits on its metadata lookup, queue included, before a mirror holding the paper answers. | 15000 |
ARXIV_READ_TIMEOUT_MS | Time budget for one arxiv_read_paper call — its metadata lookup, every content request and retry, and PDF text extraction (ms). Keep it under your MCP client's request timeout (60 s by default). | 50000 |
ARXIV_MIRROR_ENABLED | Enable the local OAI-PMH metadata mirror. | false |
ARXIV_MIRROR_PATH | SQLite path for the mirror. | ./data/arxiv-mirror.db |
ARXIV_MIRROR_REFRESH_CRON | UTC cron expression for in-process daily refresh (HTTP mode only). | unset |
ARXIV_MIRROR_FALLBACK_LIVE | Fall through to the live API on a local ID-lookup miss. | true |
ARXIV_MIRROR_RECENT_DAYS_LIVE | Positive values send sort_by=submitted, descending queries to the live API; 0 disables. | 2 |
ARXIV_MIRROR_OAI_BASE_URL | arXiv OAI-PMH endpoint base URL. | https://oaipmh.arxiv.org/oai |
ARXIV_MIRROR_OAI_REQUEST_DELAY_MS | Minimum delay between OAI-PMH requests (ms). | 3000 |
ARXIV_MIRROR_REFRESH_TIMEOUT_MS | Time budget for one scheduled refresh (ms). | 7200000 |
MCP_TRANSPORT_TYPE | Transport: stdio or http. | stdio |
MCP_HTTP_PORT | Port for HTTP server. | 3010 |
MCP_SESSION_MODE | auto, stateful, or stateless. | stateless |