API & MCP
Everything a person can do on DNS + Certificate Explorer, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://dnscertificateexplorer.usefulweb.site/api/v1/calculate– run DNS + Certificate ExplorerGET https://dnscertificateexplorer.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
DNS + Certificate Explorer
Resolves A, AAAA, CNAME, MX, NS, TXT, CAA and SOA records, analyses e-mail spoofing protection (SPF lookups and "all" policy, DMARC policy and reporting, MTA-STS), fetches the live TLS certificate from the domain's public IP (issuer, SANs, expiry, key, chain, TLS version, browser trust) and lists recent certificates from Certificate Transparency logs via crt.sh.
| Field | Type | Default | Description |
|---|---|---|---|
domain (required) | text | — | Domain |
certificateTransparency | boolean | true | Include Certificate Transparency history (crt.sh, slower) |
Example request
example.com
curl -X POST https://dnscertificateexplorer.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"domain":"example.com","certificateTransparency":false}'
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://dnscertificateexplorer.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
dns_certificate_explorer - Local stdio connector:
node src/mcp-stdio.ts --tool=dns-certificate-explorer
{
"mcpServers": {
"dns-certificate-explorer": { "type": "http", "url": "https://dnscertificateexplorer.usefulweb.site/mcp" }
}
}