
用于Have I Been Pwned(HIBP) API的模型上下文协议(MCP)服务器,允许您使用自然语言查询破损数据.
概览
用于Have I Been Pwned(HIBP) API的模型上下文协议(MCP)服务器,允许您使用自然语言查询破损数据. 这个MCP服务器提供了与"我曾经被Pwned API"互动的工具,允许您: - 检查电子邮件地址是否出现数据漏洞 - 获取具体漏洞的细节 - 检查已知数据漏洞中是否有密码被曝光 - 检查电子邮件地址是否出现在粘贴中 您的浏览器不支持视频标签 。 1. 安装节点.js(v22.1.0或更高建议) 2. 从 [[T0] 获取您的 HIBP API 密钥 3. 配置您的 MCP 客户端( 如 Claude 桌面) : 一旦配置,你可以向克洛德询问有关数据被破坏的自然语言问题. 以下是一些例子: - “电子邮件地址测试@example.com是否出现在任何数据漏洞中?”.
概述(AI 翻译)
用于Have I Been Pwned(HIBP) API的模型上下文协议(MCP)服务器,允许您使用自然语言查询破损数据.
□ 概览
这个MCP服务器提供了与"我曾经被Pwned API"互动的工具,允许您:
- 检查电子邮件地址是否有数据漏洞
- 了解具体违法行为的细节
- 检查在已知数据被破坏时密码是否已被曝光
- 检查邮件地址是否出现在粘贴中
GitHub 重现
国家防范机制一揽子计划
博客
您的浏览器不支持视频标签 。
□ 安装和配置
备选1:国家预防机制的安装(建议)
- 安装节点.js (v22.10.0或以上建议)
- 从 [[T0] 获取您的 HIBP API 密钥
- 配置您的 MCP 客户端( 如 Claude 桌面) :
备选2:地方发展
-
克隆此存储器:
-
安装依赖性:
-
建设项目:
-
配置您的 MCP 客户端 :
环境变量
名称 名称
|-|-|-.
HIBP_API_KEY 您的API 密钥
□ 用法实例
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Have I Been Pwned MCP Server
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
Your browser does not support the video tag.
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:
{
"mcpServers": {
"HIBP-MCP": {
"command": "npx",
"args": ["-y", "@darrenjrobinson/hibp-mcp"],
"env": {
"HIBP_API_KEY": "",
"HIBP_SUBSCRIPTION_PLAN": "Pwned 1"
}
}
}
}
Option 2: Local Development
- Clone this repository:
git clone https://github.com/darrenjrobinson/HIBP-MCP-Server.git
- Install dependencies:
cd HIBP-MCP-Server
npm install
- Build the project:
npm run build
- Configure your MCP client with:
{
"mcpServers": {
"HIBP-MCP": {
"command": "node",
"args": ["path/to/hibp-mcp/build/main.js"],
"env": {
"HIBP_API_KEY": "",
"HIBP_SUBSCRIPTION_PLAN": "Pwned 1"
}
}
}
}
Environment Variables
| Name | Description |
|---|---|
HIBP_API_KEY |
Your Have I Been Pwned API key |
HIBP_SUBSCRIPTION_PLAN |
Your HIBP API subscription plan (Pwned 1, Pwned 2, Pwned 3, Pwned 4, or Pwned 5) |
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
安装
npx -y @darrenjrobinson/hibp-mcp配置
{
"mcpServers": {
"HIBP-MCP": {
"command": "npx",
"args": ["-y", "@darrenjrobinson/hibp-mcp"],
"env": {
"HIBP_API_KEY": "<your-hibp-api-key>",
"HIBP_SUBSCRIPTION_PLAN": "Pwned 1"
}
}
}
}