[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [MorphoSource media search](https://spiral.ai/integrations/opencode/morphosource-media-search)

# How to Use MorphoSource media search in opencode

Returns matching MorphoSource media records for biological specimens and cultural heritage objects. Use it to shortlist scans and meshes for a study, teaching collection, or museum project.

|  |  |
| --- | --- |
| Model | MorphoSource media search |
| Available through | Alexandria |
| Category | Industry Data |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with MorphoSource media search in opencode

- Use MorphoSource media search to find Puma concolor skull media and add a reference table to this project with media identifiers, specimen identifiers, titles, and source links.
- Use MorphoSource media search to find Alligator mississippiensis media, then create a project table that distinguishes media records from distinct specimen identifiers.
- Use MorphoSource media search to find primate skull media and create a CSV in this project comparing the titles, specimen references, and imaging methods supplied.
- Use MorphoSource media search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from MorphoSource media search and tell me what changed since last week.

## How to set up MorphoSource media search in opencode

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **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.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run MorphoSource media search**: One request; the result comes back by polling or a webhook.

```bash
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": "morphosource-org/models-3d/search_media",
    "input": {
      "page": 1
    }
  }'
```

Then paste one of the prompts above: opencode finds MorphoSource media search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## MorphoSource media search tools and prices

- [MorphoSource · Search media](https://spiral.ai/tools/alexandria/morphosource-org/models-3d/search_media) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 10000 | 1 | 1-based page; pass the previous next_page. |
| limit | 1 to 50 | 10 | limit |
| query |  | — | Free text over titles, descriptions, taxa, specimens and institutions, e.g. 'primate skull', 'Chamaeleo'. |
| taxon |  | — | Exact scientific name of the specimen's taxon, e.g. Puma concolor, Homo sapiens. |
| access | open, restricted | — | open: Open Download media; restricted: download needs approval. |
| license |  | — | Exact license URL, e.g. https://creativecommons.org/licenses/by-nc/4.0/. |

## What can you do with MorphoSource media search in opencode?

Build a specimen reference table from MorphoSource records for a comparative anatomy project. A coding agent can organize media identifiers, specimen context, imaging information, and reuse notes in your project's data files.

### Plan a comparative anatomy study

Shortlist skull scans and meshes for Puma concolor, then compare specimen identifiers, anatomical parts, and imaging information before choosing study material.

### Choose material for an anatomy lesson

Find candidate Alligator mississippiensis media and review their descriptions and reuse information to prepare a lesson resource list.

### Prepare a research citation inventory

Collect media identifiers, specimen references, and supplied citation instructions for the scans and meshes under consideration for a paper.

### Review reuse terms before selecting media

Compare the rights information attached to candidate fossil media and identify records whose stated restrictions need closer review before publication.

### Separate specimen counts from media counts

Organize Felidae media by specimen identifier so separate scans and meshes of one specimen do not inflate a research shortlist.

### Review imaging methods

Compare the imaging information supplied for primate skull media to identify candidates with methods suitable for a proposed comparison.

### Prepare a museum resource guide

Build an annotated guide to cultural heritage media using object descriptions, collection references, and links to the original MorphoSource records.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## MorphoSource media search in other agents

- [Amp](https://spiral.ai/integrations/amp/morphosource-media-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/morphosource-media-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/morphosource-media-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/morphosource-media-search)
- [Cline](https://spiral.ai/integrations/cline/morphosource-media-search)
- [Codex](https://spiral.ai/integrations/codex/morphosource-media-search)
- [Cursor](https://spiral.ai/integrations/cursor/morphosource-media-search)
- [Devin](https://spiral.ai/integrations/devin/morphosource-media-search)
- [dots](https://spiral.ai/integrations/dots/morphosource-media-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/morphosource-media-search)
- [Gemini](https://spiral.ai/integrations/gemini/morphosource-media-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/morphosource-media-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/morphosource-media-search)
- [goose](https://spiral.ai/integrations/goose/morphosource-media-search)
- [Grok](https://spiral.ai/integrations/grok/morphosource-media-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/morphosource-media-search)
- [Hermes](https://spiral.ai/integrations/hermes/morphosource-media-search)
- [Instinct](https://spiral.ai/integrations/instinct/morphosource-media-search)
- [Manus](https://spiral.ai/integrations/manus/morphosource-media-search)
- [Muse](https://spiral.ai/integrations/muse/morphosource-media-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/morphosource-media-search)
- [n8n](https://spiral.ai/integrations/n8n/morphosource-media-search)
- [Notion](https://spiral.ai/integrations/notion/morphosource-media-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/morphosource-media-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/morphosource-media-search)
- [Raycast](https://spiral.ai/integrations/raycast/morphosource-media-search)
- [VS Code](https://spiral.ai/integrations/vscode/morphosource-media-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/morphosource-media-search)
- [Zapier](https://spiral.ai/integrations/zapier/morphosource-media-search)

## More opencode guides

- [MorphoSource media record](https://spiral.ai/integrations/opencode/morphosource-media-record)
- [MorphoSource specimen details](https://spiral.ai/integrations/opencode/morphosource-specimen-details)
- [MIT Election Lab election returns](https://spiral.ai/integrations/opencode/mit-election-lab-election-returns)
- [MorphoSource specimen search](https://spiral.ai/integrations/opencode/morphosource-specimen-search)
- [MIT Election Lab dataset search](https://spiral.ai/integrations/opencode/mit-election-lab-dataset-search)
- [NASA technical report details](https://spiral.ai/integrations/opencode/nasa-technical-report-details)

## Questions about MorphoSource media search in opencode

**Can opencode use MorphoSource media search?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run MorphoSource media search like any built-in tool.

**How much does MorphoSource media search 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 MorphoSource media search in opencode?**

No. Spiral runs MorphoSource media search on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up MorphoSource media search in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while MorphoSource media search runs?**

MorphoSource media search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does MorphoSource contain only biological 3D models?**

No. MorphoSource includes biological specimens, fossils, and cultural heritage objects, with 3D, 2D, and audiovisual media.

**Does each media record represent a different specimen?**

No. MorphoSource requires each scan and each mesh to have its own record, so several records can represent the same specimen.

**Can a record change after it is submitted?**

Yes. MorphoSource allows submitted media information to be edited when a mistake is found, so the initial submission is not necessarily the final description.

**Are all deposited media records public?**

No. Published media records are publicly visible, while private records are limited to users with relevant roles. Public results exclude private deposits that the viewer cannot access.

**Does every media record have a DOI?**

No. DOIs are not assigned automatically when media are created; assignment may need to be requested.

