Literature search tools for DeepSeek Harness: four model-facing tools — paper_search, paper_get, paper_citations and book_search — over OpenAlex, arXiv, Crossref, Semantic Scholar and PubMed, with open-access PDF resolution through Unpaywall.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Cjrrrrrrrr/dsh-plugins#path:/packages/dsh-scholar
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
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.
| Tool | What it does |
|---|---|
paper_search |
Cross-source paper search returning title, authors, year, venue, citation count, DOI, open-access PDF link and abstract |
paper_get |
Single 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_citations |
Citation graph: cited_by (who cites it — follow-up work) or cites (what it cites — foundational work) |
book_search |
Books and book chapters |
Sources
| Source | Scope | Notes |
|---|---|---|
| OpenAlex | 250M+ works, all disciplines | Richest metadata, carries open-access links and abstracts |
| arXiv | Physics, maths, CS, AI preprints | Fastest to update |
| Crossref | Authoritative DOI registry | Publisher-side metadata; used for exact DOI lookups |
| Semantic Scholar | Semantic search + citation graph | Rate-limits hard without a key (HTTP 429 in testing) |
| PubMed | Biomedicine | Official 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
mailtoto your own email. When it is missing or rejected,paper_getreturns an explicit error telling you to set it — it does not silently skip the lookup.
Known limitations
| Limitation | What happens | Workaround |
|---|---|---|
| Unpaywall needs a real email | Placeholder addresses get HTTP 422 | Set mailto to your own address |
| Semantic Scholar rate limits | HTTP 429 without a key (also seen returning in 1.0s) | Request a key and set semanticScholarApiKey |
| arXiv is occasionally slow | Requests can take 30s+ under load | Timeout is 60s with one automatic retry |
| Open Library is not used | It was unreachable in testing | Book search goes through OpenAlex (`filter=type:book |
Non-English queries work better translated to English first.
Implementation notes
- IPv4 is forced. On Windows with IPv6, Node's
fetchtoexport.arxiv.org:443fails withConnect Timeout Errorwhile curl (IPv4) succeeds, so the network layer usesnode:httpswithfamily: 4, its own timeout, redirect following and cancellation. - DOIs use exact endpoints —
api.crossref.org/works/{doi}andapi.openalex.org/works/https://doi.org/{doi}. A?query=search matched the wrong paper for a well-known DOI in testing. - Response streams carry an
errorhandler; without one, a mid-transfer reset surfaces as an uncaught exception in the host. - Cross-source de-duplication normalises by DOI and by title, so one paper appearing in both OpenAlex and Crossref is not reported twice.
- 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
Links
More in this category
Tencent/WeKnora#dsh-weknora★ 38526
Four read-only tools over a WeKnora knowledge base: list knowledge bases, hybrid passage search, reassemble one document's chunks in order, and WeKnora's own cited RAG or ReAct-agent answer with a resumable session id.
DayuanJiang/next-ai-draw-io#dsh-plugin★ 37266
Draws draw.io diagrams in DeepSeek Harness through the next-ai-drawio MCP server: the link in the reply opens a live preview in the right sidebar, you can edit the diagram by hand, and each AI change is a version you can restore. Node.js 18+; npx downloads the MCP server on first use.
yikart/AiToEarn#dsh-plugin-aitoearn★ 28921
Generate copy, images and short videos, and publish with one click to Douyin, Kuaishou, Xiaohongshu, WeChat Official, Bilibili, Facebook, TikTok and more, covering the full content lifecycle from creation to publishing and monetization.
superdesigndev/treg★ 9983
Tool catalog for agents: search ~2,600 external endpoints (SEO and SERP, backlinks, social, people and company enrichment, ad libraries, scraping) by the task you want done, read each one's parameters and per-call price, then call it with the credential injected server-side. Ships the skill plus an MCP row that stays disabled until TREG_TOKEN is set.
T-Auto/dsh-ops★ 6095
Provides bash, PowerShell 7, and high-performance Rust tools for DSH on Windows to reduce token usage.
Hithink-Tech-Org/Financial-API#hithink-finance★ 4745
Query Hithink Finance data in DeepSeek Harness, view charts in chat, and save refreshable dashboards.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.