我被黑了吗 MCP 服务器
模型上下文协议 (MCP) 服务器提供与Have I Been Pwned API 的集成,以检查您的帐户或密码是否在数据泄露中受到损害。
特征
该 MCP 服务器提供四个主要工具:
- check_email :检查数据泄露中是否发现了电子邮件地址
- check_password :检查密码是否在数据泄露中被泄露(使用 k-anonymity)
- get_breach_details :获取有关特定数据泄露的详细信息
- list_all_breaches :列出系统中的所有违规行为,可选择按域进行过滤
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 hibp-mcp-server:
先决条件
- Node.js(v14 或更高版本)
- npm(v6 或更高版本)
- Have I Been Pwned API 密钥(在haveibeenpwned.com/API/Key获取)
设置
- 克隆此存储库:
- 安装依赖项:
- 构建服务器:
- 在您的 MCP 设置文件中配置服务器:对于 Claude VSCode 扩展,添加到
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
:对于 Claude 桌面应用程序,添加到~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) 或其他平台上的类似路径。
使用示例
服务器配置完成后,您可以使用 Claude 检查数据泄露:
检查电子邮件
或者如果发现电子邮件存在违规行为:
检查密码
获取违规详情
列出所有违规行为
安全说明
- 密码检查功能使用 k-匿名来检查密码,而无需将完整密码发送到 Have I Been Pwned API
- 仅将密码 SHA-1 哈希的前 5 个字符发送到 API
- API 返回与前缀匹配的哈希后缀列表,校验在本地完成
API 密钥配置
此服务器需要 Have I Been Pwned API 密钥才能使用大部分功能(密码检查除外)。您可以在haveibeenpwned.com/API/Key获取 API 密钥。
API 密钥应作为 MCP 设置配置中名为HIBP_API_KEY
的环境变量提供。
执照
麻省理工学院
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
模型上下文协议 (MCP) 服务器提供与 Have I Been Pwned API 的集成,以检查您的帐户或密码是否在数据泄露中受到损害。
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that provides tools for searching and fetching information from Hacker News.Last updated -46PythonMIT License
- AsecurityAlicenseAquality🗂️ A Model Context Protocol (MCP) server that provides integration with Turso databases for LLMs. This server implements a two-level authentication system to handle both organization-level and database-level operations, making it easy to manage and query Turso databases directly from LLMs.Last updated -8266TypeScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol (MCP) server that interacts with system APIs, allowing users to check connections, search employees, register breakfast, and update chemical information by shifts.Last updated -2137JavaScript
- -securityFlicense-qualityA server that enables remote command execution over SSH through the Model Context Protocol (MCP), supporting both password and private key authentication.Last updated -JavaScript