arXiv MCP Server

arXiv MCP Server

arxiv-mcp•bytejas242

A Model Context Protocol server that connects AI assistants to arXiv, enabling search, analysis, and download of academic papers within an AI workflow.

License: MIT•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Searches arXiv papers with a flexible query syntax supporting keywords, authors, categories, and titles, with configurable sorting and pagination.
  • •Retrieves complete metadata for a given arXiv paper, including author information, category classifications, and publication dates.
  • •Builds complex search queries combining title keywords, author names, categories, and abstract keywords.
  • •Lists all available arXiv subject categories with descriptions to help construct targeted searches.

BEST FOR

  • •Looking up a specific known paper by title and then retrieving its full details.
  • •Exploring related work around a topic such as transformer neural networks.
  • •Constructing multi-criteria queries combining a title keyword, an author, and a category.

ABOUT ARXIV-MCP

arXiv MCP Server is cataloged as an MCP server attributed to tejas242. A Model Context Protocol server that connects AI assistants to arXiv, enabling search, analysis, and download of academic papers within an AI workflow. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for arXiv MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can I search for papers by a specific author?

Yes, using the primary search function with arXiv author query syntax, which the README recommends over the dedicated author search function.

Does PDF download work reliably?

No, the PDF download function currently fails due to HTTPS/HTTP redirect handling, though PDFs remain accessible via the links provided in search results.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 5bb393d0966a · 采集于 2026-11-13 10:58:22 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

arXiv MCP Server

Python MCP Compatible arXiv API License Code Quality CI/CD Docker

Access the world's largest repository of academic papers through the Model Context Protocol

A streamlined Model Context Protocol server that connects AI assistants to arXiv's vast collection of academic papers. Search, analyze, and download research papers directly from your AI workflow.

🚀 Quick Start

Prerequisites

  • Python 3.12+
  • uv package manager

Installation

# Pull and run the Docker image
docker run --rm -it ghcr.io/tejas242/arxiv-mcp:latest

# Or using docker-compose
git clone https://github.com/tejas242/arxiv-mcp.git
cd arxiv-mcp
docker compose up

Option 2: Local Development

# Clone and setup
git clone https://github.com/tejas242/arxiv-mcp.git
cd arxiv-mcp
uv sync

# Test the server
uv run main.py

🛠️ Available Functions

FunctionStatusDescriptionParameters
search_papers✅ WorkingSearch arXiv papers with flexible query syntaxquery, max_results, sort_by, sort_order
get_paper_details✅ WorkingRetrieve complete metadata for any arXiv paperarxiv_id
build_advanced_query✅ WorkingConstruct complex search queries with multiple fieldstitle_keywords, author_name, category, abstract_keywords
get_arxiv_categories✅ WorkingList all available arXiv subject categoriesNone
search_by_author⚠️ LimitedFind papers by specific author (use search_papers instead)author_name, max_results
search_by_category⚠️ LimitedBrowse papers by category (use search_papers instead)category, max_results
download_paper_pdf🔧 Needs FixDownload paper PDFs (redirect handling issue)arxiv_id, save_path

Function Details

✅ Fully Working Functions

search_papers - The primary search function

  • Supports full arXiv query syntax
  • Handles keywords, authors, categories, titles
  • Configurable sorting and pagination
  • Returns formatted results with abstracts and links

get_paper_details - Detailed paper information

  • Complete metadata extraction
  • Author information with affiliations
  • Category classifications and links
  • Publication dates and updates

build_advanced_query - Query construction helper

  • Combines multiple search criteria
  • Supports title, author, category, and abstract searches
  • Returns properly formatted query strings

get_arxiv_categories - Category reference

  • Complete list of arXiv subject categories
  • Descriptions for each category
  • Helpful for constructing targeted searches

⚠️ Limited Functions (Workarounds Available)

search_by_author - Use search_papers('au:"Author Name"') instead search_by_category - Use search_papers('cat:category_code') instead

🔧 Functions Needing Fixes

download_paper_pdf - HTTP redirect handling needs improvement

  • Currently fails due to HTTPS/HTTP redirect issues
  • PDFs can be accessed directly via the links provided in search results

