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

ai4scholar

v0.3.1

Published

Multi-source academic literature search, management, and analysis plugin for OpenClaw. Powered by ai4scholar.net.

Readme

AI4Scholar

Multi-source academic literature search, management, and analysis plugin for OpenClaw.

Powered by ai4scholar.net.

What It Does

AI4Scholar gives OpenClaw direct access to 6 academic platforms through 17 built-in tools, plus a literature survey skill that generates rich HTML reports.

Platforms & Tools

| Platform | Tools | Via | |----------|-------|-----| | Semantic Scholar | search_semantic, get_semantic_paper_detail, get_semantic_citations, get_semantic_references, search_semantic_authors, get_semantic_author_papers, get_semantic_recommendations, get_semantic_recommendations_for_paper, search_semantic_snippets | ai4scholar.net | | PubMed | search_pubmed, get_pubmed_paper_detail, get_pubmed_citations, get_pubmed_related | ai4scholar.net | | Google Scholar | search_google_scholar | ai4scholar.net | | arXiv | search_arxiv | Direct API | | bioRxiv | search_biorxiv | Direct API | | medRxiv | search_medrxiv | Direct API |

Skills

| Skill | Description | |-------|-------------| | literature-survey | Structured literature survey with fulltext search, HTML report + CSV generation, or multi-source review |

Slash Commands

| Command | Description | |---------|-------------| | /library | List downloaded papers in the active project | | /projects | List all literature projects | | /reading-list | Show the reading list |

Report Generation

The plugin includes Python scripts for generating rich HTML reports from fulltext search results:

  • 6 color themes (Light, Sepia, Dark, Green, Pink, Perplexity)
  • Interactive snippet cards with modal detail views
  • Filtering by source type, year, venue, and keyword
  • Automatic title translation (Chinese ↔ English)
  • CSV data export

Prerequisites

  • OpenClaw installed and running
  • An ai4scholar.net API key (for Semantic Scholar, PubMed, and Google Scholar tools)
  • Python 3.8+ with requests (for HTML report generation)

Install

From npm (recommended)

openclaw plugins install ai4scholar

The plugin installs to ~/.openclaw/extensions/ai4scholar/ and is automatically enabled.

From source (development)

git clone https://github.com/literaf/ai4scholar.git
cd ai4scholar && pnpm install && pnpm build

# Link as dev plugin
pnpm dev:link
# or equivalently:
openclaw plugins install -l .

Verify installation

openclaw plugins list
# Should show: ai4scholar (enabled)

After installation, restart the gateway to load the plugin:

# Stop the running gateway (Ctrl+C), then:
openclaw gateway

Configuration

After installation, set your API key in OpenClaw's plugin settings (WebUI):

Optional: External MCP Server

For additional capabilities, you can also configure the ai4scholar-mcp server in ~/.openclaw/openclaw.json:

{
  "mcpServers": {
    "ai4scholar": {
      "url": "https://mcp.ai4scholar.net/sse",
      "headers": {
        "Authorization": "Bearer <your-api-key>"
      }
    }
  }
}

Usage

Just talk to your OpenClaw assistant:

Search for recent papers on transformer-based time series forecasting
Give me a literature survey on protein folding prediction methods since 2020
Search the full text of papers for "dropout rate 0.1 Transformer implementation"

Project Structure

ai4scholar/
├── src/                    # TypeScript source
│   ├── tools/              # 17 tool implementations
│   │   ├── api-client.ts   # HTTP client for ai4scholar.net
│   │   ├── semantic-scholar.ts  # 9 Semantic Scholar tools
│   │   ├── pubmed.ts       # 4 PubMed tools
│   │   ├── google-scholar.ts    # Google Scholar search
│   │   ├── arxiv.ts        # arXiv search
│   │   ├── biorxiv.ts      # bioRxiv + medRxiv search
│   │   ├── result.ts       # Tool result helpers
│   │   └── params.ts       # Parameter parsing
│   ├── hooks/              # Agent hooks
│   └── commands.ts         # Slash commands
├── scripts/                # Python helper scripts
│   ├── fulltext_search.py  # Fulltext search + data processing
│   ├── generate_html.py    # HTML report generator
│   └── translate_titles.py # Title translation helper
├── assets/                 # Report templates
│   ├── template_fulltext.html
│   └── styles.css
├── skills/                 # Agent skills
│   └── literature-survey/
│       └── SKILL.md
├── openclaw.plugin.json    # Plugin manifest
└── index.ts                # Plugin entry point

License

MIT