Model Context Protocol (MCP) is a powerful framework that extends AI clients like Claude and now VSCode with GitHub Copilot Agents with custom capabilities. Think of MCPs as plugins that give AI assistants new abilities – they can interact with APIs, access specific data sources, or perform specialised tasks that aren’t part of their base functionality.
When learning new things, I like to build something that is relevant. The Have I Been Pwned (HIBP) service I’ve used before to check if email addresses or passwords have been compromised in data breaches. While HIBP has a nice front end (and a new one coming) I wanted to make this functionality more accessible through natural language interactions with Claude and natural language and learn how to write an MCP Server.
By creating an MCP server for HIBP, I can simply ask Claude questions like:
And Claude with my Have I Been Pwned MCP can directly query the HIBP APIs to provide answers.
The HIBP MCP Server acts as a bridge between Claude and the HIBP API. It:
Prerequisites
The easiest way to use the HIBP MCP is through NPM. Configure your Claude Desktop by going to Settings => Developer => Edit Config and enter the following in your ..\Claude\claude_desktop_config.json file:
{
"mcpServers": {
"HIBP-MCP": {
"command": "npx",
"args": ["-y", "@darrenjrobinson/hibp-mcp"],
"env": {
"HIBP_API_KEY": "<your-hibp-api-key>",
"HIBP_SUBSCRIPTION_PLAN": "Pwned 1"
}
}
}
}
Once configured, you can have natural conversations with Claude about data breaches:
You: Has test@example.com appeared in any data breaches?
Claude: Let me check that email address against the HIBP database…
You: What data was exposed in the Adobe breach?
Claude: I’ll look up the details of the Adobe breach…
You: Is my password ‘MySecurePass2024’ safe to use?
Claude: Let me check if this password has appeared in any known breaches…
The MCP Server provides three main tools:
All API calls respect HIBP’s rate limits based on your subscription plan.
This is an open-source project, and contributions are welcome. Whether it’s adding new features, improving documentation, or reporting bugs, check out the GitHub repository to get involved.
Today, I’m super excited to finally announce the Beta release of EntraPulse Lite – a…
I'm excited to share some significant authentication enhancements I've contributed to the Lokka MCP Server…
Last month I had the pleasure of speaking at the Sydney event for Global Azure.…
I've just completed participating in the Azure AI Developer Hackathon that was looking to provide…
Updated: July 2025 v1.0.2 Fixes issue setting D365SalesGlobals enabling session management for D365 Sales API…
Over the years I've written many an integration with identity sources. Dynamics 365 F&O though…
This website uses cookies.
View Comments