In Claude Science
Set up the connector once. Then start the headset host in a Mac terminal and ask:
“Join the Stereofold scene on this Mac and open the kinesin-walk demo.”
Molecular viewer plugin
Stereofold is a plugin for Claude Code, Claude Science, and Codex. See your protein in real depth and tell the agent what to change: cut it open, bring the pocket closer, load the next structure.
In Claude Science, set it up once, then ask for a demo by name.
01 Headset demos
Each demo is a lesson built from PDB entries and told in captioned chapters. Most name their parts on plates, and in three the protein moves. Pause a demo, step through its chapters, walk around it, or ask the agent to change it.
Set up the connector once. Then start the headset host in a Mac terminal and ask:
“Join the Stereofold scene on this Mac and open the kinesin-walk demo.”
Install the plugin, start a new conversation, and ask:
“Open the kinesin-walk demo on my Quest.”
kinesin-walk
The pink and green heads trade the lead along a microtubule, 8.2 nm per step, then the motor rests with both heads bound.
PDB 5SYF, 9L7M, 8RHB, 1BG2, 3KIN
“Open the kinesin-walk demo on my headset.”
atp-synthase-rotor
The gamma stalk and a ring of ten c subunits turn together under the catalytic head, in three 120° steps per turn.
PDB 6N2Y, 6N2Z, 6N30
“Open the atp-synthase-rotor demo on my headset.”
hemoglobin-switch
The blue alpha-beta pair turns 14 degrees against the green pair into the R state, with O2 on every heme, then turns back.
PDB 2DN2, 2DN1
“Open the hemoglobin-switch demo on my headset.”
microtubule-growth
Say “grow it” and the next tier replaces the last: one tubulin, a dimer, a strand, then a wall three strands wide.
PDB 5SYF
“Open the monomer stage of microtubule-growth, then grow it.”
crispr-cas9
Cas9 with its guide RNA and both DNA strands. Nine chapters name the guide, the PAM, the recognition lobe and the nucleases, then recap them.
PDB 9KJ6
“Open the crispr-cas9 demo on my headset.”
telomerase-haca
Nine proteins on one RNA in human telomerase, with two dyskerin copies anchoring the complex.
PDB 8OUE
“Open the telomerase-haca demo on my headset.”
spike
The trimer with all three receptor-binding domains folded down, turned on its long axis and shown as a surface.
PDB 6VXX
“Open the spike demo on my headset.”
nucleosome
147 base pairs of DNA wrapped not quite twice around eight histones, then cut open to the histone core.
PDB 1KX5
“Open the nucleosome demo on my headset.”
daraxonrasib
KRAS G12D and cyclophilin A held together by the drug, with its two contacts measured at 3.38 Å and 2.90 Å.
PDB 9AX6
“Open the daraxonrasib demo on my headset.”
The images are headless renders of the headset view on a Mac. Coordinates download from RCSB on first use and must match the digest in the demo index. The demos README lists every demo and stage. Stereofold has been run on a Quest 2 and in the visionOS simulator, not on a Vision Pro device.
02 Browser demo
This demo runs in your browser with no install, agent, or headset. Rotate crambin, switch between cartoon and ball-and-stick, and select a residue in the sequence or the 3D view. With the plugin, the agent makes changes like these when you ask.
Loads on request. Drag to rotate; scroll to zoom.
TTCCPSIVARSNFNVCRLPGTPEAICATYTGCIIIPGATCPGDYAN
Keyboard: use Tab to reach the sequence, then arrow keys to move between residues. Press Enter to select. In the 3D view, arrow keys rotate and + / − zoom.
03 Desktop stereo
Without a headset, the plugin’s stereo viewer shows depth on an ordinary screen. It renders a separate image for each eye, and the viewing mode sets how the two images appear.
04 Install the plugin
The plugin runs on your Mac, inside the agent host you already use. It needs Node.js 22 or newer. The built server is committed to the repository, so there is no build step.
Set it up once. Clone the repository, then open Settings →
Connectors → Add connector → Local command. Name it
stereofold, give your absolute Node path as the
command and the absolute path to
plugin/dist/server.mjs as its argument. The
README
lists the two environment variables and the sandbox settings
that let Claude Science join the headset host.
git clone https://github.com/jvogan/stereofold
cd stereofold
node plugin/dist/headset-host.mjs 4HHB
The last line starts the headset host. Run it in a Mac terminal
whenever you want the headset: it opens the Wi-Fi share for a
Quest, or for a Vision Pro with --vision-pro, and
waits for Claude Science. Keep the terminal open, put the
headset on, then ask: “Join the Stereofold scene on this Mac and
open the kinesin-walk demo.”
Register the repository as a marketplace, then add the plugin.
codex plugin marketplace add \
https://github.com/jvogan/stereofold
codex plugin add stereofold@stereofold
Add the marketplace, then install the plugin by name.
claude plugin marketplace add jvogan/stereofold
claude plugin install stereofold@stereofold
In Claude Science, add the skills through Settings → Skills. In any host, start a new conversation after installing and ask: “Inspect PDB 1CRN in Stereofold.”
For lesson files alone, copy the complete
plugin/skills/molecular-presentation/ folder into your
host’s skill directory. Claude Code reads .claude/skills/
or ~/.claude/skills/; Claude Science supports skill upload
and GitHub import. The Node 22 planner needs no viewer or server.
Live desktop chapters use Molecular Structure Viewer; headset playback
uses the Stereofold plugin.
05 With the plugin
Ask for a PDB ID or local mmCIF file; obtain AlphaFold coordinates through your source tools when needed. A compatible MCP Apps host can show an inspection panel. If your host has no panel or its card does not mount, ask to open the same inspector in a browser. Confirm the rendered scene in your actual connection. Ask the agent to recolor chains, highlight residues, or start a guided tour. A separate stereo viewer shows depth on your screen.
Compare the stereo modes
Claude Science: (1) From the clone root in a Mac terminal, run
node plugin/dist/headset-host.mjs 4HHB for Quest, or
add --vision-pro for Vision Pro. (2) Pair the headset
as the terminal directs; keep the terminal and browser tab open.
(3) Ask Claude Science to join the Stereofold scene on this Mac
and change it, or to open a demo by name.
It calls continue_session. See the
README’s Claude Science setup.
In Claude Code or Codex, ask: “Open this structure on my Quest.” Your Mac opens Meta’s Web Launch page in a browser signed in to the headset’s Meta account. Press Open there. With both devices on the same Wi-Fi, Quest Browser loads the structure from your Mac, with no developer mode or USB cable. Accept the certificate warning for your Mac’s address and tap Enter VR. Then keep asking in the conversation, by typing or dictating; the assistant checks that each change renders on the headset. Physical Quest 2 observations inform its performance limits; other models use capability checks and actual frame times.
In Claude Code or Codex on Apple Vision Pro, ask: “Open this structure on my Vision Pro.” Your Mac prepares a one-time Safari link. Universal Clipboard is optional. The visionOS simulator exercised opaque VR and pinch controls; verify physical Vision Pro behavior on the current device.
Other headset browsers use the private HTTPS address and pairing dialog. The companion probes WebXR modes and input sources, prefers passthrough when available, and falls back to opaque VR. A missing launch shortcut leaves manual pairing available.
Try it in your browser