
Hibp
io.github.darrenjrobinson由 GitHub 账号 darrenjrobinson 发布v1.1.0更新于 Oct 24, 2026
A Model Context Protocol (MCP) server for the Have I Been Pwned (HIBP) API
概览
一个本地 MCP 服务器,让助手查询 Have I Been Pwned API,获取泄露账户、泄露事件详情、粘贴内容与已泄露密码。
- 可以做什么
- 检查某个邮箱地址是否出现在已知数据泄露中,可按域名筛选并选择是否包含未验证的泄露,响应可选择截断。按名称查询特定泄露事件的详情,列出所有已泄露站点,并列出泄露的数据类别。检查某个邮箱地址是否出现在粘贴内容中。检查密码是否已泄露,密码在本地哈希,仅发送哈希的前五个字符。
- 适用场景
- 适合在安全审查、事件排查或日常账户卫生检查中查询账户或密码是否泄露,并希望用自然语言提问而不直接调用 HIBP API 的场景。
- 运行要求
- 通过 npx 在本地运行,需要 Node.js(建议 v22.10.0 或更高版本)。需要在 HIBP_API_KEY 中提供 Have I Been Pwned API 密钥,并在 HIBP_SUBSCRIPTION_PLAN 中指定订阅方案(Pwned 1 至 Pwned 5)。需要能访问 HIBP API 的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Hibp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Have I Been Pwned MCP Server
[npm version] [npm downloads] [license]
A Model Context Protocol (MCP) server for the Have I Been Pwned (HIBP) API that allows you to query breach data using natural language.
Overview
This MCP server provides tools to interact with the Have I Been Pwned API, allowing you to:
- Check if an email address has been in a data breach
- Get details about specific breaches
- Check if a password has been exposed in known data breaches
- Check if an email address appears in pastes
Installation & Configuration
Option 1: NPM Installation (Recommended)
- Install Node.js (v22.10.0 or higher recommended)
- Get your HIBP API key from https://haveibeenpwned.com/API/Key
- Configure your MCP client (e.g., Claude Desktop ) with:
Option 2: Local Development
- Clone this repository:
- Install dependencies:
- Build the project:
- Configure your MCP client with:
Environment Variables
Usage Examples
Once configured, you can ask Claude natural language questions about data breaches. Here are some examples:
Checking Email Breaches
- "Has email address [email protected] appeared in any data breaches?"
- "What breaches contain the email address [email protected]?"
- "Show me all breaches for [email protected]"
Checking Specific Breaches
- "Tell me about the LinkedIn data breach"
- "What data was exposed in the Adobe breach?"
- "List all known data breaches"
Checking Passwords
- "Has the password 'Password123' been exposed in any breaches?"
- "Is my password 'MySecurePass2024' safe to use?"
- "Check if this password has been compromised: 'TestPass1234'"
Checking Pastes
- "Has [email protected] appeared in any pastes?"
- "Show me paste data for [email protected]"
Tools
HIBP-Breaches
Query breached accounts and breaches from the Have I Been Pwned API.
Parameters:
operation: The HIBP operation to perform (getAllBreachesForAccount, getAllBreachedSites, getBreachByName, getDataClasses)account: Email address to check for breaches (required for getAllBreachesForAccount)domain: Domain to filter breaches by (optional)name: Breach name to get details for (required for getBreachByName)includeUnverified: Whether to include unverified breaches (optional)truncateResponse: Whether to truncate the response (optional)
HIBP-Pastes
Query pastes containing account data from the Have I Been Pwned API.
Parameters:
account: Email address to check for pastes (required)
HIBP-PwnedPasswords
Check if a password has been exposed in data breaches using the Pwned Passwords API.
Parameters:
password: Password to check (will be hashed locally before sending and only the first 5 characters sent)
Security Note
Passwords checked through the HIBP-PwnedPasswords tool are never sent in plain text. They are hashed locally using SHA-1, and only the first 5 characters of the hash are sent to the API using k-anonymity.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT
Author
来源:Readme.MD,提交 ba087b6
工具
0版本历史
2- v1.1.0最新Oct 14, 2026
- v1.0.4Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分