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

@livhana/age-gate-mcp

v18.0.34

Published

MCP server for 21+ age verification and 50-state hemp compliance. Fail-closed, zero dependencies beyond MCP SDK.

Readme

@livhana/age-gate-mcp

MCP server for 21+ age verification and 50-state hemp/cannabis compliance. Fail-closed design -- access denied by default.

Tools

| Tool | Description | |------|-------------| | verify_age | Check if a birth date passes the 21+ minimum age requirement | | check_state | State-level hemp compliance check (legality, THC limits, smokable bans, online sales) | | compliance_matrix | Full 50-state + DC compliance matrix | | age_gate_snippet | Generate embeddable HTML/JS age gate for licensee websites |

Install

npm install -g @livhana/age-gate-mcp

Configure (Claude Desktop)

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "age-gate": {
      "command": "npx",
      "args": ["-y", "@livhana/age-gate-mcp"]
    }
  }
}

Configure (Cursor / VS Code)

Add to your MCP settings:

{
  "age-gate": {
    "command": "npx",
    "args": ["-y", "@livhana/age-gate-mcp"]
  }
}

Transport Modes

Set the MCP_TRANSPORT environment variable:

| Value | Description | Default | |-------|-------------|---------| | stdio | Standard I/O (CLI/IDE integration) | Yes | | http | Streamable HTTP on MCP_PORT (default 3101) | No | | sse | Server-Sent Events on MCP_PORT (default 3101) | No |

Usage Examples

Verify Age

Use the verify_age tool with birth_year=1990, birth_month=6, birth_day=15

Check State Compliance

Use the check_state tool with state=TX, product_type=flower

Generate Age Gate for a Website

Use the age_gate_snippet tool with business_name="My Hemp Shop", state=TX, license_number="DSHS #690"

Compliance

  • Fail-closed: if verification fails or data is invalid, access is denied
  • Conservative age calculation: if birth month/day are omitted, assumes birthday has not occurred yet this year
  • State-specific minimums: most states require 21+, configurable per jurisdiction
  • COA requirements and smokable bans tracked per state

Source

Built by Reggie & Dro LLC. Compliance data from the CRAFT framework.

License

MIT