Back to home@Mr-Neutr0n

dsh-medseek

Clinical tools for DeepSeek Harness: handover and discharge drafts, de-identification, completeness checks, and cited lookups. Draft-only, not a medical device.

Stars
0
Language
TypeScript
Created
Aug 19, 2026
Updated
Aug 19, 2026
GitHub repo

Introduction

MedSeek

Clinical tools for DeepSeek Harness. MedSeek drafts documentation and retrieves cited reference material. A clinician reviews everything. It is not a medical device.

License: Apache-2.0. 中文说明.

Tested against @deepseek-ai/dsh 0.1.0-rc.8, Node >= 22.19, pnpm >= 10.

Read the intended-use statement before installing.

What it does

ToolAnswersSourceNetwork
deidentify_textStrip Safe Harbor identifiers from pasted textlocal patternsno
sbar_handover_draftSBAR or I-PASS structure, then a gap listIHI SBAR, NEJM I-PASSno
discharge_summary_draftDischarge-summary skeleton, pending results requiredJoint Commission componentsno
patient_instructions_draftPlain-language structure and a readability scoreAHRQ 6th-8th grade targetno
note_completeness_checkMissing sections, error-prone abbreviationsJC Do Not Use, ISMPno
drug_label_lookupFDA label sections, DailyMed linkopenFDA, RxNormyes
patient_education_lookupMedlinePlus handouts in English or SpanishNLMyes
pubmed_evidence_searchCitations with abstracts and a reproducible queryNCBI E-utilitiesyes

Draft tools return structure and checks. They do not invent clinical facts. Lookup tools display source material. They do not diagnose, prescribe, or adjudicate interactions. NLM retired the free RxNav interaction API in January 2024; MedSeek will not pretend a replacement exists.

Install

Pin the version. pnpm 11 holds @latest back for 24 hours after publish.

dsh plugin --profile web add dsh-medseek@0.1.0

Restart the web GUI, or hard-refresh the tab. Confirm the layer:

dsh --profile web --dump-config

You should see # == dsh-medseek.

If dsh is not on PATH:

npx -y --package @deepseek-ai/dsh@0.1.0-rc.8 dsh plugin --profile web add dsh-medseek@0.1.0

Uninstall:

dsh plugin --profile web remove dsh-medseek
Install from a local checkout
git clone https://github.com/Mr-Neutr0n/dsh-medseek.git
cd dsh-medseek
pnpm install
pnpm verify
dsh plugin --profile web add ./

Quick start

Use synthetic text. Do not paste a real chart into a model provider that is not covered by your BAA.

Handover. "Draft an SBAR from these notes:" paste the shift notes. The agent should call sbar_handover_draft twice: once for the structure, once with filled_fields for the gap list.

Discharge. Same pattern with discharge_summary_draft. If pending results are missing, the tool will say so until the field is filled or explicitly none.

Label. "Show the boxed warning and contraindications for metformin." Expect a DailyMed link and a retrieval date. Absence of an interactions section is not evidence of safety.

De-identify. "Scrub identifiers in this teaching snippet before I paste it elsewhere." Review the low-confidence spans. The tool does not certify Safe Harbor.

Configuration

Optional keys (NCBI key, timeouts, guard mode) are in docs/configuration.md.

Permissions and data

Lookup tools send terms and codes only to NLM, NIH, and FDA. The PHI guard blocks a network call whose arguments look like they carry identifiers (SSN, MRN, email, phone, and the rest of the high-confidence set).

dsh still writes tool arguments to the local session log, uncompressed beyond zstd, with no delete API. Treat $DSH_HOME/sessions as PHI storage when identified notes are pasted. Keep dsh telemetry off.

Full table: docs/permissions-and-data.md.

Compatibility

dsh0.1.0-rc.8 (next dist-tag as of 2026-08-20)
Node>= 22.19
pnpm>= 10

latest on @deepseek-ai/dsh-tools is stale (0.0.1-rc.1). This package pins 0.1.0-rc.8.

Known limit: the sidebar still shows the DeepSeek wordmark. v1 restyles the palette, tab title, and favicon. Replacing the wordmark means owning the whole sidebar slot.

Troubleshooting

See docs/troubleshooting.md.

Development

pnpm install
pnpm verify

See CONTRIBUTING.md. Synthetic data only, in tests and in issues.

Security

Private reports only. See SECURITY.md.

License

Apache License 2.0. Attribution in NOTICE. The dsh-plugin topic is a discovery tag, not a DeepSeek or medical approval.