API & MCP
Everything a person can do on Container Image Explorer, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://containerimageexplorer.usefulweb.site/api/v1/calculate– run Container Image ExplorerGET https://containerimageexplorer.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Container Image Explorer
Reads an image straight from its registry (Docker Hub, GHCR, Quay or any OCI registry with anonymous pull): the index and per-platform manifests, layer sizes, digest, and the config blob (creation date, user, environment variable names, OCI labels such as source and revision, build history). Flags root user, likely secrets in env / build args, end-of-life base distributions, missing provenance labels and whether a cosign signature is published.
| Field | Type | Default | Description |
|---|---|---|---|
image | text | — | Image reference |
platform | text | "linux/amd64" | Platform. os/arch[/variant] picked from multi-platform images. |
manifestJson | textarea | — | Or paste a manifest / index (JSON). Offline mode, e.g. output of `docker buildx imagetools inspect --raw <image>`. |
configJson | textarea | — | And its config blob (JSON). e.g. `crane config <image>` or `docker inspect` Config section. |
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://containerimageexplorer.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
container_image_explorer - Local stdio connector:
node src/mcp-stdio.ts --tool=container-image-explorer
{
"mcpServers": {
"container-image-explorer": { "type": "http", "url": "https://containerimageexplorer.usefulweb.site/mcp" }
}
}