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

qpher-mcp

v0.3.1

Published

Qpher PQC API (ML-KEM-768, ML-DSA-65) — Model Context Protocol server for AI coding assistants. Encrypt, sign, and manage quantum-safe keys.

Readme

qpher-mcp — Qpher PQC API for AI Coding Assistants

Model Context Protocol (MCP) server that lets AI coding assistants (Claude Code, Cursor, GitHub Copilot) interact with Qpher post-quantum cryptography APIs directly.

Prerequisites

You need a Qpher API Key before setting up the MCP server:

  1. Sign up at qpher.ai
  2. Go to portal.qpher.ai → API Keys
  3. Create a new API key (format: qph_live_...)

Free plan includes 100 PQC operations/month.

Quick Setup

Claude Code

claude mcp add qpher -- npx qpher-mcp -e QPHER_API_KEY=qph_live_<your-key>

Or manually add to your Claude Code MCP settings (~/.claude.json or project .mcp.json):

{
  "mcpServers": {
    "qpher": {
      "command": "npx",
      "args": ["qpher-mcp"],
      "env": {
        "QPHER_API_KEY": "qph_live_<your-key>"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "qpher": {
      "command": "npx",
      "args": ["qpher-mcp"],
      "env": {
        "QPHER_API_KEY": "qph_live_<your-key>"
      }
    }
  }
}

Windsurf / Other MCP-Compatible Editors

Use the same JSON config format — set command to npx, args to ["qpher-mcp"], and provide QPHER_API_KEY in env.

Available Tools (16)

KEM (Encryption)

| Tool | Description | |------|-------------| | qpher_encrypt | Encrypt data using Kyber768 or X-Wing KEM-DEM | | qpher_decrypt | Decrypt data using Kyber768 | | qpher_encapsulate | Raw KEM encapsulation (shared secret + ciphertext) | | qpher_decapsulate | Raw KEM decapsulation (recover shared secret) | | qpher_wrap_key | Wrap a symmetric key with quantum-safe KEM | | qpher_unwrap_key | Unwrap a previously wrapped symmetric key |

Signatures

| Tool | Description | |------|-------------| | qpher_sign | Sign data using Dilithium3 or Composite-ML-DSA | | qpher_verify | Verify a PQC digital signature | | qpher_sign_hash | Sign a pre-computed hash (SHA-256/384/512) | | qpher_verify_hash | Verify a hash signature |

Key Management

| Tool | Description | |------|-------------| | qpher_generate_key | Generate a new PQC key pair | | qpher_rotate_key | Rotate a key (creates new, retires old) | | qpher_list_keys | List PQC keys with optional filters | | qpher_get_active_key | Get the current active key for an algorithm | | qpher_retire_key | Retire a key version | | qpher_archive_key | Archive a retired key |

Available Resources (3)

| Resource | URI | Description | |----------|-----|-------------| | Quickstart | qpher://docs/quickstart | Getting started guide | | Error Codes | qpher://docs/error-codes | Error code reference | | API Overview | qpher://docs/api-overview | Endpoints, algorithms, formats |

Example Usage

Once configured, ask your AI assistant in natural language:

  • "Encrypt this data with Qpher PQC encryption"
  • "Generate a Kyber768 key pair"
  • "Sign this document with Dilithium3"
  • "List my PQC keys"
  • "Wrap this AES-256 key with quantum-safe encryption"
  • "Sign this SHA-256 hash"

The AI will use the Qpher MCP tools to execute these operations directly.

Configuration

| Environment Variable | Required | Default | Description | |---------------------|----------|---------|-------------| | QPHER_API_KEY | Yes | — | Qpher API key (format: qph_live_*) | | QPHER_API_BASE_URL | No | https://api.qpher.ai | API base URL |

How It Works

You ──► AI Assistant ──► qpher-mcp (local) ──► api.qpher.ai (cloud)
           (Claude)       MCP Server             Qpher PQC API
                          via stdio               via HTTPS
  1. The MCP server runs locally on your machine as a subprocess
  2. Your AI assistant communicates with it via JSON-RPC over stdin/stdout
  3. The MCP server translates tool calls into HTTPS API requests to Qpher's cloud

Your private keys never leave Qpher's secure infrastructure.

Links

License

MIT