ChatGPTClaudeGrok / X / CursorGemini

dsh-molecule-visualization: Render 3D Molecular Structures in DeepSeek Harness Sessions

kanade-tachibana-methyl/dsh-molecule-visualization

Tools & CapabilitiesVerified
Listed on 2026-10-20
Page last updated 2026-11-05

A DeepSeek Harness plugin that renders interactive 3D molecular viewers from PDB/SDF/MOL/MOL2/XYZ/Gaussian files or data, with visible failure reasons.

dsh-molecule-visualization is a DSH plugin for DeepSeek Harness that turns PDB, SDF, MOL, MOL2, XYZ and Gaussian input files into rotatable, zoomable 3D molecular models inside conversation cards. It targets the pain of failed renders leaving a blank canvas by giving parse errors, zero atoms, unavailable WebGL and invisible containers their own cause, suggested fix and retry button, and it adds ball-and-stick styling plus PDB column validation with automatic repair. Path-first loading converts Windows, WSL and home-directory paths automatically, 3Dmol.js is bundled locally for offline use, and payloads persist with tool results so viewers survive a restart.

How to Install

install
dsh plugin --profile <your-profile> add github:kanade-tachibana-methyl/dsh-molecule-visualization

Replace --profile with the profile name you actually run (see ls ~/.dsh/profiles/): usually web in the browser UI, desktop or desktop-NNN in the desktop app.

Category
Tools & Capabilities
Platform
DSH Plugin
Author
kanade-tachibana-methyl
Distribution
Plugin

dsh-molecule-visualization Key Features

Six molecular input formatsInteractive 3D rotate and zoomBall-and-stick and other stylesPDB column validation and repairVisible failure reasons and retry
Listed on dsh-plugin.org

dsh-molecule-visualization Repo Summary

What Does It Do?

It is a DSH plugin for DeepSeek Harness that turns molecular files into an interactive 3D viewer rendered right inside the conversation. It solves the problem of structures being readable only as text and of failed renders leaving a blank canvas: you pass a file path or structure data and get a rotatable, zoomable model, with a concrete reason shown whenever something goes wrong. Its core capabilities cover multi-format parsing, ball-and-stick styling, PDB column validation with automatic repair, and timeout protection when the container is not visible.

Core Features

  • Six input formats: PDB, SDF, MOL, MOL2, XYZ and Gaussian input files (geometry only); MOL is routed through the SDF parser so real molfiles are not misdetected and rendered with zero atoms.
  • Visible failures: parse errors, zero atoms, unavailable WebGL and invisible containers each get their own message, with a specific cause, a suggested fix and a retry button on the card, plus an atom-count cross-check after rendering.
  • Ball-and-stick style: alongside stick, line, sphere and cartoon, a ball-and-stick representation combines thin sticks with scaled spheres, switchable live together with background color and coloring.
  • PDB column validation and repair: coordinates and record names are checked column by column and reported as a specific line and column; a file-wide altLoc column shift is repaired automatically with a warning.
  • Path-first loading: pass a file path and the server reads it, with automatic conversion between Windows, WSL and home-directory paths so you never paste raw structure data.
  • Offline and recoverable: 3Dmol.js is bundled locally into the client with no CDN request at runtime, and the payload is persisted with the tool result so viewers survive a restart.

How to Use This Plugin?

After enabling it in DSH, just describe what you want in natural language and the model calls the molecule viewer for you, for example asking it to visualize a local PDB file path. The rendered card supports mouse rotation and zoom, and lets you switch between ball-and-stick, stick, line, sphere and cartoon styles and coloring. If the card reports a failure, fix the file or container state as suggested and press retry; when the container is collapsed or hidden, the viewer reports an invisible container after about ten seconds instead of loading forever. The plugin is maintained by Kanade-Tachibana-Methyl, rewritten from an upstream MIT project and evolving independently, and written in TypeScript.

How to Troubleshoot This Plugin?

  • The card reports zero atoms parsed: this usually means the format and parser do not match, so check that the extension matches the actual content, and note that MOL files are parsed as SDF.
  • The card reports shifted PDB columns or non-numeric coordinates: inspect the fixed-column layout at the reported line and column; a file-wide altLoc pseudo-marker is repaired automatically with a warning.
  • The viewer stays on loading forever: the viewer container is typically collapsed or hidden (display:none or zero size), so expand it and retry.
  • The card reports WebGL unavailable: the current environment lacks usable graphics rendering, so open it in an environment that supports WebGL.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: kanade-tachibana-methyl/dsh-molecule-visualization. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub
ChatGPTClaudeGrok / X / CursorGemini

DSH Plugin FAQ