npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@openpets/arxiv

v1.0.0

Published

Search, discover, and retrieve metadata for academic papers on arXiv.org. Supports full-text search across titles, authors, abstracts, and categories with date filtering, sorting, and pagination.

Downloads

74

Readme

arXiv

Search and retrieve academic papers from arXiv.org, the open-access repository of electronic preprints for physics, mathematics, computer science, and more.

Setup

No API key is required. The arXiv API is completely free and public.

bun install

Optionally configure a default max results limit:

cp .env.example .env
# Edit .env to set ARXIV_MAX_RESULTS (default: 10)

Tools

| Tool | Description | |------|-------------| | arxiv-test-connection | Verify the arXiv API is reachable | | arxiv-search | Search papers by query, author, title, abstract, category, date range | | arxiv-get-paper | Get full metadata for a single paper by arXiv ID | | arxiv-get-papers | Batch retrieve metadata for multiple papers by ID |

Search Fields

The arxiv-search tool supports targeted field searches:

| Parameter | arXiv Field | Example | |-----------|-------------|---------| | query | All fields | "transformer architecture" | | title | Title only | "attention is all you need" | | author | Author name | "Vaswani" | | abstract | Abstract only | "self-attention mechanism" | | category | arXiv category | "cs.CL" | | journalRef | Journal reference | "Nature" |

arXiv Categories

Common categories:

  • cs.AI - Artificial Intelligence
  • cs.CL - Computation and Language (NLP)
  • cs.CV - Computer Vision
  • cs.LG - Machine Learning
  • cs.CR - Cryptography and Security
  • math.CO - Combinatorics
  • physics.hep-th - High Energy Physics (Theory)
  • stat.ML - Machine Learning (Statistics)

Full taxonomy: https://arxiv.org/category_taxonomy

Example Queries

search arxiv for transformer architecture papers
find recent papers by Yann LeCun
search arxiv for papers about large language models in cs.CL
get arxiv paper 2301.07041
search arxiv for quantum computing papers submitted after 20240101

Rate Limits

The arXiv API recommends a 3-second delay between requests. This plugin enforces that automatically.

Notes

  • The arXiv API returns Atom 1.0 XML; this plugin parses it into structured JSON
  • Results are cached daily by arXiv (no updates until next midnight UTC)
  • Maximum 100 results per request, 30,000 total via pagination
  • For bulk data access, see https://info.arxiv.org/help/bulk_data.html