Have I Been Pwned

io.github.troyhunt由 GitHub 账号 troyhunt 发布v1.0.0更新于 Oct 24, 2026

Breach intelligence API: email search, domain monitoring, passwords and stealer logs.

发布方自己的服务:pwned.coffee

已验证Streamable HTTP可网页运行安全与监控

概览

AI 生成的概览

让助手查询 Have I Been Pwned 的泄露情报,包括邮箱、域名、密码和窃取日志。

可以做什么
这是一个远程 MCP 服务器,向助手开放 Have I Been Pwned 的泄露情报 API。根据注册表描述,它涵盖邮箱搜索、域名监控、密码和窃取日志。也就是说,助手可以查询某个邮箱是否出现在已知泄露事件中、检查域名层面的暴露情况,以及查询密码或窃取日志数据。
适用场景
适合在助手需要检查某个邮箱或域名是否出现在已知数据泄露中,或在安全与账号清理流程中查询密码和窃取日志暴露情况时使用。
运行要求
远程 streamable HTTP 端点,位于 haveibeenpwned.com;未声明任何软件包、环境变量或请求头。需要能访问该端点的网络。清单未声明身份验证,但实际使用中该服务可能仍要求 API 密钥。
安装前请注意
服务器会把你查询的邮箱、域名或密码发送给第三方服务,因此应把这些查询视为离开本地环境的数据。密码和窃取日志查询较为敏感;除非接受这种暴露,否则不要提交真实凭据。清单未声明凭据,但底层服务可能要求 API 密钥。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Have I Been Pwned,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.troyhunt%2Fhibp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "have-i-been-pwned": {
      "type": "http",
      "url": "https://haveibeenpwned.com/mcp"
    }
  }
}

工具

17

hibp_list_breaches

Have I Been Pwned - Breaches

List public HIBP breaches, optionally filtered by domain, spam-list flag, and verification status.

输入参数limitdomainoffsetisSpamListresponse_formatincludeUnverified

hibp_get_breach

Have I Been Pwned - Breach

Look up a single public HIBP breach by its canonical breach name, such as Adobe.

输入参数name必填response_format

hibp_get_latest_breach

Have I Been Pwned - Latest Breach

Return the most recently added public breach currently loaded into HIBP.

输入参数response_format

hibp_list_data_classes

Have I Been Pwned - Data Classes

List the data classes used across public HIBP breach models, such as email addresses or passwords.

输入参数response_format

hibp_get_pwned_passwords_range

Pwned Passwords Range Search

Query the public Pwned Passwords k-anonymity API with a 5-character SHA-1 or NTLM prefix and return matching suffixes with prevalence counts.

输入参数modelimitoffsetprefix必填addPaddingresponse_format

hibp_get_breached_account

Have I Been Pwned - Breached Account

Search HIBP for breaches affecting a single email address. Requires an OAuth bearer token linked to an active HIBP API subscription; use domain and verification filters to refine the result.

输入参数limitdomainoffsetaccount必填responseModeresponse_formatincludeUnverified

hibp_get_breached_account_range

Have I Been Pwned - Breached Account Range

Query the authenticated HIBP k-anonymity breached-account range endpoint with the first 6 characters of a SHA-1 email hash. Requires a subscription with k-anonymity access; compare each returned suffix with the remaining hash characters locally because a prefix alone cannot identify an account.

输入参数limitoffsetprefix必填response_format

hibp_get_paste_account

Have I Been Pwned - Paste Account

Search for public pastes containing a single email address. Requires an OAuth bearer token linked to an active HIBP API subscription; run this separately from breached-account lookup.

输入参数limitoffsetaccount必填response_format

hibp_get_breached_domain

Have I Been Pwned - Breached Domain

Return breached aliases for a verified domain. This tool requires an authorized subscription via OAuth bearer token.

输入参数limitdomain必填offsetresponse_format

hibp_list_subscribed_domains

Have I Been Pwned - Subscribed Domains

List the domains associated with the authenticated HIBP subscription.

输入参数limitoffsetresponse_format

hibp_get_subscription_status

Have I Been Pwned - Subscription Status

Return the current plan, quotas, rate limits, expiry, and feature flags for the active HIBP API subscription linked to the authenticated OAuth connection. Use it to confirm access before feature-dependent lookups.

输入参数response_format

hibp_get_stealer_logs_by_email

Have I Been Pwned - Stealer Logs by Email

Return website domains historically observed in stealer logs for an email address. Requires an OAuth-linked active subscription with the stealer-log feature; results do not establish current account access.

输入参数email必填limitoffsetresponse_format

hibp_get_stealer_logs_by_website_domain

Have I Been Pwned - Stealer Logs by Website Domain

Return email addresses historically observed in stealer logs for a website domain. Requires an OAuth-linked active subscription with the stealer-log feature; results do not establish current account access.

输入参数limitdomain必填offsetresponse_format

hibp_get_stealer_logs_by_email_domain

Have I Been Pwned - Stealer Logs by Email Domain

Return email aliases and associated website domains historically observed in stealer logs for an email domain. Requires an OAuth-linked active subscription with the stealer-log feature; results do not establish current account access.

输入参数limitdomain必填offsetresponse_format

hibp_generate_domain_verification_dns_token

Have I Been Pwned - Generate Domain Verification DNS Token

Generate the TXT record value required to verify domain control via DNS, creating or reusing the private HIBP domain-verification records needed for the request. Requires an authenticated subscription with domain-verification access.

输入参数domain必填response_format

hibp_verify_domain_verification_dns_token

Have I Been Pwned - Verify Domain Verification DNS Token

Complete domain verification by checking the expected HIBP TXT record on the target domain. Requires an authenticated subscription with domain-verification access.

输入参数domain必填response_format

hibp_send_domain_verification_email

Have I Been Pwned - Send Domain Verification Email

Send a domain verification email to an approved alias such as admin or security. Requires an authenticated subscription with domain-verification access.

输入参数domain必填emailAlias必填response_format

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 83%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。

其他 Pwned 集成