npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mcp-password-generator

v1.0.0

Published

MCP server for Password Generator Pro — generate cryptographically secure passwords and passphrases with custom rules

Downloads

132

Readme

mcp-password-generator

MCP server for Password Generator Pro — generate cryptographically secure passwords and passphrases with custom rules.

All randomness comes from Node.js crypto.randomBytesMath.random() is never used.

Installation

npm install -g mcp-password-generator

Or run directly without installing:

npx mcp-password-generator

Configuration

No API key or environment variables required. The server runs entirely locally.

Claude Desktop configuration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "password-generator": {
      "command": "npx",
      "args": ["mcp-password-generator"]
    }
  }
}

Available tools

| Tool | Description | |------|-------------| | generate_password | Generate a secure password or passphrase with custom length, character sets, and mode |

Tool: generate_password

Inputs

| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | length | integer | 16 | Password length (1–512). Password mode only. | | include_uppercase | boolean | true | Include A–Z | | include_numbers | boolean | true | Include 0–9 | | include_symbols | boolean | true | Include !@#$%^&*()-_=+[]{}|;:,.<>? | | exclude_ambiguous | boolean | false | Exclude 0 O l 1 I | | mode | string | "password" | "password" or "passphrase" | | word_count | integer | 4 | Words in passphrase (1–20). Passphrase mode only. |

Output

{
  "password": "xK7!mQr#2vPw@9Lz",
  "entropy": 105.12,
  "strength": "Very Strong",
  "composition": {
    "uppercase": 4,
    "lowercase": 6,
    "numbers": 3,
    "symbols": 3
  },
  "summary": "Very Strong 16-char password | 105.12 bits entropy"
}

Strength ratings

| Entropy | Rating | |---------|--------| | < 40 bits | Weak | | 40–59 bits | Fair | | 60–79 bits | Strong | | 80+ bits | Very Strong |

Example usage

Generate a strong default password:

Generate a secure password for my new AWS account.

Claude will call generate_password with defaults and return a Very Strong 16-char password.

Long password with no ambiguous characters:

Create a 24-character password I can read aloud to someone — no ambiguous characters.

Claude will call generate_password with length: 24, exclude_ambiguous: true.

Memorable passphrase:

Make a passphrase I can actually remember.

Claude will call generate_password with mode: "passphrase". Use 8+ words for Strong entropy.

Symbols-free password for a legacy system:

The system doesn't accept special characters. Give me a 20-char password.

Claude will call generate_password with length: 20, include_symbols: false.

Entropy quick reference

| Configuration | Entropy | Strength | |--------------|---------|----------| | 8-char, all types | ~52 bits | Fair | | 16-char, all types | ~105 bits | Very Strong | | 24-char, all types | ~157 bits | Very Strong | | 4-word passphrase | ~30 bits | Weak | | 6-word passphrase | ~46 bits | Fair | | 8-word passphrase | ~61 bits | Strong | | 12-word passphrase | ~92 bits | Very Strong |

Links