1. Conduid
  2. AI
  3. io.github.darrenjrobinson/hibp
MCP server · AI

io.github.darrenjrobinson/hibp

A Model Context Protocol (MCP) server for the Have I Been Pwned (HIBP) API

Unclaimed ai
37Low

Scored 6 months ago · breakdown

About io.github.darrenjrobinson/hibp

io.github.darrenjrobinson/hibp is an MCP server published by darrenjrobinson in the AI category: a Model Context Protocol (MCP) server for the Have I Been Pwned (HIBP) API.

The repository has 5 stars and 4 forks, with the last commit 9 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

Claude Code
claude mcp add io-github-darrenjrobinson-hibp -- npx -y @darrenjrobinson/hibp-mcp
npx
npx -y @darrenjrobinson/hibp-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about io.github.darrenjrobinson/hibp

Powered by Claude · Grounded in docs

I know everything about io.github.darrenjrobinson/hibp. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

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

GitHub Repo

NPM Package

Blog

Installation & Configuration

Option 1: NPM Installation (Recommended)

  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:
{
  "mcpServers": {
    "HIBP-MCP": {
      "command": "npx",
      "args": ["-y", "@darrenjrobinson/hibp-mcp"],
      "env": {
        "HIBP_API_KEY": "<your-hibp-api-key>",
        "HIBP_SUBSCRIPTION_PLAN": "Pwned 1"
      }
    }
  }
}

Option 2: Local Development

  1. Clone this repository:
git clone https://github.com/darrenjrobinson/HIBP-MCP-Server.git
  1. Install dependencies:
cd HIBP-MCP-Server
npm install
  1. Build the project:
npm run build
  1. Configure your MCP client with:
{
  "mcpServers": {
    "HIBP-MCP": {
      "command": "node",
      "args": ["path/to/hibp-mcp/build/main.js"],
      "env": {
        "HIBP_API_KEY": "<your-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

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

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

Darren J Robinson

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About io.github.darrenjrobinson/hibp

How do I install io.github.darrenjrobinson/hibp?

Run claude mcp add io-github-darrenjrobinson-hibp -- npx -y @darrenjrobinson/hibp-mcp, then add the server to your MCP client's configuration.

Is io.github.darrenjrobinson/hibp safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is io.github.darrenjrobinson/hibp still maintained?

Yes — the last commit was 9 days ago. The repository has 5 stars and 4 forks.