How to Use NIH 3D model details in opencode
Returns one biomedical model's files, formats, polygon counts, download links, license, and source references. Use it to inspect a selected entry before choosing files for a lesson, visualization, or print.
Prompts to try with NIH 3D model details in opencode
Copy an example into opencode, or ask in your own words.
Use NIH 3D model details for 3DPX-011342 and draft an asset manifest containing its available formats, download links, and license.
Use NIH 3D model details for 3DPX-011342 and compare its available file sizes and polygon counts against the asset budget documented in this repository.
Use NIH 3D model details to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from NIH 3D model details and tell me what changed since last week.
Check NIH 3D model details and summarize what you find in three bullet points.
How to set up NIH 3D model details in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run NIH 3D model details
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "threed-nih-gov/models-3d/get_entry", "input": { "id": "<id>" } }'
Then paste one of the prompts above: opencode finds NIH 3D model details on Spiral, shows the price and runs it.
NIH 3D model details providers and prices
Spiral runs NIH 3D model details through Alexandria. Open a card for today's price, with every fee included.
What can you do with NIH 3D model details in opencode?
Build a biomedical asset shortlist for your project's anatomy viewer or teaching app. An agent can use NIH 3D collection discovery, model results, or entry details to turn available source material into a reviewable asset plan.
Plan an anatomy lesson
Find an anatomy collection, shortlist models for the lesson, and inspect the chosen entries' files and licenses before preparing teaching materials.
Choose models for a classroom print session
Browse subject collections, find candidates, and compare available formats, polygon counts, and watertight flags before testing files in a slicer.
Source assets for a biomedical web viewer
Discover relevant collections, locate models for the viewer's subject, and inspect file sizes and download formats before selecting assets.
Prepare a science museum exhibit
Explore curated subject libraries, assemble candidate models, and check entry descriptions and reuse terms for an educational exhibit.
Maintain a course resource list
Revisit relevant collections, look for newly published teaching models, and inspect selected entries before adding them to a course reading and asset list.
Review assets before adapting teaching materials
Locate relevant collections and models, then inspect each selected entry's license and source references before proposing an adaptation.
More on NIH 3D model details and opencode
Overview
NIH 3D model details in other agents
Questions about NIH 3D model details in opencode
Can opencode use NIH 3D model details?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run NIH 3D model details like any built-in tool.
How much does NIH 3D model details cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use NIH 3D model details in opencode?
No. Spiral runs NIH 3D model details on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up NIH 3D model details in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while NIH 3D model details runs?
NIH 3D model details runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
What scientific subjects does NIH 3D cover?
NIH 3D covers biomedical structures and equipment, including proteins, DNA, cells, bacteria, viruses, anatomy, prosthetics, and laboratory hardware. Its scope extends beyond printable organs to molecular and cellular visualization.
Where do NIH 3D molecular models come from?
NIH 3D can generate models from four external databases: PDB, AlphaFold, PubChem, and EMDB. These sources cover different kinds of molecular structure data, so inspect an entry's provenance when selecting it.
Can published models change?
Yes. Replacing a published entry's files creates a major version change, such as 1.0 to 2.0, while the previous files remain available in the earlier version.
Why might a model lack a download format?
NIH 3D omits some output formats for large meshes. Its documented thresholds are 3 million polygons for 3MF and 5 million polygons for WRL/X3D.
Does every NIH 3D file have the same reuse terms?
No. Reuse depends on the license associated with each file, and NIH 3D requires users to comply with those terms before using it.
Start using NIH 3D model details in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


