Hibp

v0.2.1
io.github.pipeworx-io/hibp Checked 3 days ago Published 1 month ago

Have I Been Pwned MCP

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_password

Check whether a password appears in known breach corpora. Uses k-anonymity: the password is SHA-1ed locally, only the first 5 hex chars leave the worker, and the response is filtered to match the rest. Returns pwned count (0 = not seen). The password itself is never transmitted.

ParameterTypeDescription
password *stringPassword to check (stays inside the worker)

check_password_prefix

Direct k-anonymity lookup: pass the first 5 hex chars of a SHA-1 password hash, get back all SHA-1 suffixes with their pwned counts. Use this if you're hashing client-side and only want to send the prefix.

ParameterTypeDescription
sha1_prefix *string5 hexadecimal characters

list_breaches

List all publicly-known data breaches catalogued by HIBP. Optionally filter to a specific domain (e.g., "linkedin.com"). Returns name, title, breach date, added date, affected accounts, description, data classes exposed, and verification status.

ParameterTypeDescription
domainstringRestrict to a specific breached domain

get_breach

Fetch a single breach by name (the "Name" field from list_breaches, e.g., "Adobe", "LinkedIn"). Returns full breach metadata.

ParameterTypeDescription
name *stringBreach name (case-sensitive)

list_data_classes

Canonical list of HIBP "data class" tags (e.g., "Email addresses", "Passwords", "Geographic locations"). Useful for filtering breaches.

check_account

Look up breaches an email account has been seen in. REQUIRES a paid HIBP subscription key (pass _apiKey). Returns the set of breach names; combine with get_breach for details.

ParameterTypeDescription
account *stringEmail address
truncatebooleanReturn only breach names (default true). Set false for full breach objects (counts as 1 query).