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 整合