docker-hub-mcp
Provides tools for querying Docker Hub image statistics, including pulls, stars, descriptions, official/verified status, and publisher catalogs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@docker-hub-mcpCompare pull counts for nginx, httpd, and caddy"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Docker Hub MCP Server
A Model Context Protocol (MCP) server for querying Docker Hub image statistics. Provides pull counts, star counts, descriptions, official/verified status, and publisher catalogs through the public Docker Hub API — no API key required.
Features
get_image_stats(image)— single image metadata (pulls, stars, last_updated, description, is_official, is_verified)search_images(query, limit)— keyword search across Docker Hubbatch_image_stats(images)— concurrent lookup for up to 100 imagesget_publisher_images(publisher, limit)— catalog all images from a namespace (e.g.library,bitnami,grafana)
Related MCP server: mcp-github-server
Installation
uv (recommended)
uvx docker-hub-mcppip
pip install docker-hub-mcp
docker-hub-mcpConfiguration
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"docker-hub-mcp": {
"command": "uvx",
"args": ["docker-hub-mcp"]
}
}
}Cursor / VS Code
Add to your MCP configuration:
{
"mcpServers": {
"docker-hub-mcp": {
"command": "uvx",
"args": ["docker-hub-mcp"]
}
}
}Hermes Agent (MCP Gateway)
Add to ~/.hermes/gateway.yaml:
docker-hub-mcp:
command: uvx docker-hub-mcp
lazy_spawn: true
timeout: 30s
env: {}Tools
Tool | Description | Key Params |
| Pull count, star count, last updated, description, official/verified status |
|
| Keyword search, ranked results |
|
| Concurrent lookup of up to 100 images |
|
| All images in a namespace |
|
Examples
# Get stats for nginx
get_image_stats({"image": "nginx"})
# → pull_count: 13.2B, star_count: 21K, is_official: true
# Search for postgres
search_images({"query": "postgres", "limit": 5})
# → ranked results with pulls, stars, official flags
# Batch compare web servers
batch_image_stats({"images": ["nginx", "httpd", "caddy", "traefik"]})
# Catalog a publisher
get_publisher_images({"publisher": "bitnami", "limit": 25})Data Source
Uses the Docker Hub API (/v2/repositories and /v2/search).
Auth: None required for public data
Rate limit: ~4,400 requests per 6 hours (unauthenticated)
Development
git clone https://github.com/GeniusTechnoMystic/docker-hub-mcp.git
cd docker-hub-mcp
uv sync
uv run docker-hub-mcpRun tests:
uv run pytest tests/License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityAmaintenanceDocker Helper MCP server that provides tools for automating Docker tasks such as generating Dockerfiles, parsing docker-compose files, and optimizing images.Last updated22MIT
- Flicense-qualityCmaintenanceA simple MCP server that provides repository information (list repos, get repo details) using GitHub's public REST API, without needing any API keys or tokens.Last updated
- Alicense-qualityDmaintenanceA production-ready Model Context Protocol (MCP) server that provides comprehensive DockerHub integration for AI assistants. This server enables AI assistants to search, analyze, and manage Docker images through standardized MCP tools.Last updatedMIT
- Alicense-qualityDmaintenanceA Model Context Protocol (MCP) server for querying OCI container registries. Provides tools and prompts for interacting with registries like Docker Hub, GHCR, and other OCI-compatible registries.Last updated2Apache 2.0
Related MCP Connectors
Docker Hub MCP — wraps the Docker Hub v2 API (free, no auth required for public data)
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
MCP server for accessing curated awesome list documentation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/GeniusTechnoMystic/docker-hub-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server