Docker Hub API and MCP server for AI agents
Let Claude, ChatGPT or your own agent read Docker Hub. No Docker Hub API key needed.
Add to your agent
Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.
Read https://bowmark.ai/sites/hub_docker_com.md and add Bowmark's Docker Hub MCP server to my agent.Run this in a terminal, then sign in when the browser opens. Claude Code keeps its own sign-in (a claude.ai sign-in does not carry over), so add only this one server. Adding the Bowmark plugin as well lists every tool twice.
claude mcp add --transport http bowmark-hub-docker-com https://api.bowmark.ai/mcp/site/hub_docker_comPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-hub-docker-com": {
"url": "https://api.bowmark.ai/mcp/site/hub_docker_com"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-hub-docker-com","type":"http","url":"https://api.bowmark.ai/mcp/site/hub_docker_com"}'Run this in a terminal.
codex mcp add bowmark-hub-docker-com --url https://api.bowmark.ai/mcp/site/hub_docker_comIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/hub_docker_comIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/hub_docker_comAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/hub_docker_comFunctions
Open a function to see its parameters and run it with your own API key.
listTagsLists the tags of one public Docker Hub repository, newest first, with digest, size, last-updated and platforms, from the documented /v2/repositories…POST /v1/sites/hub_docker_com/listTags
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/hub_docker_com/listTags \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"repository":"nginx"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.hub_docker_com.listTags("nginx");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.hub_docker_com.listTags("nginx"))Responsereturns hub_docker_comTagPageinterface hub_docker_comTag { name: string; digest: string | null; sizeBytes: number | null; lastUpdated: string | null; // ISO timestamp platforms: string[]; // os/arch[/variant] } interface hub_docker_comTagPage { results: hub_docker_comTag[]; total: number | null; // the site's own count page: number; pageCount: number | null; returned: number; warnings: string[]; }searchRepositoriesSearches public Docker Hub repositories by name or keyword and returns a page (name, description, pulls, stars, official flag) with the site's own…POST /v1/sites/hub_docker_com/searchRepositories
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/hub_docker_com/searchRepositories \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"nginx"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.hub_docker_com.searchRepositories("nginx");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.hub_docker_com.searchRepositories("nginx"))Responsereturns hub_docker_comRepoPageinterface hub_docker_comRepo { name: string; description: string | null; pulls: number | null; stars: number | null; official: boolean; // Docker Official Image automated: boolean; url: string; } interface hub_docker_comRepoPage { results: hub_docker_comRepo[]; total: number | null; // the site's own count page: number; pageCount: number | null; returned: number; warnings: string[]; }