CCM
/MCP
SkillsMCPMarketplacesDigestToolsAdvertise

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by Category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP Servers by Category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by Category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control

Claude Code Marketplaces

Discover Claude Code plugins, extensions, and tools. Automatically updated directory of Anthropic Claude AI marketplaces with development tools, productivity plugins, and integrations.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Marketplaces
  • Skill index
  • MCP index
  • Marketplace index
  • Plugins Reference

Community

  • About
  • Tools
  • Feedback
  • Privacy Policy
  • Advertise

Built for the Claude Code community with Claude Code by mertbuilds.com

Independent project, not affiliated with Anthropic
cyanheads avatar

arxiv-mcp-server

cyanheads/arxiv-mcp-server
HTTP
Summary

Gives Claude direct access to arXiv's academic paper database through four tools: free-text search with field prefixes and boolean operators, batch metadata lookup by paper ID, full HTML content extraction with LaTeX math formatting, and category taxonomy browsing. Built on the author's mcp-ts-core framework with rate limiting that respects arXiv's 3-second crawl delay and adaptive backoff. Ships with an optional local SQLite mirror using arXiv's OAI-PMH feed to eliminate rate limit exposure on searches. Available as a public hosted instance at arxiv.caseyjhand.com or run locally via stdio. Particularly useful when you need to search recent papers, pull abstracts in bulk, or read full paper content without leaving your LLM workflow.

CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
ego lite browserego lite browser
ego lite browser
Fastest browser for AI agents to run web automation tasks, always free.
Download Free life-time →
belt - the only tool your agent needs
belt - the only tool your agent needs
belt cli automatically finds the best tools and skills for your agent. image, video, music, tts...
one prompt install →
Open Steps
Open Steps
Free an open-source skills that make AI coding agents easier to understand, verify, and control.
Download for free →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Agent, connect blockchain
Agent, connect blockchain
Connect your Claude agent to live crypto prices and trading routes via 1inch
Get the MCP →
Granola, the best AI meeting recorder
Granola, the best AI meeting recorder
Notes, actions and memory. Without a meeting bot. First month 100% off.
Download for free →
CodeHealth MCP ServerCodeHealth MCP Server
CodeHealth MCP Server
Protect your code quality, stop the AI slop.
Try For Free →
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
ego lite browserego lite browser
ego lite browser
Fastest browser for AI agents to run web automation tasks, always free.
Download Free life-time →
belt - the only tool your agent needs
belt - the only tool your agent needs
belt cli automatically finds the best tools and skills for your agent. image, video, music, tts...
one prompt install →
Open Steps
Open Steps
Free an open-source skills that make AI coding agents easier to understand, verify, and control.
Download for free →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Agent, connect blockchain
Agent, connect blockchain
Connect your Claude agent to live crypto prices and trading routes via 1inch
Get the MCP →
Granola, the best AI meeting recorder
Granola, the best AI meeting recorder
Notes, actions and memory. Without a meeting bot. First month 100% off.
Download for free →
CodeHealth MCP ServerCodeHealth MCP Server
CodeHealth MCP Server
Protect your code quality, stop the AI slop.
Try For Free →

@cyanheads/arxiv-mcp-server

Search arXiv, fetch paper metadata, and read full-text content via MCP. STDIO or Streamable HTTP.

4 Tools • 2 Resources

Version License Docker MCP SDK npm TypeScript Bun

Install in Claude Desktop Install in Cursor Install in VS Code

Framework

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

ToolDescription
arxiv_searchSearch arXiv papers by query with field prefixes, category, and date filters
arxiv_get_metadataFetch metadata for one or more papers by arXiv ID
arxiv_read_paperRead full paper text via HTML, ar5iv, or PDF-extracted fallback
arxiv_list_categoriesList the arXiv category taxonomy, optionally filtered by group

Resources

ResourceDescription
arxiv://paper/{paperId}Paper metadata by arXiv ID
arxiv://categoriesFull arXiv category taxonomy

Capability reference

