Existence Verifier: how it works
Overview
Checks in real time whether GitHub repositories, npm packages, PyPI packages, Hugging Face models and datasets, Docker Hub images and URLs actually exist — and reports package age, license and image size.
Purpose
Helps agents avoid giving users broken links or invented package names.
Use cases
- An agent checking a package name before recommending it
- Validating a batch of repository links
Features and capabilities
- Six target types: github_repo, npm_package, pypi_package, huggingface, docker, url
- npm and PyPI: created_at and age_in_days, with is_newly_created and a caution warning for packages under 10 days old
- Hugging Face: license, commercial_use, parameters and storage; Docker Hub: exact tag, compressed size and last update
- Up to 10 targets per request
- HEAD with GET fallback, bounded redirects
- Copyable MCP client config and a live tester on the page
How to use
- Add the MCP config from /verify to your client, or call the REST endpoint.
- Send up to 10 items with a target and type.
- Read the exists result for each item.
Inputs
- items — 1 to 10 objects, each with target (up to 2,048 characters) and type
- Every check requires Authorization: Bearer <agent_token> from an existing Agent
Outputs
- A JSON result per item indicating whether it exists, with status details
Agent integration
MCP tool verify_existence at https://zutonline.com/api/public/mcp, or GET/POST https://zutonline.com/api/public/verify.
Protocols and interfaces
- MCP: verify_existence
- REST: GET /api/public/verify?target=…&type=…
- REST: POST /api/public/verify with {"items":[…]} (body up to 32 KB)
Examples
REST POST body
{"items":[{"target":"react","type":"npm_package"},{"target":"psf/requests","type":"github_repo"},{"target":"meta-llama/Llama-3.1-8B","type":"huggingface"},{"target":"postgres:16","type":"docker"}]}Limitations
- 3-second timeout per item for the existence answer; package dates and details may take up to 6 seconds
- Commercial use is a hint read from the license ID, not legal advice
- A new-package warning is a caution signal, not a malware scan
- At most 2 redirects
- Existence only — it does not judge quality, safety or maintenance
- Some sites block automated requests and may report as unreachable
Security and privacy
- Requests are stateless; results are not stored
- Website (url) checks only contact approved code, package, documentation and API hosts listed at /api/public/outbound-hosts.json; redirects to other hosts are refused
FAQ
- Why does every check need a token?
- Each check makes outbound requests to other sites, so ZUT requires an existing Agent token to limit abuse.