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

@nefesh/cli

v1.2.0

Published

Official CLI for the Nefesh API. Ingest signals, query state, setup MCP.

Readme

@nefesh/cli

Official CLI for the Nefesh API. Ingest biometric signals, query human state, manage API keys, and auto-setup MCP for AI agents.

Install

npm install -g @nefesh/cli

Or run without installing:

npx @nefesh/cli state my-session --json

Quick start

# Save your API key
nefesh auth login --key nfsh_free_...

# Send a signal
nefesh ingest --session test-001 --heart-rate 72 --tone calm

# Get the state
nefesh state test-001
# State: relaxed | Score: 34 | Action: maintain_engagement

# JSON output (for AI agents)
nefesh state test-001 --json

Commands

| Command | Description | |---|---| | nefesh auth login --key KEY | Save API key | | nefesh auth status | Show current key | | nefesh auth logout | Remove saved key | | nefesh ingest --session ID --heart-rate 72 | Send biometric signals | | nefesh state SESSION_ID | Get current state | | nefesh history SESSION_ID | Get state history with trend | | nefesh triggers SUBJECT_ID | Get trigger memory profile | | nefesh delete SUBJECT_ID --confirm | GDPR cascading deletion | | nefesh simulate --scenario stressed | Stream test data for 2 minutes | | nefesh setup cursor | Auto-configure MCP for Cursor | | nefesh setup claude-code | Auto-configure MCP for Claude Code | | nefesh setup vscode | Auto-configure MCP for VS Code |

JSON output

Every command supports --json for machine-readable output. AI agents running in the terminal use this:

nefesh state test-001 --json
# {"state":"stressed","stress_score":68,"suggested_action":"de-escalate_and_shorten",...}

Simulate

Stream realistic test data without real sensors:

nefesh simulate --scenario stressed --session demo
# [0s]  stressed      █████████████░░░░░░░ 68
# [2s]  stressed      ██████████████░░░░░░ 72
# [4s]  stressed      █████████████░░░░░░░ 65

Scenarios: calm, relaxed, focused, stressed, acute_stress.

MCP setup

Auto-configure Nefesh for any MCP-compatible AI agent:

nefesh setup cursor            # ~/.cursor/mcp.json
nefesh setup claude-desktop    # ~/Library/.../Claude/claude_desktop_config.json
nefesh setup claude-code       # .mcp.json
nefesh setup vscode            # .vscode/mcp.json
nefesh setup windsurf          # ~/.codeium/windsurf/mcp_config.json
nefesh setup kiro              # ~/.kiro/mcp.json
nefesh setup openclaw          # ~/.config/openclaw/mcp.json
nefesh setup cline             # ~/.cline/cline_mcp_settings.json
nefesh setup roo-code          # .roo/mcp.json
nefesh setup claude-desktop-win # (Windows) ~/AppData/Roaming/Claude/...

Environment variables

| Variable | Description | |---|---| | NEFESH_API_KEY | API key (overrides saved key) | | NEFESH_API_URL | Custom API URL (default: https://api.nefesh.ai) |

Get an API key

Free tier: 1,000 calls/month, no credit card.

# Option A: Sign up
open https://nefesh.ai/signup

# Option B: Your AI agent gets one automatically
nefesh setup cursor  # Connect without key, agent uses request_api_key tool

License

MIT