arxiv_search tool

  • Field prefixes ti:, au:, abs:, cat:, co: (comment), jr: (journal ref), all: (all fields); boolean AND / OR / ANDNOT; query capped at 1000 characters
  • category accepts a leaf code (cs.CL) or a whole archive (astro-ph, cs, math) — a bare archive matches its subject classes plus pre-subdivision legacy papers
  • sort_by (relevance / submitted / updated) and sort_order (ascending / descending); up to 50 results per call (max_results)
  • submitted_from / submitted_to bound submission date inclusively (UTC YYYY-MM-DD); consecutive windows cover matches with no gap — de-duplicate by ID at the seam — the way to reach results past the 10,000 start pagination ceiling
  • Response enrichment echoes the effective query (every filter folded in, replayable), total match count, and page offset; empty or overshot pages carry recovery guidance instead of an error

arxiv_get_metadata tool

  • Up to 10 IDs per call (single string or array); versioned (2401.12345v2), unversioned, and legacy (hep-th/9901001) formats accepted
  • Partial-batch results: found papers plus a typed not_found[] (not_in_arxiv / version_not_in_mirror) for the rest — never fails the whole batch for one bad ID
  • Fails no_match only when every ID misses; fails version_unavailable when every miss is a mirror-only version gap reachable on the live API

arxiv_read_paper tool

  • Tries native arXiv HTML first, then ar5iv, then text extracted from the PDF — the source field reports which one answered
  • Strips HTML head/boilerplate and collapses MathML to dollar-delimited LaTeX ($…$ inline, $$…$$ block) so the character budget targets paper content
  • Returns raw HTML for HTML sources — the LLM interprets content directly; PDF-extracted bodies are plain text, so prose is reliable but math, tables, and heading structure flatten
  • max_characters defaults to 100,000; pass null for the whole paper in one call. Raw HTML can run 500KB-3MB+ for math-heavy papers — page with start instead
  • Typed failures: content_unavailable (no render, no PDF), pdf_extraction_failed (PDF has no text layer), version_unavailable (version-pinned ID needs the live API)

arxiv_list_categories tool

  • ~155 categories across 8 top-level groups (cs, econ, eess, math, physics, q-bio, q-fin, stat)
  • Optional group filter to narrow results
  • Static data — always succeeds

arxiv://paper/{paperId} resource

  • paperId accepts versioned, unversioned, and legacy formats — same resolution as arxiv_get_metadata
  • Percent-encode a legacy ID's slash: arxiv://paper/hep-th%2F9901001
  • Typed errors: empty_id, no_match, version_unavailable

arxiv://categories resource

  • Full arXiv category taxonomy as { categories: [...] }, one flat array with code / name / group per entry
  • Cacheable for 24h (cacheHint.ttlMs: 86400000), public scope
  • No parameters

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 — arXiv API is free, metadata is CC0
  • Sequential request queue enforcing arXiv's 3-second crawl delay; rate-limit responses (429, or 200 OK with a Rate exceeded. body) fail fast with a server-computed cooldown rather than retrying blindly
  • Content fallback chain: arxiv.org/html → ar5iv → PDF text extraction, in that order — the source field reports which one answered
  • Full arXiv category taxonomy embedded as static data
  • Optional local OAI-PMH metadata mirror (SQLite + FTS5) — opt-in, eliminates rate-limit exposure for arxiv_search and arxiv_get_metadata. See Optional: local mirror

Agent-friendly output:

  • Provenance on every read — arxiv_read_paper's source field names which upstream artifact answered; arxiv_search echoes the effective query so results are reproducible
  • Graceful partial failure — arxiv_get_metadata returns found papers alongside a typed not_found[] reason per miss instead of failing the whole batch
  • Discriminated output contracts — typed source and not_found[].reason enums let callers branch on data, not string parsing

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

  1. Clone the repository:
git clone https://github.com/cyanheads/arxiv-mcp-server.git
  1. Navigate into the directory:
cd arxiv-mcp-server
  1. Install dependencies:
bun install

Configuration

All configuration is optional — the server works out of the box with sensible defaults.

