OnionLens. MCP tools

Check an
onion address.

Ready to check.

How offline validation works.

curl -sS https://onionlens.org/api/v1/onion/validate \
  -H 'Content-Type: application/json' \
  --data '{"address":"pjzhmrhqlmjvhb5eeqmgnil7oztrbqkt45hay4zsvj5e6dblnfezopyd.onion"}'

56 base32 characters = 35 raw bytes. Every v3 .onion address packs three fields in order: a 32-byte Ed25519 public key, a two-byte SHA3-256 checksum, and a one-byte version number (3). This checker unpacks all three fields and recalculates SHA3-256(".onion checksum" + public_key + 0x03) locally to catch typos, with zero network traffic. You can also call it through validate_onion_address on the MCP endpoint, or use /demo/api/v1/onion/validate for pre-tagged test runs. Full details live in the Tor v3 address specification.