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

papers-mcp

v1.0.3

Published

MCP server for searching arXiv and extracting academic papers as Markdown

Readme

Papers MCP - Academic Papers for Any Prompt

NPM Version MIT licensed

❌ Without Papers MCP

LLMs struggle with academic papers. You get:

  • ❌ Unable to effectively search across 2M+ arXiv papers
  • ❌ Hallucinated paper titles, authors, and incomplete metadata
  • ❌ Garbled math equations and broken tables from raw PDF parsing
  • ❌ Wasted tokens from crawling full PDFs when you only need specific sections

✅ With Papers MCP

Papers MCP searches arXiv and extracts paper content as clean Markdown — directly into your LLM's context.

What are the key contributions of the "Attention Is All You Need" paper?
Find recent papers on diffusion models for image generation and summarize their methods.
  • ✅ Search arXiv with full query syntax (title, author, abstract, category)
  • ✅ Clean Markdown with properly formatted math equations, figures, and tables
  • ✅ Extract only what you need: abstract, body, appendix, or full paper
  • ✅ No more hallucinated references or broken formatting

Installation

Claude Code

claude mcp add papers-mcp -- npx papers-mcp

Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "papers": {
      "command": "npx",
      "args": ["papers-mcp"]
    }
  }
}

Cursor

Add to your Cursor MCP config (~/.cursor/mcp.json):

{
  "mcpServers": {
    "papers": {
      "command": "npx",
      "args": ["papers-mcp"]
    }
  }
}

Available Tools

Papers MCP provides two tools following a two-step retrieval pattern:

resolve-paper-id

Resolves a paper title, author name, or search query to arXiv IDs.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | query | string | Yes | Paper title, author name, or arXiv search query |

Supports arXiv query syntax (Lucene-style field prefixes):

  • all:transformer attention - Search all fields
  • ti:"attention is all you need" - Search by title
  • au:vaswani - Search by author
  • abs:"large language model" - Search in abstract
  • cat:cs.CL - Search by category

extract-paper

Retrieves detailed content from a paper using its arXiv ID.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | arxivId | string | Yes | arXiv ID (e.g., arxiv:1706.03762 or 1706.03762) | | level | enum | No | Level of detail to extract (default: body) |

Extraction levels:

  • abstract - Title, authors, and abstract only
  • body - Abstract + main body sections (default)
  • appendix - Appendix sections only
  • all - Full paper including references and appendix

Features

  • Clean Markdown output - Properly formatted with headers, lists, and code blocks
  • Math equation support - LaTeX equations converted to $inline$ and $$block$$ format
  • Figures and tables - Preserved with captions and proper formatting
  • Citations - Inline citations linked to references
  • Fallback support - Tries ar5iv first, falls back to arxiv.org/html

Example Usage

Ask your LLM:

Find the original GPT paper and explain the architecture.

The LLM will:

  1. Call resolve-paper-id with query "GPT language model"
  2. Get back matching papers with arXiv IDs
  3. Call extract-paper with the relevant arXiv ID
  4. Receive the full paper content in Markdown
  5. Answer your question with accurate information

License

MIT