VariableDescriptionDefault
ARXIV_API_BASE_URLarXiv API base URL.https://export.arxiv.org/api
ARXIV_REQUEST_DELAY_MSMinimum delay between arXiv API requests (ms).3000
ARXIV_CONTENT_TIMEOUT_MSTimeout for paper body fetches — HTML renders and PDF downloads (ms).30000
ARXIV_API_TIMEOUT_MSTimeout for API search/metadata requests (ms).15000
ARXIV_MIRROR_ENABLEDEnable the local OAI-PMH metadata mirror for search and metadata.false
ARXIV_MIRROR_PATHSQLite path for the mirror../data/arxiv-mirror.db
ARXIV_MIRROR_REFRESH_CRONUTC cron expression for in-process daily refresh (HTTP mode only).unset
ARXIV_MIRROR_FALLBACK_LIVEFall through to live API on local ID-lookup miss.true
ARXIV_MIRROR_RECENT_DAYS_LIVEPositive values route every sort_by=submitted, descending query to the live API; 0 disables the bypass.2
ARXIV_MIRROR_OAI_BASE_URLarXiv OAI-PMH endpoint base URL.https://oaipmh.arxiv.org/oai
ARXIV_MIRROR_OAI_REQUEST_DELAY_MSMinimum delay between OAI-PMH requests (ms).3000
ARXIV_MIRROR_REFRESH_TIMEOUT_MSAbort budget for one scheduled refresh subprocess (ms).7200000
MCP_TRANSPORT_TYPETransport: stdio or http.stdio
MCP_HTTP_PORTPort for HTTP server.3010
MCP_SESSION_MODEauto, stateful, or stateless. The server declares stateless in src/index.ts — it holds no per-session state — so every run path resolves the same way unless this variable overrides it.stateless
MCP_AUTH_MODEAuth mode: none, jwt, or oauth.none
MCP_LOG_LEVELLog level (RFC 5424).info
OTEL_ENABLEDEnable OpenTelemetry instrumentation (spans, metrics, completion logs).false

See .env.example for the full list of optional overrides.

Running the server

Local development

  • Build and run:

    # One-time build
    bun run rebuild
    
    # Run the built server
    bun run start:http
    # or
    bun run start:stdio
    
  • Run checks and tests:

    bun run devcheck   # Lint, format, typecheck, security audit
    bun run test       # Vitest test suite
    

Optional: local mirror

For self-hosted deployments behind a single egress IP, arXiv's ~3-second crawl delay serializes concurrent users. An optional local mirror removes that rate-limit exposure for arxiv_search and arxiv_get_metadata by serving from a SQLite + FTS5 store harvested via OAI-PMH. arxiv_read_paper always uses the live API — full-content harvesting is against arXiv's data policy.

Disabled by default. To enable:

# 1. Cold-start harvest (~4.4h sequential, resumable from checkpoint). One-time per installation.
bun run mirror:init

# 2. Enable the mirror.
export ARXIV_MIRROR_ENABLED=true

# 3. Start the server — reads switch to the mirror once the harvest completes.
bun run start:http

Keep it current with bun run mirror:refresh (wire to cron/systemd/launchd, or set ARXIV_MIRROR_REFRESH_CRON to schedule it in-process in HTTP mode) and check integrity with bun run mirror:verify. A newer server migrates an existing mirror's schema in place on first open — never a re-harvest — and an upgrade that rebuilds the full-text index makes that first start noticeably slower on a full-corpus mirror; mirror:verify reports the schema version and exits non-zero if a migration didn't complete.

FTS5 BM25 ranking differs from arXiv's own relevance ranking, so sort_by=relevance returns a different top-K against the mirror than against the live API. The mirror serves only the latest version of each paper — a version-pinned request falls through to the live API. A stale or failed refresh keeps serving the last completed harvest rather than dropping to the live API mid-request.

Docker

docker build -t arxiv-mcp-server .
docker run --rm -p 3010:3010 arxiv-mcp-server

The Dockerfile defaults to HTTP transport, stateless session mode, and logs to /var/log/arxiv-mcp-server. OpenTelemetry peer dependencies are installed by default — build with --build-arg OTEL_ENABLED=false to omit them.

Project structure

DirectoryPurpose
src/index.tscreateApp() entry point — registers tools/resources and starts the optional mirror-refresh scheduler.
src/configServer-specific environment variable parsing and validation with Zod.
src/mcp-server/tools/definitionsTool definitions (*.tool.ts).
src/mcp-server/resources/definitionsResource definitions (*.resource.ts).
src/services/arxivArxivService — live arXiv API client (search, metadata, HTML).
src/services/arxiv/mirrorOptional OAI-PMH mirror — harvester, SQLite + FTS5 store, query translator, runner.
scripts/arxiv-mirror-*.tsMirror lifecycle scripts (init, refresh, verify).
tests/Unit and integration tests.
docs/Design document and directory structure.

