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

elemenote-cli

v0.3.0

Published

CLI to set up Elemenote in an existing project.

Readme

elemenote-cli

CLI to set up Elemenote in an existing project.

npx elemenote-cli@latest init

Also works with pnpm dlx elemenote-cli@latest init and bunx elemenote-cli@latest init.

After install, the local bin is elemenote:

elemenote init
elemenote init --help

What it does

Interactive wizard (each prompt has a matching flag):

  1. CLI language (en / pt)
  2. Setup: Next.js, React, TanStack Start, or Script tag
  3. Optional MCP configuration for Cursor, Claude Code, or VS Code
  4. Optional Elemenote skills under .agents/skills/elemenote/

The CLI installs the right package and prints a paste-ready snippet for your setup. It does not edit your layout files. For Next.js, the first snippet wraps next.config with withElemenote (host ids; the extension is the editor). Mounting <Elemenote /> is optional.

Non-interactive

npx elemenote-cli@latest init --defaults
npx elemenote-cli@latest init --setup react --mcp-host vscode,claude --skills --yes

--defaults installs packages and skills. It does not write MCP config unless you pass --mcp-host. Using --mcp without --mcp-host fails (no editor is assumed).

| Flag | Description | |------|-------------| | --lang en\|pt | CLI language | | --setup next\|react\|tanstack\|script | Install target | | --mcp / --no-mcp | Write MCP configuration | | --mcp-host <hosts> | Editors: cursor, claude, vscode (aliases: both, all). Required when MCP is on | | --skills / --no-skills | Elemenote skills | | -y, --yes | Skip confirmation (and remaining prompts) | | -d, --defaults | Skip wizard | | -f, --force | Overwrite existing MCP entry and skills | | -c, --cwd <path> | Working directory |

MCP editors

| Editor | Project file | |--------|----------------| | Cursor | .cursor/mcp.json | | Claude Code | .mcp.json | | VS Code | .vscode/mcp.json |

Run init in the app that mounts Elemenote (your Next.js site, not the elemenote library repo). That writes .cursor/mcp.json next to your app with cwd and env.ELEMENOTE_AGENT_WORKSPACE set to ${workspaceFolder} so Run agent opens in your project.

Bridge settings (ELEMENOTE_MCP_BRIDGE_PORT, ELEMENOTE_MCP_BRIDGE_TOKEN) belong in the project .env / .env.localelemenote-mcp loads them at boot. Cursor does not read .env into mcp.json; keep that file minimal.

Other editors (global only): Claude Desktop, Windsurf, Codex. See https://elemenote.io/docs/mcp

Docs

https://elemenote.io/docs

License

MIT