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

claude-console-bridge

v3.1.1

Published

Bridge server connecting browser and server errors to Claude Code - includes MCP server, NestJS, Prisma, and Express integrations

Readme

claude-console-bridge

Bridge server that connects Chrome browser console/network capture to Claude Code. Includes an MCP server for direct Claude Code integration.

New in v3.1.0: MCP (Model Context Protocol) server for native Claude Code tool access!

Installation

# Global install (recommended)
npm install -g claude-console-bridge

# Or use npx (no install needed)
npx claude-console-bridge

Usage

1. Start the bridge in your project folder

cd your-project
claude-console-bridge
# or
npx claude-console-bridge
# or short alias
ccb

2. Install Chrome Extension

Get the Chrome extension from the release and load it in chrome://extensions (Developer mode → Load unpacked).

3. Use with Claude CLI

The bridge saves data to .claude-console.json in your current directory. Just tell Claude:

"Read .claude-console.json and help me fix the browser errors"

Or:

"Check http://localhost:9877/summary for browser issues"

How It Works

┌─────────────┐     WebSocket      ┌─────────────────┐
│   Chrome    │ ──────────────────→│  Bridge Server  │
│  Extension  │    port 9876       │  (this package) │
└─────────────┘                    └────────┬────────┘
                                            │
                    ┌───────────────────────┼───────────────────────┐
                    │                       │                       │
                    ▼                       ▼                       ▼
           .claude-console.json    HTTP API :9877          Terminal Output
           (in your project)       /summary, /errors       (real-time logs)
                    │               /network, /clear
                    │                       │
                    └───────────────────────┘
                                │
                                ▼
                    ┌─────────────────────┐
                    │     Claude CLI      │
                    │  "fix these errors" │
                    └─────────────────────┘

API Endpoints

When running, these are available at http://localhost:9877:

| Endpoint | Description | |----------|-------------| | GET /summary | Markdown summary (best for Claude) | | GET /errors | Console errors as JSON | | GET /network | Network requests as JSON | | GET /data | All captured data | | GET /clear | Clear all data |

MCP Server (Claude Code Integration)

The MCP server gives Claude Code direct tool access to browser errors, network requests, and Aether Engine code intelligence.

Setup

Add to your Claude Code settings (~/.claude/settings.json):

{
  "mcpServers": {
    "aether": {
      "command": "npx",
      "args": ["ccb-mcp"],
      "env": {
        "WORKSPACE_ROOT": "/path/to/your/project",
        "CONSOLE_BRIDGE_PORT": "9877"
      }
    }
  }
}

Or run standalone:

ccb-mcp

Available Tools

Once configured, Claude Code has access to:

| Tool | Description | |------|-------------| | get_debug_summary | Markdown summary of browser errors | | get_browser_errors | Console errors as JSON | | get_network_requests | Network requests (can filter failed only) | | clear_debug_data | Clear all captured data | | list_symbols | List functions/classes in a file | | find_references | Find all references to a symbol | | search_code | Search code with regex | | get_symbol_info | Get symbol details | | index_project | Index project for faster lookups |

Example

> claude
You: Check if there are any browser errors
Claude: [Uses get_debug_summary tool]
Found 2 errors:
1. TypeError: Cannot read property 'map' of undefined (App.jsx:42)
2. 404 /api/users

Custom Port

claude-console-bridge 8888
# WebSocket on 8888, HTTP on 8889

Then update the port in the Chrome extension settings.

Example Output

When browser errors occur, you'll see real-time output:

10:30:45 ✖ [ERROR] TypeError: Cannot read property 'map' of undefined
10:30:46 → POST /api/users
10:30:46 ✖ 500 /api/users
     └─ {"error": "Internal server error"}
10:30:47 ✓ 200 /api/dashboard

With Claude CLI

# Terminal 1: Start your Next.js app
npm run dev

# Terminal 2: Start the bridge
npx claude-console-bridge

# Terminal 3: Use Claude CLI
claude

> Read .claude-console.json and fix the React hydration error

Claude will see the captured errors and help you fix them!

License

MIT