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

@codearch/cli

v0.1.2

Published

Graph-based vibe coding cockpit and MCP context provider for TypeScript codebases.

Downloads

355

Readme

@codearch/cli

A graph-based vibe coding cockpit and MCP context provider for TypeScript codebases.

vibe-graph scans your TypeScript monorepo into a navigable graph of subsystems, dependencies, and findings. Use the cockpit UI to explore visually, or expose the graph to an AI assistant via the bundled MCP server — get precise blast-radius and context-pack answers grounded in your real codebase.

Install

npm i -g @codearch/cli

Or run on-demand:

npx @codearch/cli init

Quick start

1. Init — set up the project

Generates a default .vibegraph/config.yml, adds entries to .gitignore, ready in seconds.

npx @codearch/cli init

2. Scan — build a snapshot

Walks your TypeScript sources, extracts subsystems and dependencies, detects cycles and orphans, writes .vibegraph/cache/graph.json.

npx @codearch/cli scan

3. MCP — expose the graph to AI

Starts an MCP server (stdio) that AI assistants can call for project overview, blast radius, context pack, and subsystem detail.

npx @codearch/cli mcp --project-root .

Other commands

vibe-graph (no args) launches the cockpit web UI. baseline, check, validate-diff, impact, context, and doctor are also available — run vibe-graph --help.

Cockpit

vibe-graph (no args) opens the cockpit in your browser at http://localhost:5173.

Change Mode

Top-tab Change in Cockpit visualizes prepare_task. Fill intent + select paths (autocomplete from your project's file index) + pick mode → get the same 6 sections the MCP tool surfaces, plus one-click Copy as Markdown / Copy JSON for handoff to Claude Code, Cursor, or any agent.

Agent Activity Log

Top-tab Activity in Cockpit shows a live timeline of MCP tool calls — useful for watching what your agent actually does. Entries are persisted to .vibegraph/cache/agent-activity.ndjson (rotated at 10MB), with secrets redacted and oversized args/results truncated. Click an entry to expand the (redacted) args and result.

Connect to your IDE

npx @codearch/cli init auto-detects Claude Code and Cursor and writes their MCP configs. For other clients, drop one of these snippets into the appropriate config file:

Windsurf (.windsurf/mcp.json or workspace settings)

{ "mcpServers": { "vibegraph": { "command": "npx", "args": ["-y", "@codearch/cli", "mcp"] } } }

Cline (VS Code → Cline extension settings → MCP Servers JSON)

{ "mcpServers": { "vibegraph": { "command": "npx", "args": ["-y", "@codearch/cli", "mcp"] } } }

Continue.dev (~/.continue/config.jsonexperimental.modelContextProtocolServers)

{ "name": "vibegraph", "command": "npx", "args": ["-y", "@codearch/cli", "mcp"] }

Zed (~/.config/zed/settings.jsoncontext_servers)

{ "vibegraph": { "command": { "path": "npx", "args": ["-y", "@codearch/cli", "mcp"] } } }

Codex (~/.codex/config.toml)

[mcp_servers.vibegraph]
command = "npx"
args = ["-y", "@codearch/cli", "mcp"]

Any stdio MCP client (generic)

command: npx -y @codearch/cli mcp

After wiring the MCP config, reload the client and ask the agent: "Use vibe-graph to plan refactor of X." The agent will call prepare_task for preflight context and validate_diff post-edit for verdict.

Documentation

License

MIT