Public Atom API for searching and fetching arXiv e-print metadata.
Created by @hnshah (Hiten Shah). Contributors: @sdhilip200 (Dhilip Subramanian).
The recommended path installs both the arxiv-pp-cli binary and the pp-arxiv agent skill (Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, and other agents supported by the upstream skills CLI) in one shot:
npx -y @mvanhorn/printing-press-library install arxivFor CLI only (no skill):
npx -y @mvanhorn/printing-press-library install arxiv --cli-onlyFor skill only — installs the skill into the same agents as the default command above, but skips the CLI binary (use this to update or reinstall just the skill):
npx -y @mvanhorn/printing-press-library install arxiv --skill-onlyTo constrain the skill install to one or more specific agents (repeatable — agent names match the skills CLI):
npx -y @mvanhorn/printing-press-library install arxiv --agent claude-code
npx -y @mvanhorn/printing-press-library install arxiv --agent claude-code --agent codexIf npx isn't available (no Node, offline), install the CLI directly via Go (requires Go 1.26.4 or newer):
go install github.com/mvanhorn/printing-press-library/library/other/arxiv/cmd/arxiv-pp-cli@latestThis installs the CLI only — no skill.
Download a pre-built binary for your platform from the latest release. On macOS, clear the Gatekeeper quarantine: xattr -d com.apple.quarantine <binary>. On Unix, mark it executable: chmod +x <binary>.
Install the CLI binary first. The installer writes binaries to a per-user managed bin directory by default: $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows.
npx -y @mvanhorn/printing-press-library install arxiv --cli-onlyThen install the focused Hermes skill.
From the Hermes CLI:
hermes skills install mvanhorn/printing-press-library/cli-skills/pp-arxiv --forceInside a Hermes chat session:
/skills install mvanhorn/printing-press-library/cli-skills/pp-arxiv --forceRestart the Hermes session or gateway if the newly installed skill is not visible immediately.
Install both the CLI binary and the focused OpenClaw skill. The installer defaults binaries to a per-user bin directory ($HOME/.local/bin on macOS/Linux, %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows):
npx -y @mvanhorn/printing-press-library install arxiv --agent openclawRestart the OpenClaw session or gateway if the newly installed skill is not visible immediately.
This CLI ships an MCPB bundle — Claude Desktop's standard format for one-click MCP extension installs (no JSON config required).
To install:
- Download the
.mcpbfor your platform from the latest release. - Double-click the
.mcpbfile. Claude Desktop opens and walks you through the install.
Requires Claude Desktop 1.0.0 or later. Pre-built bundles ship for macOS Apple Silicon (darwin-arm64) and Windows (amd64, arm64); for other platforms, use the manual config below.
Manual JSON config (advanced)
If you can't use the MCPB bundle (older Claude Desktop, unsupported platform), install the MCP binary and configure it manually.
Install the MCP binary from this CLI's published public-library entry or pre-built release.
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"arxiv": {
"command": "arxiv-pp-mcp"
}
}
}See Install above.
arxiv-pp-cli doctorThis checks your configuration.
arxiv-pp-cli query --search-query 'cat:cs.AI' --max-results 5 --sort-by submittedDate --sort-order descendingThese capabilities aren't available in any other tool for this API.
query— Search arXiv with documented query expressions and agent-friendly output controls.query— Fetch latest AI/research papers by category using submitted-date sorting and bounded result counts.query— Fetch exact papers by arXiv ID or versioned arXiv ID.
Run arxiv-pp-cli --help for the full command reference and flag list.
Manage query
arxiv-pp-cli query --search-query 'cat:cs.AI' --max-results 5- Search arXiv papers or fetch recent papers by category.arxiv-pp-cli query --id-list 1706.03762 --max-results 1- Fetch exact papers by arXiv ID or versioned arXiv ID.
# Human-readable table (default in terminal, JSON when piped)
arxiv-pp-cli query --search-query 'cat:cs.AI' --max-results 5 --sort-by submittedDate --sort-order descending
# JSON for scripting and agents
arxiv-pp-cli query --id-list 1706.03762 --json
# Filter to specific fields
arxiv-pp-cli query --id-list 1706.03762 --json --select entries.id,entries.title
# Dry run — show the request without sending
arxiv-pp-cli query --search-query 'cat:cs.CL' --max-results 1 --dry-run
# Agent mode — JSON + compact + no prompts in one flag
arxiv-pp-cli query --search-query 'all:electron' --max-results 3 --agentThis CLI is designed for AI agent consumption:
- Non-interactive - never prompts, every input is a flag
- Pipeable -
--jsonoutput to stdout, errors to stderr - Filterable -
--select entries.id,entries.titlereturns only fields you need - Previewable -
--dry-runshows the request without sending - Read-only by default - this CLI does not create, update, delete, publish, send, or mutate remote resources
- Live-first - arXiv search is most useful against the live API; sync/local-store commands require an explicit scope, such as
arxiv-pp-cli sync --search-query 'cat:cs.AI' --max-pages 1orarxiv-pp-cli sync --id-list 1706.03762 --max-pages 1 - Agent-safe by default - no colors or formatting unless
--human-friendlyis set
Exit codes: 0 success, 2 usage error, 3 not found, 5 API error, 7 rate limited, 10 config error.
arxiv-pp-cli doctorVerifies configuration and connectivity to the API.
Config file: ~/.config/arxiv-pp-cli/config.toml
Static request headers can be configured under headers; per-command header overrides take precedence.
Not found errors (exit code 3)
- Check the resource ID is correct
- Run the
listcommand to see available items
Generated by CLI Printing Press