# Dockerhub MCP

> Dockerhub MCP is an open-source MCP server. Docker Hub: image search, details, tags with sizes and digests, and official image ranking. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/mrfentmen/awesome-servers
- **MCP Registry name:** io.github.mrfentmen/dockerhub-mcp
- **Listing updated:** 2026-11-13

## About

Docker Hub: image search, details, tags with sizes and digests, and official image ranking.

## Install

### Claude Code (Terminal)

```sh
claude mcp add dockerhub-mcp -- npx -y container-registry-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "dockerhub-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "container-registry-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "dockerhub-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "container-registry-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "dockerhub-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "container-registry-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "dockerhub-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "container-registry-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "dockerhub-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "container-registry-mcp"
      ]
    }
  }
}
```

## FAQ

### Is Dockerhub MCP free?

Yes. Dockerhub MCP is open source, so you can use and self-host it for free.

### How do I add Dockerhub MCP to Claude Code?

Run this command in your terminal: claude mcp add dockerhub-mcp -- npx -y container-registry-mcp

---
Source: https://ai-powered.com/mcp/dockerhub-mcp
