Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Dsh Kb Rag

MCP server by Breeze136 Verified · npm:dsh-kb-rag

Indexes PDFs or a Zotero library into one local SQLite file for DSH and MCP clients. Search and RAG tools return passages with section, page, DOI and linked citations.

  • Score 75
  • 22 stars
  • 613 a week
  • MIT
  • Updated

Install Dsh Kb Rag

Built from the published package, never by AI.

claude mcp add dsh-kb-rag -- npx -y dsh-kb-rag

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Dsh Kb Rag in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the dsh-kb-rag block.

About

kb-rag is a local literature knowledge base for DSH and other MCP clients. It indexes PDFs and Zotero libraries into one SQLite file. Its search and RAG tools return the passages that answer a question, each with its section, physical page and DOI, plus the citations attached to that passage. It also shows whether a cited work is already in the library.

The source states that indexing, embedding and reranking run on the user's machine, with no API cost and no upload. The default quick mode finds papers and passages with hybrid recall. The deep mode adds a local reranker, citation links and related work, for comparing methods across papers or following citation chains. The plugin can also write self-contained HTML answer pages. It suits users who keep their literature in PDFs or Zotero.

Written from the project's README and checked against it.

Tools it gives your assistant

  • kb_ragReturns evidence passages with section, page, DOI and linked citations for a question.
  • kb_searchSearches the library for papers and passages that match a query.
  • kb_ingestAdds a folder of PDF, TXT, MD or DOCX files, skipping unchanged files.
  • kb_fetchDownloads and indexes a single paper from a DOI or arXiv ID.
  • kb_zoteroIngests items with PDF attachments from a Zotero library, with a dry-run preview option.
  • kb_statusReports the progress of a background indexing job until it is done.
  • kb_statsReports library statistics and whether the embedding and reranking models are cached.
  • kb_scopeLimits answers to the library in strict mode (DSH).

What you need

  • DSH desktop app 0.2 or newer
  • Python with sentence-transformers
  • About 1.2 GB of disk space for the two models downloaded on first search
  • PDFs with a text layer

Try asking

  • Add this graphene literature folder to the knowledge base and tell me what was added.
  • Which papers in my library discuss graphene growth on copper?
  • Use kb_fetch to fetch 10.5555/12345678, then ingest it.

Good to know

  • The engine does not run OCR, so scanned PDFs fail with 'no text extracted'.
  • The first call after a restart can take up to 8.9 s while the models load.
  • The web profile of DSH is not a supported install target.
  • 1.6.7 and earlier fail the DSH 0.2 compatibility check.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Dsh Kb Rag

All alternatives →

Compare with Zotero MCP, Agentdb or Genkitx MCP

Dsh Kb Rag: common questions

Does kb-rag upload my papers to a cloud service?

No. The source says indexing, embedding and reranking run on your machine and nothing is uploaded.

What is the difference between quick and deep modes?

Quick uses hybrid recall without reranking, citation linking or related work. Deep adds a reranker, citation links and related work, and runs slower.

What happens if a PDF is a scan?

A scanned PDF has no text layer, so parsing fails with 'no text extracted'. The engine does not OCR, so run an OCR tool on the file first.

How do I install Dsh Kb Rag?

In Claude Code run claude mcp add dsh-kb-rag -- npx -y dsh-kb-rag. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Dsh Kb Rag the official server?

Dsh Kb Rag is published by npm:dsh-kb-rag from its verified domain in the official MCP Registry.

Is Dsh Kb Rag free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Dsh Kb Rag safe to use?

It scores 75 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Dsh Kb Rag?

Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.

Does Dsh Kb Rag work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Dsh Kb Rag Install

Add to stack

Loading.