[Integrations](https://spiral.ai/integrations) › [Cursor](https://spiral.ai/integrations/cursor) › [Docker Hub repository details](https://spiral.ai/integrations/cursor/docker-hub-repository-details)

# How to Use Docker Hub repository details in Cursor

Returns metadata and README content for one Docker Hub repository. Use it to understand an image's purpose and documented usage after finding a candidate.

|  |  |
| --- | --- |
| Model | Docker Hub repository details |
| 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 repository details in Cursor

- Use Docker Hub repository details for library/nginx and compare its README guidance with our Dockerfile. Draft a note listing the documented requirements relevant to this project.
- Use Docker Hub repository details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Docker Hub repository details and tell me what changed since last week.
- Check Docker Hub repository details and summarize what you find in three bullet points.
- Pull the newest data from Docker Hub repository details and give me the result as a table.

## How to set up Docker Hub repository details in Cursor

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to Cursor on the console's Agents & MCP page, or add this to `.cursor/mcp.json` (one project) or `~/.cursor/mcp.json` (every project):

```json
{
  "mcpServers": {
    "spiral": { "url": "https://api.spiral.ai/mcp" }
  }
}
```

2. **Sign in**: Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

### Use the Spiral skill

1. **Send Cursor 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 repository details**: 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/get_repository",
    "input": {
      "url": "<url>"
    }
  }'
```

Then paste one of the prompts above: Cursor finds Docker Hub repository details on Spiral, shows the price and runs it.

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

## Docker Hub repository details tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | A Docker Hub repository page URL (`https://hub.docker.com/_/nginx` or `https://hub.docker.com/r/grafana/grafana`); exclusive with `repository`. |
| namespace |  | library | Docker Hub namespace: an organization or user name; `library` for Docker Official Images. Pattern: ^[a-z0-9]+(?:[._-][a-z0-9]+)*$. |
| repository |  | — | Repository name within the namespace (e.g. `nginx`, `grafana`). Pattern: ^[a-z0-9]+(?:[._-][a-z0-9]+)*$. |

## What can you do with Docker Hub repository details in Cursor?

Prepare an image change proposal with Docker Hub evidence beside the project's container references. A coding agent can turn repository documentation, publisher context, catalog categories, tags, and reported vulnerabilities into review notes.

### 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.

### Prepare an image review record

For grafana/grafana, assemble the publisher profile, repository documentation, selected tag's platform digests, and reported vulnerability counts. Give reviewers the publisher context and exact image references behind a proposed deployment.

### Assess an image upgrade

Read the nginx repository documentation and compare available tags. Inspect candidate tags for platform digests and sizes, then compare Docker Scout severity counts before preparing an upgrade proposal.

## Overview

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

## Docker Hub repository details in other agents

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

## More Cursor guides

- [Docker Hub publisher repositories](https://spiral.ai/integrations/cursor/docker-hub-publisher-repositories)
- [Docker Hub repository tags](https://spiral.ai/integrations/cursor/docker-hub-repository-tags)
- [Docker Hub publisher profile](https://spiral.ai/integrations/cursor/docker-hub-publisher-profile)
- [ElevenLabs API endpoint reference](https://spiral.ai/integrations/cursor/elevenlabs-api-endpoint-reference)
- [Docker Hub image vulnerability summary](https://spiral.ai/integrations/cursor/docker-hub-image-vulnerability-summary)
- [ElevenLabs Help Center search](https://spiral.ai/integrations/cursor/elevenlabs-help-center-search)

## Questions about Docker Hub repository details in Cursor

**Can Cursor use Docker Hub repository details?**

Yes. Add Spiral to Cursor as an MCP server, and Cursor can find and run Docker Hub repository details like any built-in tool.

**How much does Docker Hub repository details cost in Cursor?**

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

**Do I need an Alexandria account to use Docker Hub repository details in Cursor?**

No. Spiral runs Docker Hub repository 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 Docker Hub repository details in Cursor?**

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

**Does Cursor wait while Docker Hub repository details runs?**

Docker Hub repository details runs in the background. Cursor 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.

