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

merlyn-mcp

v1.0.0

Published

Code Wizard - local coaching engine with MCP server, TUI, and AI analysis

Readme

merlyn

local development coach with MCP server, interactive TUI, and AI-powered analysis. a stripped-down fork of midas-mcp with all cloud/dashboard/pilot code removed.

what it does

merlyn tracks your project phase and tells you what to do next.

  1. run merlyn -- TUI starts, analyzes your project with AI
  2. AI detects your phase -- PLAN / BUILD / SHIP / GROW
  3. shows a suggested prompt -- "do this next" with explanation
  4. press [c] to copy the prompt, paste in Cursor
  5. Cursor calls MCP tools -- midas_analyze, midas_verify, etc.
  6. tools update state -- phase advances, progress tracked
  7. next time you run merlyn -- knows where you left off

quick start

npx merlyn-mcp

launches the interactive TUI coach. press ? for help.

cursor MCP config

add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "merlyn": {
      "command": "npx",
      "args": ["merlyn-mcp", "server"]
    }
  }
}

37 tools, 20 prompts, 5 resources -- all local, no cloud.

CLI commands

merlyn-mcp                interactive coach (recommended)
merlyn-mcp status         show current phase and progress
merlyn-mcp init <name>    initialize new project
merlyn-mcp audit          audit against 12 ingredients
merlyn-mcp docs           check planning docs
merlyn-mcp metrics        session metrics
merlyn-mcp weekly         weekly suggestion patterns
merlyn-mcp server         start MCP server
merlyn-mcp help           show help

the four phases

PLAN -- idea, research, PRD, gameplan. understand what you're building before you build it.

BUILD -- rules, index, read, research, implement, test, debug. the 7-step cycle. if stuck 3+ times, tornado: research + logs + tests.

SHIP -- review, deploy, monitor. gates must pass (build, test, lint) before advancing.

GROW -- feedback, analyze, iterate. collect data, triage, plan next cycle.

key tools

the MCP tools keep midas_ prefix for compatibility with existing cursor configs.

  • midas_analyze -- AI analysis of project state and phase
  • midas_suggest_prompt -- get phase-appropriate next action
  • midas_advance_phase -- move to next step/phase
  • midas_verify -- run build/test/lint gates
  • midas_journal_save -- save conversation context
  • midas_tornado -- research + logs + tests debugging cycle
  • midas_oneshot -- construct retry prompt from error
  • midas_horizon -- expand context when output doesn't fit
  • midas_start_hotfix -- emergency bug fix mode
  • midas_completeness -- 12-category production readiness score
  • midas_vuln_scan -- security vulnerability scanner

three principles

oneshot -- when things break, go back with original prompt + error + "avoid this" instead of patching forward.

tornado -- three forces spinning together solve any problem: research + logs + tests.

horizon -- AI thinks vertical (implementation). you provide horizontal (context). wrong output means widen your context.

AI analysis

merlyn uses the Anthropic API for smart project analysis. optional but recommended (~$0.003/analysis). configure in ~/.midas/config.json or press k in the TUI.

without an API key, merlyn falls back to deterministic local analysis based on file presence and git history.

development

git clone https://github.com/christiancattaneo/merlyn-mcp
cd merlyn
npm install
npm run build
npm test

license

MIT