Community plugin

Cjrrrrrrrr / @local/dsh-scholar

Academic search tools for DeepSeek Harness: paper_search, paper_get, paper_citations and book_search over OpenAlex, arXiv, Crossref, Semantic Scholar and PubMed, with open-access PDF resolution through Unpaywall.

  • JavaScript
  • MIT
  • 0 stars
  • Nov 6, 2026

About this plugin

Written by the registry from verified metadata, not from the README.

@local/dsh-scholar is a DSH plugin published from the packages/dsh-scholar package in the Cjrrrrrrrr/dsh-plugins repository.

  • Listing statusManifest verified
  • Manifest checkedNov 16, 2026
  • Package@local/dsh-scholar
  • Package pathpackages/dsh-scholar
  • Repository createdOct 12, 2026

Capabilities and topics

dshdsh-plugindeepseek-harnesspaper
From the repository README

README

Everything below this line is the repository's own document, cached here. This site did not write or review it.

dsh-scholar

Academic search tools for DeepSeek Harness (dsh).

Adds four model-facing tools for literature work. Every source is a public, free API — no key required to start.

ToolWhat it does
paper_searchCross-source paper search returning title, authors, year, venue, citation count, DOI, open-access PDF link and abstract
paper_getSingle paper by DOI / arXiv id / PMID via exact endpoints (not fuzzy search); falls back to Unpaywall for a legal free full text when the paper is not obviously open
paper_citationsCitation graph: cited_by (who cites it — follow-up work) or cites (what it cites — foundational work)
book_searchBooks and book chapters

Sources

SourceScopeNotes
OpenAlex250M+ works, all disciplinesRichest metadata, carries open-access links and abstracts
arXivPhysics, maths, CS, AI preprintsFastest to update
CrossrefAuthoritative DOI registryPublisher-side metadata; used for exact DOI lookups
Semantic ScholarSemantic search + citation graphRate-limits hard without a key (HTTP 429 in testing)
PubMedBiomedicineOfficial NLM E-utilities, includes abstracts

Chinese-language literature: CNKI / Wanfang / VIP have no public API. Chinese journals that OpenAlex or Crossref index (under their English metadata) are reachable.

Install

dsh plugin add github:Cjrrrrrrrr/dsh-plugins#path:/packages/dsh-scholar

Requires DSH 0.1.0-rc.1 or newer.

Configure

Add a config block to the plugin's row in your profile patch:

- id: scholar
  name: '@local/dsh-scholar'
  config:
    mailto: you@example.com      # your email, see below
    semanticScholarApiKey: ''    # optional; fixes 429s
    maxAbstractChars: 500        # cap on the abstract injected into context

mailto — read this before using paper_get on a paywalled paper

OpenAlex and Crossref join their "polite pool" when you identify yourself, and Unpaywall requires a real address: a placeholder one is rejected with HTTP 422: Please use your own email address.

The built-in default is a GitHub noreply address, which Unpaywall also rejects. So:

  • The other three tools work with no configuration at all.
  • For open-access resolution, set mailto to your own email. When it is missing or rejected, paper_get returns an explicit error telling you to set it — it does not silently skip the lookup.

Known limitations

LimitationWhat happensWorkaround
Unpaywall needs a real emailPlaceholder addresses get HTTP 422Set mailto to your own address
Semantic Scholar rate limitsHTTP 429 without a key (also seen returning in 1.0s)Request a key and set semanticScholarApiKey
arXiv is occasionally slowRequests can take 30s+ under loadTimeout is 60s with one automatic retry
Open Library is not usedIt was unreachable in testingBook search goes through OpenAlex (`filter=type:book

Non-English queries work better translated to English first.

Implementation notes

  1. IPv4 is forced. On Windows with IPv6, Node's fetch to export.arxiv.org:443 fails with Connect Timeout Error while curl (IPv4) succeeds, so the network layer uses node:https with family: 4, its own timeout, redirect following and cancellation.
  2. DOIs use exact endpoints — api.crossref.org/works/{doi} and api.openalex.org/works/https://doi.org/{doi}. A ?query= search matched the wrong paper for a well-known DOI in testing.
  3. Response streams carry an error handler; without one, a mid-transfer reset surfaces as an uncaught exception in the host.
  4. Cross-source de-duplication normalises by DOI and by title, so one paper appearing in both OpenAlex and Crossref is not reported twice.
  5. One failing source never fails the call — the error is reported back to the model so it can retry elsewhere.

Layout

lib/sources.js   data layer: pure functions, one per source, testable without the host
lib/index.js     host half: registers the four tools
cordis.patch.yml the bundle row

License

MIT

Badge

Listed here? Link back with this badge — paste the snippet into your repository README.

Listed on DSH Plugin badge
[![Listed on DSH Plugin](https://dsh-plugin.com/badges/listed.svg)](https://dsh-plugin.com/plugins/Cjrrrrrrrr/dsh-plugins/packages/dsh-scholar)