[Integrations](https://spiral.ai/integrations) › [Claude](https://spiral.ai/integrations/claude-desktop) › [Docker Hub image search](https://spiral.ai/integrations/claude-desktop/docker-hub-image-search)

# How to Use Docker Hub image search in Claude

Returns matching Docker Hub catalog entries with repository descriptions. Use it to discover image candidates before reading their documentation or comparing tags.

|  |  |
| --- | --- |
| Model | Docker Hub image search |
| Available through | Alexandria |
| Category | Developer |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Docker Hub image search in Claude

- Use Docker Hub image search for Redis and give me ten matching image repositories with their returned descriptions.
- Use Docker Hub image search to look this up and give me the result as a table.
- Pull the latest numbers from Docker Hub image search and tell me what changed since last week.
- Check Docker Hub image search and summarize what you find in three bullet points.
- Pull the newest data from Docker Hub image search and give me the result as a table.

## How to set up Docker Hub image search in Claude

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

### Use the Claude connector

1. **Add Spiral to Claude**: Click Add Spiral in Claude above. Claude opens Add custom connector with Spiral and its URL filled in; check them and click Continue. Without the link: in Claude open Customize › Connectors › Add › Add custom connector and paste this URL:

```text
https://api.spiral.ai/mcp
```

2. **Keep the detected sign-in and click Add**: Claude finds Spiral's sign-in by itself: leave Sign in now and Use Claude's published identity selected.

3. **Click Connect**: The connector page opens. Connect takes you to Spiral in your browser.

### Use the Spiral skill

1. **Send Claude 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 Docker Hub image 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": "hub-docker-com/container-images/search_images",
    "input": {
      "sort": "pull_count"
    }
  }'
```

Then paste one of the prompts above: Claude finds Docker Hub image search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-desktop

## Docker Hub image search tools and prices

- [Docker Hub · Search images](https://spiral.ai/tools/alexandria/hub-docker-com/container-images/search_images) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sort | pull_count, updated_at | — | Sort key; omit for Docker Hub's relevance order. |
| type | image, extension, plugin, dhi, model, sbx_kit, compose, helm | — | Catalog type filter as the Hub UI sends it: `image`, `extension`, `plugin`, `dhi`, `model`, `sbx_kit`, `compose`, `helm`. Observed with results: `image`, `extension`, `dhi`. |
| order | asc, desc | — | Sort direction (used with `sort`); Docker Hub defaults to `desc`. |
| query |  |  | Search text. May be empty when at least one filter is given. |
| badges |  | — | Badge filter; several values are OR-ed. |
| cursor |  | — | `next_cursor` from a previous page (the `from` offset). Pattern: ^[0-9]+$. |

## What can you do with Docker Hub image search in Claude?

Get a container image research brief with the source details needed to choose what to investigate. A chat agent can explain Docker Hub publisher profiles, categories, repository documentation, tag metadata, and reported vulnerabilities in plain English.

### Shortlist a base image

Use catalog categories to frame the search, find Python image candidates, and read their repository documentation. Compare Docker Scout severity counts for the candidate digests before choosing which images to test.

### Review a container publisher

Review Grafana's publisher profile and repository catalog, then read the documentation for relevant images. Compare those repositories with Grafana search results to distinguish the publisher's catalog from other matching entries.

### Plan an ARM migration

Find nginx image candidates and compare their tags for the target platform. Resolve shortlisted tags to platform digests, then compare the reported vulnerabilities for those exact images.

### Discover observability tools

Start with Docker Hub's categories and search for observability images. Review the profiles and repository catalogs of publishers such as Grafana to identify related tools for an evaluation.

## Overview

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

## Docker Hub image search in other agents

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

## More Claude guides

- [Docker Hub image categories](https://spiral.ai/integrations/claude-desktop/docker-hub-image-categories)
- [Docker Hub image tag details](https://spiral.ai/integrations/claude-desktop/docker-hub-image-tag-details)
- [DOI resolution statistics](https://spiral.ai/integrations/claude-desktop/doi-resolution-statistics)
- [Docker Hub image vulnerability summary](https://spiral.ai/integrations/claude-desktop/docker-hub-image-vulnerability-summary)
- [DOI registration agency lookup](https://spiral.ai/integrations/claude-desktop/doi-registration-agency-lookup)
- [Docker Hub publisher profile](https://spiral.ai/integrations/claude-desktop/docker-hub-publisher-profile)

## Questions about Docker Hub image search in Claude

**Can Claude use Docker Hub image search?**

Yes. Add Spiral to Claude as an MCP server, and Claude can find and run Docker Hub image search like any built-in tool.

**How much does Docker Hub image search cost in Claude?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude plan is separate.

**Do I need an Alexandria account to use Docker Hub image search in Claude?**

No. Spiral runs Docker Hub image 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 Docker Hub image search in Claude?**

About two minutes: add Spiral to Claude, then keep the detected sign-in and click Add, then click Connect.

**Does Claude wait while Docker Hub image search runs?**

Docker Hub image search runs in the background. Claude starts the run, checks on it and gives you the json when it's ready.

**Does public Docker Hub data include private repositories?**

Public repositories are accessible to everyone. Private repositories require appropriate permissions, so a public publisher catalog does not establish everything that publisher stores.

**Does one response contain every repository or tag?**

Repository and tag listings are paginated. Docker Hub provides a total result count and a link to the next page when more results exist.

**Can the same Docker Hub tag point to a different image later?**

Yes. Docker Hub tags are mutable by default, and a publisher can change which image a tag references.

**Can vulnerability counts change without another image push?**

Yes. Docker Scout reevaluates stored image metadata as new vulnerability data becomes available, so an unchanged image can receive different findings.

**Why can Docker Scout severity ratings differ from another scanner?**

Scout prioritizes severity data from the vendor matching the package and version, such as Debian data for Debian packages. It falls back to NIST scoring when the vendor does not provide scoring data.

