ArXiv Search
FreeNot checkedSimple CLI tool and MCP server for searching arXiv papers via ArXiv Xplorer API.
About
Simple CLI tool and MCP server for searching arXiv papers via ArXiv Xplorer API.
README
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
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 |
Popular Categories
| 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"
}
}
}
Tool: arxiv_search
Search arXiv papers with filters.
Parameters:
query(string, required): Search termscategories(list, optional): arXiv categoriesyears(list, optional): Publication yearspage(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)
Install ArXiv Search in Claude Desktop, Claude Code & Cursor
unyly install arxiv-searchInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add arxiv-search -- uvx arxiv-searchFAQ
Is ArXiv Search MCP free?
Yes, ArXiv Search MCP is free — one-click install via Unyly at no cost.
Does ArXiv Search need an API key?
No, ArXiv Search runs without API keys or environment variables.
Is ArXiv Search hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install ArXiv Search in Claude Desktop, Claude Code or Cursor?
Open ArXiv Search on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare ArXiv Search with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
