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

@reikondev/cli

v0.7.3

Published

Reikon CLI — headless git repository analysis

Readme

rei

Headless CLI for Reikon — local-first git repository analysis and the terminal review loop.

It runs the same analyzers as the desktop app — health score, complexity, duplicate code, dead code, dependency audit, bus factor, commit quality — and brings the human↔agent loop to your shell: rei review and rei status work the flags and dispatch ledger, and rei mcp hosts Reikon's tools for a coding agent with no desktop app installed. No account, no upload — everything runs on your machine.

Install

npm install -g @reikondev/cli

Usage

rei analyze --path ./your-repo
Usage: rei <command> [options]

Commands:
  analyze           Analyze a git repository
  review            Work the review loop (list / reply / resolve / request-fix / send-back)
  status            Dispatch ledger — what's in flight across your repos
  mcp               Run the MCP server over stdio (for coding agents)

Options:
  --path, -p <dir>      Path to git repository (default: .)
  --format, -f <fmt>    Output format: json | html | summary (default: summary)
  --output, -o <file>   Output file (default: stdout for json/summary, reikon-report.html for html)
  --quiet, -q           Suppress progress output to stderr
  --no-cache            Skip cache, force fresh analysis
  --watch, -w           Re-run on every new commit
  --version, -v         Show version
  --help, -h            Show this help

Review loop

rei review and rei status bring Reikon's human↔agent review loop to the terminal — reading and mutating the same state as the desktop app and the MCP server, so a reply you make in the shell shows up in the desktop Review tab, and vice versa.

rei review                                # list in-flight flags + threads (--format json for agents)
rei review reply <id> "looks good"
rei review resolve <id>
rei review request-fix <id>               # the connected agent picks it up over MCP, fixes, returns
rei review send-back <id> "still leaks on the error path"
rei review --watch                        # live stream of flag/return changes

rei status                                # the dispatch ledger — returned / out / goals across repos
rei status --watch

Authoring goals and the visual substrate (ownership maps, hotspot charts) stay in the desktop app; the CLI is the loop's read + act surface.

Exit codes

rei analyze returns a real CI gate, in every output format (summary, json, html):

  • 0 — health at or above the warn threshold
  • 1 — below warn (warnings)
  • 2 — below the fail threshold, or an analysis error

Set the thresholds in .reikon/config.json (see Config); they default to warn 70, fail 50. Wire it straight into a CI step — a non-zero exit fails the job:

rei analyze --quiet

Config

Reads .reikon/config.json from the target repo, exactly like the desktop app — teams, aliases, ignore paths, health weights, all apply the same way. One CLI-only addition:

{ "cli": { "warnBelow": 70, "failBelow": 50 } }

MCP server (for coding agents)

The CLI ships Reikon's MCP server, so a coding agent (Claude Code, Cursor, …) can pull project context — health, complexity hotspots, diff review, ownership — with no desktop app installed:

cd your-project
rei analyze                       # warm the context (optional — see below)
claude mcp add reikon -- rei mcp

rei mcp serves over stdio, scoped to the git repo it's launched in. rei analyze writes a cached context the server reads, so health/complexity tools answer instantly. Skip it and the first such call returns a "run rei analyze" hint and warms the context in the background (a retry shortly after succeeds); the diff and annotation tools work immediately either way, since they read live git. The CLI and desktop app share on-disk state, so annotations stay in sync between them.

Full docs

Flags, output formats, and CI integration examples: reikon.dev/docs.

License

MIT