Development guide

See CLAUDE.md for development guidelines and architectural rules. The short version:

  • Handlers throw, framework catches — no try/catch in tool logic
  • Use ctx.log for request-scoped logging, ctx.state for tenant-scoped storage
  • arXiv API returns HTTP 200 for everything — including rate limits — so check content-type and body before parsing
  • Validate raw arXiv responses → normalize to domain types → return the output schema; never fabricate missing fields

Contributing

Issues are welcome. Run checks before submitting:

bun run devcheck
bun run test

License

Apache-2.0 — see LICENSE for details.

Featured
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
ego lite browserego lite browser
ego lite browser
Fastest browser for AI agents to run web automation tasks, always free.
Download Free life-time →
belt - the only tool your agent needs
belt - the only tool your agent needs
belt cli automatically finds the best tools and skills for your agent. image, video, music, tts...
one prompt install →
Open Steps
Open Steps
Free an open-source skills that make AI coding agents easier to understand, verify, and control.
Download for free →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Agent, connect blockchain
Agent, connect blockchain
Connect your Claude agent to live crypto prices and trading routes via 1inch
Get the MCP →
Granola, the best AI meeting recorder
Granola, the best AI meeting recorder
Notes, actions and memory. Without a meeting bot. First month 100% off.
Download for free →
CodeHealth MCP ServerCodeHealth MCP Server
CodeHealth MCP Server
Protect your code quality, stop the AI slop.
Try For Free →
Categories
Search & Web Crawling
TransportHTTP
UpdatedApr 19, 2026
View on GitHub

More from cyanheads

  • Pubmed Mcp Server107
  • Clinicaltrialsgov Mcp Server79
  • Openalex Mcp Server7
  • Congressgov Mcp Server1
  • Calculator Mcp Server1
  • Nws Weather Mcp Server1
  • Nhtsa Vehicle Safety Mcp Server1
  • Obsidian Mcp Server582
  • Hn Mcp Server3
  • Git Mcp Server221
  • Secedgar Mcp Server5
  • Pubchem Mcp Server9
  • Cdc Health Mcp Server3
  • Met Museum Mcp Server3
  • Mcp Ts Core145
  • Courtlistener Mcp Server2
  • Open Meteo Mcp Server2
  • Treasury Fiscaldata Mcp Server2
  • Usaspending Mcp Server2
  • Worldbank Mcp Server2
  • Bls Labor Mcp Server1
  • Cpsc Recalls Mcp Server1
  • Devops Status Mcp Server1
  • Earthquake Mcp Server1

Related Search & Web Crawling MCP Servers

View all →
cyanheads avatar
crossref-mcp-server

cyanheads/crossref-mcp-server-9a4051d8

Resolve DOIs, search ~155M scholarly works, and fetch references via the Crossref REST API.
cyanheads avatar
Internet Archive Mcp Server

cyanheads/internet-archive-mcp-server

Search the Wayback Machine and IA library (40M+ items), fetch snapshots, item metadata, and text.
cyanheads avatar
openlibrary-mcp-server

cyanheads/openlibrary-mcp-server-ec6a4bb0

Search books and authors, fetch editions, browse subjects, and resolve cover images.
cyanheads avatar
Stackexchange Mcp Server

cyanheads/stackexchange-mcp-server

Search Stack Exchange questions, fetch Q&A threads as markdown, look up tag FAQs and user profiles.
devids77 avatar
MCP Market Russia

devids77/mcp-market-russia

MCP server for Russian construction market data. Access 3,395 construction companies, 13,436 projects across 18 regions of Russia. Search contractors, compare prices, analyze ratings, get market reports — all via MCP protocol. 21 tools including search, analytics, cost estimation, contractor recommendations, and request-for-quote lead generation. Real data from 2GIS and company websites. SEO-friendly company pages and full sitemap with 3,400+ URLs.
dimitry avatar
parse-mcp

dimitry/parse-mcp

Hosted MCP server for AI brand visibility research. Search brands, prompts, and dataset stats across Parse's AI visibility index covering ChatGPT, Google AI Overviews, Perplexity, Copilot, and more.