Skip to main content
Glama
paperpal

paperpal

by jerpint

paperpal

ML literature research for agents and humans: find it, verify it, score it, cite it.

paperpal is a plugin for coding agents (Claude Code, Codex, and any MCP client). It gives your agent a research methodology and the tools to follow it:

  • Find: semantic search over top-tier venues (NeurIPS, ICML, ICLR, AISTATS, …), Hugging Face papers (with community upvotes), today's daily papers, trending models

  • Verify: arXiv metadata (current title and version, venue hints), Semantic Scholar (venue, citations), and full text via arxiv-txt.org with regex grep, so numbers get quoted in context

  • Score: an evidence card per paper (venue from three sources, citations, age, code link) with a suggested 1–5 credibility band. You or your agent make the final call.

  • Cite: a barebones notes template, rendered to a static HTML page where every citation is a clickable link. Select all → paste into Google Docs, and links and tables survive. LaTeX ($..$, $$..$$) is rendered with KaTeX; only pages that contain math get a script.

LLMs can still hallucinate and semantic search is never perfect. paperpal is built around making every claim checkable.


Install

Claude Code

git clone https://github.com/jerpint/paperpal
claude --plugin-dir ./paperpal

The plugin registers the paperpal skill and the paperpal MCP server (run with uv).

Codex

paperpal ships a portable Agent Plugins 1.0.0 manifest and a local marketplace:

git clone https://github.com/jerpint/paperpal
codex plugin marketplace add ./paperpal
codex plugin add paperpal@paperpal-local
codex mcp list        # → paperpal

Claude Desktop, Cursor, or any MCP client

Add the server to your client's MCP config (for Claude Desktop on macOS, that's ~/Library/Application Support/Claude/claude_desktop_config.json; for Cursor, .cursor/mcp.json):

{
  "mcpServers": {
    "paperpal": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/paperpal", "paperpal-mcp"]
    }
  }
}

Skill only

Any agent that reads the open skills format can use the methodology without the server: copy skills/paperpal/ into your agent's skills folder (e.g. .agents/skills/ for Codex). The skill falls back to the CLI.

CLI

cd paperpal && uv sync
uv run paperpal -h

Requires uv and Python ≥ 3.11.


Related MCP server: Research Assistant

Use

Ask your agent things like:

  • "Find peer-reviewed evidence that alignment training reduces output diversity, and score each source."

  • "Was this arXiv paper accepted anywhere? Check the exact number it reports for X."

  • "Prep research notes on small language models for a Google Doc: pointers only, every citation linked."

Or drive it directly:

uv run paperpal top "persona consistency role-playing" --n 5    # top-tier venues
uv run paperpal hf "ternary quantization" --n 5                 # Hugging Face papers
uv run paperpal dair                                            # DAIR weekly curation → JSON, discovery only
uv run paperpal daily                                           # today's HF daily papers
uv run paperpal meta 2510.22954                                 # arXiv metadata + venue hints
uv run paperpal card 2510.22954                                 # evidence card → suggested band
uv run paperpal full 2310.11324 --grep "76 accuracy points"     # verify a number in the full text
uv run paperpal new notes.md --title "My topic"                 # start from the template
uv run paperpal render notes.md                                 # → notes.html (gdoc-pasteable)

Tools

MCP tool

CLI

what it does

dair_papers

dair

latest public DAIR weekly shortlist; verify candidates on arXiv before citing

search_top_tier

top

semantic search over top-tier venue papers (paperz)

search_hf

hf

Hugging Face papers search (recency, upvotes)

daily_papers

daily

today's Hugging Face daily papers

trending_models

trending

trending models on the Hub

arxiv_meta

meta

arXiv title, authors, versions, comment / journal-ref venue hints

s2_lookup

s2

Semantic Scholar venue and citation counts

evidence_card

card

credibility evidence + a suggested 1–5 band with reasons

abstract

abs

abstract, categories and BibTeX (arxiv-txt)

full_text

full

full paper text, or regex matches with context

render_notes

render

linkify citations and write static, gdoc-pasteable HTML

—

new

create a notes doc from the template


The methodology

The skill (skills/paperpal/SKILL.md) tells agents how to research. The full guide is METHODOLOGY.md, which also works standalone for humans. In short:

  1. Primary sources only. Papers, model cards, repos, vendor posts. Blog summaries are leads, not citations.

  2. Verify every kept item: metadata → top-tier venue → the exact number in the full text.

  3. Score credibility (1–5) on venue, lab, public code and data, age, and replication. Build arguments on ≥4.5, hedge 3–4, and footnote or drop ≤2.

  4. Tag everything:

    • source type: [peer-reviewed] [preprint] [industry] [secondary] [news]

    • status: known / inferred / unknown

  5. Pointers, not prose, unless asked to write.

  6. Every citation is a link. Render to static HTML before sharing.


Configuration

env var

purpose

S2_API_KEY

optional Semantic Scholar API key. Unauthenticated requests share a small rate limit.

paperpal throttles requests per host (arXiv ≈ 1 request / 3 s), retries on 406 / 429 / 5xx, and falls back from arXiv to Hugging Face to arxiv-txt for metadata.

Development

See AGENTS.md. Quick version:

uv sync
uv run pytest -q              # offline tests
claude plugin validate .      # Claude Code manifest

Roadmap

  • BibTeX export (the arxiv-txt parser already captures BibTeX)

  • More venue sources for the evidence card

License

MIT

Available Tools

2 tools
fetch_paper_details_from_arxivB

Get the Arxiv info for a list of papers.

Args:
    arxiv_ids (list[str] | str): The IDs of the papers to get the Arxiv info for, e.g. ["2503.01469", "2503.01470"]

Inputs: arxiv_ids (required). Returns: result

semantic_search_papers_on_huggingfaceB

Search for papers on HuggingFace using semantic search.

Args:
    query (str): The query term to search for. It will automatically determine if it should use keywords or a natural language query, so format your queries accordingly.
    top_n (int): The number of papers to return. Default is 10, but you can set it to any number.

Returns:
    str: A list of papers with the title, summary, ID, and upvotes.

Inputs: query (required), top_n. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: one fetches details for specific Arxiv papers by ID, while the other performs semantic searches on HuggingFace. There is no overlap in functionality or ambiguity between them.

    Naming Consistency5/5

    Both tools follow a consistent snake_case naming pattern with descriptive verb_noun structures (fetch_paper_details_from_arxiv and semantic_search_papers_on_huggingface). The naming is predictable and readable throughout.

    Tool Count2/5

    With only two tools, the server feels under-scoped for a paper-related domain. It lacks basic operations like listing papers, filtering, or managing collections, which limits its utility for comprehensive paper handling tasks.

    Completeness2/5

    The toolset is severely incomplete for paper management. It covers fetching details and searching, but misses essential CRUD operations (e.g., saving, organizing, or annotating papers) and lacks integration between the two sources, leaving significant gaps in workflow coverage.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables searching arXiv and top AI conferences, finding related papers, generating research insights, and managing a personal library via MCP tools.
      5
      49 npm
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables searching arXiv papers, extracting paper information, listing paper topics, and generating structured research prompts through MCP tools, resources, and prompts.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables LLMs to search arXiv, extract and analyze paper content, and build a personal semantically-searchable research library with saved papers and notes.
      -
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to search and access arXiv papers through MCP. Supports paper filtering, downloading, and local storage for efficient access.
      10
      Apache 2.0