⚙️ Configuration

Claude Desktop Setup

Configuration Instructions

For Local Installation:

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json

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

For Docker Installation:

{
  "mcpServers": {
    "arxiv-mcp": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "ghcr.io/tejas242/arxiv-mcp:latest"
      ]
    }
  }
}

VS Code MCP Extension

VS Code Configuration
{
  "mcp": {
    "servers": {
      "arxiv-mcp": {
        "command": "uv",
        "args": ["--directory", "/path/to/arxiv-mcp", "run", "main.py"]
      }
    }
  }
}

💡 Usage Examples

Core Search Operations

# Search for papers about transformers
search_papers("transformer architecture")

# Advanced query with specific fields
search_papers('ti:"attention mechanism" AND cat:cs.LG')

# Author-specific search (recommended approach)
search_papers('au:"Geoffrey Hinton"')

# Category browsing (recommended approach)
search_papers('cat:cs.AI')

Research Workflow

# 1. Find the famous "Attention" paper
search_papers('ti:"Attention Is All You Need"')
get_paper_details("1706.03762")

# 2. Explore related work
search_papers("transformer neural networks")

# 3. Build complex queries
query = build_advanced_query(
    title_keywords="few-shot learning",
    author_name="Tom Brown",
    category="cs.LG"
)
search_papers(query)

📊 arXiv Categories Reference

Popular Categories
CodeDescriptionExample Topics
cs.AIArtificial IntelligenceMachine learning, neural networks, AI theory
cs.LGMachine LearningDeep learning, reinforcement learning, statistical learning
cs.CVComputer VisionImage processing, object detection, visual recognition
cs.CLComputation and LanguageNLP, language models, text processing
cs.CRCryptography and SecuritySecurity protocols, encryption, privacy
stat.MLMachine Learning (Statistics)Statistical learning theory, Bayesian methods
physics.gen-phGeneral PhysicsTheoretical physics, quantum mechanics
math.NANumerical AnalysisComputational mathematics, algorithms
q-bio.NCQuantitative BiologyNeuroscience, computational biology

Use get_arxiv_categories() for the complete list of available categories.

🧪 Testing Results

Based on comprehensive testing of all functions:

Working Functions Limited Functions Needs Fix

✅ Reliable Functions

  • Paper search with keywords, authors, categories: 100% success rate
  • Paper detail retrieval: Complete metadata extraction working
  • Query construction: All syntax combinations supported
  • Category listing: All arXiv categories accessible
  • Author search: Use search_papers('au:"Author Name"') instead of search_by_author()
  • Category browsing: Use search_papers('cat:category') instead of search_by_category()

🔧 Known Issues

  • PDF downloads: Redirect handling needs improvement (PDFs accessible via direct links)

🔧 Development

Project Structure

arxiv-mcp/
├── src/arxiv_mcp/          # Main package
│   ├── server.py           # MCP server implementation
│   ├── arxiv_client.py     # arXiv API wrapper
│   ├── models.py           # Pydantic data models
│   └── utils.py            # Helper functions
├── tests/                  # Test suite
├── main.py                 # Entry point
└── pyproject.toml         # Project config

Running Tests

uv run pytest tests/ -v

Debug Mode

# Enable detailed logging
PYTHONPATH=src uv run python -c "
import logging
logging.basicConfig(level=logging.DEBUG)
from arxiv_mcp.server import main
main()
"

⚠️ Troubleshooting

Common Issues & Solutions

Server Not Detected

  • ✅ Verify absolute paths in MCP config
  • ✅ Test server runs: uv run main.py
  • ✅ Restart Claude Desktop after config changes

Search Issues

  • ✅ Use arXiv query syntax (see examples above)
  • ✅ Check category names: get_arxiv_categories()
  • ✅ Try broader search terms
  • ✅ Use search_papers() instead of specific search functions

PDF Download Failures

  • ✅ Access PDFs via links in search results
  • ✅ Check internet connection
  • ✅ Verify arXiv ID format (e.g., "1706.03762")

🙏 Acknowledgments


GitHub Issues Contribute



Made with ⚡ by screenager

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for arXiv MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/arxiv-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research