Hibp
v0.2.1Have 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.
| Parameter | Type | Description |
|---|---|---|
password * | string | Password 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.
| Parameter | Type | Description |
|---|---|---|
sha1_prefix * | string | 5 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.
| Parameter | Type | Description |
|---|---|---|
domain | string | Restrict 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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Breach 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.
| Parameter | Type | Description |
|---|---|---|
account * | string | Email address |
truncate | boolean | Return only breach names (default true). Set false for full breach objects (counts as 1 query). |