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.

Functions

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"}'
    Sign in to run
    Responsereturns hub_docker_comTagPage
    interface 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"}'
    Sign in to run
    Responsereturns hub_docker_comRepoPage
    interface 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[];
    }