@literaf

Ai4Scholar

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

Current version
v0.6.9
code-pluginCommunitysource-linked

AI4Scholar

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

Powered by ai4scholar.net.

What It Does

AI4Scholar gives your OpenClaw agent direct access to 6 academic platforms through 36 built-in tools.

Platforms

PlatformCoverage
Semantic Scholar200M+ papers across all fields
PubMedBiomedical & life sciences
Google ScholarBroad academic search
arXivPhysics, CS, math, biology preprints
bioRxivBiology preprints
medRxivHealth sciences preprints

Tools (36)

Search (9)

ToolPlatformDescription
search_semanticSemantic ScholarSearch papers with year filtering
search_pubmedPubMedBiomedical papers, date range + sorting
search_google_scholarGoogle ScholarBroad academic search via ai4scholar proxy
search_arxivarXivPreprints search
search_biorxivbioRxivBiology preprints by category + date
search_medrxivmedRxivHealth preprints by category + date
search_semantic_snippetsSemantic ScholarFull-text snippet search (~500 word excerpts)
search_semantic_bulkSemantic ScholarBulk search, up to 1000 results with pagination
search_semantic_paper_matchSemantic ScholarExact title matching

Paper Details & Batch (4)

ToolDescription
get_semantic_paper_detailPaper metadata by ID (DOI, arXiv ID, PMID, etc.)
get_pubmed_paper_detailPubMed paper metadata by PMID
get_semantic_paper_batchBatch paper details (up to 500)
get_pubmed_paper_batchBatch PubMed details

Citations & References (4)

ToolDescription
get_semantic_citationsPapers citing the given paper
get_semantic_referencesPapers referenced by the given paper
get_pubmed_citationsPubMed citation lookup
get_pubmed_relatedPubMed related papers

Authors (5)

ToolDescription
search_semantic_authorsSearch authors by name
get_semantic_author_detailAuthor profile (h-index, papers, citations)
get_semantic_author_papersAll papers by an author
get_semantic_author_batchBatch author details (up to 1000)
get_semantic_paper_authorsAll authors of a paper

Recommendations (2)

ToolDescription
get_semantic_recommendationsRecommend papers from positive/negative examples
get_semantic_recommendations_for_paperSimilar papers for a single paper

PDF Download & Full-Text Reading (10)

ToolDescription
download_semanticOpen access PDF URL from Semantic Scholar
read_semantic_paperDownload + extract full text (Semantic Scholar)
download_arxivarXiv PDF URL
read_arxiv_paperDownload + extract full text (arXiv)
download_biorxivbioRxiv PDF URL
download_medrxivmedRxiv PDF URL
read_biorxiv_paperDownload + extract full text (bioRxiv)
read_medrxiv_paperDownload + extract full text (medRxiv)
download_by_doiDownload PDF by DOI (supports institutional access)
read_by_doiDownload + extract full text by DOI

Auto-Citation (1)

ToolDescription
auto_citeOne-click citation annotation: add real references to academic text (IEEE/APA/Vancouver/Nature styles)

Scientific Drawing (1)

ToolDescription
sci_drawAI-powered scientific figure generation (text-to-image, edit, style transfer, SVG, critique)

Slash Commands

CommandDescription
/libraryList downloaded papers in the active project
/projectsList all literature projects
/reading-listShow the reading list

Install

From npm (recommended)

openclaw plugins install ai4scholar

After installation, restart the gateway:

openclaw gateway stop && openclaw gateway start

Update

openclaw plugins update ai4scholar

Verify

openclaw plugins list
# Should show: ai4scholar (enabled)

Configuration

Set your API key in openclaw.json:

{
  "plugins": {
    "entries": {
      "ai4scholar": {
        "enabled": true,
        "config": {
          "apiKey": "<your-api-key>"
        }
      }
    }
  }
}

Get your API key at ai4scholar.net.

Usage

Just talk to your OpenClaw agent:

Search for recent papers on CRISPR in cancer immunotherapy
Read the full text of arXiv:2401.12345 and summarize the Methods section
Add citations to this Introduction paragraph: <paste text>
Give me a literature survey on protein folding methods since 2020

For detailed usage, visit ai4scholar.net.

Project Structure

ai4scholar/
├── src/
│   ├── tools/
│   │   ├── api-client.ts        # HTTP client for ai4scholar.net
│   │   ├── semantic-scholar.ts  # 17 Semantic Scholar tools
│   │   ├── pubmed.ts            # 5 PubMed tools
│   │   ├── google-scholar.ts    # Google Scholar search
│   │   ├── arxiv.ts             # 3 arXiv tools
│   │   ├── biorxiv.ts           # 6 bioRxiv/medRxiv tools
│   │   ├── doi-download.ts      # 2 DOI-based download tools
│   │   ├── auto-cite.ts         # Auto-citation via ai4scholar API
│   │   ├── sci-draw.ts          # Scientific figure generation
│   │   ├── pdf-utils.ts         # PDF download & text extraction
│   │   ├── result.ts            # Tool result helpers
│   │   └── params.ts            # Parameter parsing
│   ├── hooks/
│   │   └── scholar-mode.ts      # Scholar mode system prompt
│   └── commands.ts              # Slash commands
├── openclaw.plugin.json
└── index.ts

License

MIT

Source and release

Source repository

literaf/ai4scholar-plugin-openclaw

Open repo

Source commit

349d8ab45e0a8267c0b60836a6f35f875a6d7dc3

View commit

Install command

openclaw plugins install clawhub:ai4scholar

Metadata

  • Package: ai4scholar
  • Created: 2026/04/27
  • Updated: 2026/04/27
  • Executes code: Yes
  • Source tag: main

Compatibility

  • Built with OpenClaw: 2026.2.24
  • Plugin API range: >=2026.2.24
  • Tags: latest
  • Files: 31