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

@lazymac/dev-crypto-toolkit

v1.0.0

Published

Developer cryptography utilities REST API + MCP server

Readme

lazymac API Store Gumroad MCPize

dev-crypto-toolkit

Developer cryptography utilities — REST API + MCP server.

All operations use Node.js built-in crypto module. No external APIs, no secrets leave your machine.

Features

  • JWT — Decode tokens (inspect header/payload without verification)
  • Hash — MD5, SHA1, SHA256, SHA512, HMAC
  • Base64 — Encode / Decode
  • URL — Encode / Decode
  • UUID — v4 generation (bulk)
  • Password — Generation with configurable length & complexity
  • Random — Cryptographically secure hex/bytes/base64
  • Password Hashing — PBKDF2-SHA512 hash & verify
  • Timestamp — Unix ↔ ISO ↔ human readable conversion
  • String Encoding — ROT13, Caesar cipher

Quick Start

npm install
npm start        # REST API on http://localhost:4300
npm run mcp      # MCP server (stdio)

Docker

docker build -t dev-crypto-toolkit .
docker run -p 4300:4300 dev-crypto-toolkit

API Endpoints

| Method | Endpoint | Description | |--------|----------|-------------| | POST | /api/v1/jwt/decode | Decode JWT token | | POST | /api/v1/hash | Hash string (md5/sha1/sha256/sha512/hmac) | | POST | /api/v1/base64/encode | Base64 encode | | POST | /api/v1/base64/decode | Base64 decode | | POST | /api/v1/url/encode | URL encode | | POST | /api/v1/url/decode | URL decode | | GET | /api/v1/uuid?count=5 | Generate UUIDs | | GET | /api/v1/password?length=16&count=5 | Generate passwords | | POST | /api/v1/password/hash | Hash password (PBKDF2) | | POST | /api/v1/password/verify | Verify password hash | | GET | /api/v1/random?bytes=32&format=hex | Random bytes | | POST | /api/v1/timestamp | Convert timestamps | | POST | /api/v1/encode/rot13 | ROT13 | | POST | /api/v1/encode/caesar | Caesar cipher |

MCP Configuration

Add to your MCP client config:

{
  "mcpServers": {
    "dev-crypto-toolkit": {
      "command": "node",
      "args": ["/path/to/dev-crypto-toolkit/src/mcp-server.js"]
    }
  }
}

Examples

# Decode JWT
curl -s -X POST http://localhost:4300/api/v1/jwt/decode \
  -H 'Content-Type: application/json' \
  -d '{"token":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.dozjgNryP4J3jVmNHl0w5N_XgL0n3I9PlFUP0THsR8U"}'

# SHA256 hash
curl -s -X POST http://localhost:4300/api/v1/hash \
  -H 'Content-Type: application/json' \
  -d '{"text":"hello world","algorithm":"sha256"}'

# Generate 5 UUIDs
curl -s 'http://localhost:4300/api/v1/uuid?count=5'

# Generate passwords
curl -s 'http://localhost:4300/api/v1/password?length=24&count=3'

# Timestamp conversion
curl -s -X POST http://localhost:4300/api/v1/timestamp \
  -H 'Content-Type: application/json' \
  -d '{"timestamp":1700000000}'

License

MIT