
darrenjrobinson/hibp-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
A Model Context Protocol (MCP) server for the Have I Been Pwned (HIBP) API that allows you to query breach data using natural language.
개요
A Model Context Protocol (MCP) server for the Have I Been Pwned (HIBP) API that allows you to query breach data using natural language. 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. 1. Install Node.js (v22.10.0 or higher recommended) 2. Get your HIBP API key from https://haveibeenpwned.com/API/Key 3. Configure your MCP client (e.g., Claude Desktop ) with: Once configured, you can ask Claude natural language questions about data breaches. Here are some examples: - "Has email address [email protected] appeared in any data breaches?" - "What breaches contain the email address [email protected]?" - "Show me all breaches for test@example.
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"
}
}
}
}