Skip to main content
Glama
hassenhamdi

ArXiv Search

by hassenhamdi

ArXiv Search

Simple CLI tool and MCP server for searching arXiv papers via ArXiv Xplorer API.

Installation

# Using pip
pip install -e .

# Using uv
uv pip install -e .

# Or from GitHub
pip install git+https://github.com/hassenhamdi/arxiv-xplorer-mcp.git

Related MCP server: Research Server

CLI Usage

# Basic search
arxiv-search "large language models"

# With categories
arxiv-search "transformer" -c cs.CL cs.AI

# With years
arxiv-search "neural networks" -y 2023 2024

# Pagination
arxiv-search "attention" -p 2

# JSON output
arxiv-search "BERT" --json

Options

Option

Description

query

Search terms (required)

-c, --categories

arXiv categories (e.g., cs.CL, cs.AI)

-y, --years

Publication years (e.g., 2023 2024)

-p, --page

Page number (default: 1)

--json

Output raw JSON

Code

Description

cs.CL

Computation and Language (NLP)

cs.AI

Artificial Intelligence

cs.CV

Computer Vision

cs.LG

Machine Learning

cs.RO

Robotics

cs.CR

Cryptography and Security

MCP Server

Configuration

Claude Desktop / Cline / OpenCode:

{
  "mcpServers": {
    "arxiv": {
      "command": "python",
      "args": ["-m", "arxiv_search.mcp_server"],
      "cwd": "/path/to/arxiv_search"
    }
  }
}

Search arXiv papers with filters.

Parameters:

  • query (string, required): Search terms

  • categories (list, optional): arXiv categories

  • years (list, optional): Publication years

  • page (integer, optional): Page number (default: 1)

Returns: List of papers with fields: id, title, abstract, authors, date, categories, short_author, score, url

Development

# Install dev dependencies
pip install -e ".[dev]"

# Run CLI
python arxiv.py "query"

# Run MCP server
python -m arxiv_search.mcp_server

License

Personal Use Only - See LICENSE file

Disclaimer

Uses reverse-engineered API from arxivxplorer.com (unofficial)

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hassenhamdi/arxiv-xplorer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server