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

@carbonvoice/cv-claude-channel

v0.1.1

Published

Carbon Voice Claude Channel server - bridges Carbon Voice conversations into Claude Code sessions

Readme

Carbon Voice Claude Channel for Claude Code

A Claude Code channel server that bridges Carbon Voice conversations into Claude Code sessions. Receive real-time voice messages and reply back with text-to-speech.

If computer is offline, messages will be queued and delivered when connection is restored.

Features

  • Real-time message delivery via WebSocket (primary) with polling fallback
  • Two-way communication - Claude can reply back into Carbon Voice conversations
  • Sender gating - Restrict which users can send messages (optional)
  • Permission relay - Forward tool approval prompts to Carbon Voice for remote approval
  • Deduplication - Automatic message deduplication with TTL
  • State persistence - Resumes from last seen timestamp after restart
  • Reaction support - Auto-acknowledge messages with configurable reactions

Installation

Option 1: Using npx (recommended)

Add to your project's .mcp.json:

{
  "mcpServers": {
    "cv-claude-channel": {
      "command": "npx",
      "args": ["@carbonvoice/cv-claude-channel"],
      "env": {
        "CV_PAT": "your-personal-access-token"
      }
    }
  }
}

Option 2: Local installation

Install globally:

npm install -g @carbonvoice/cv-claude-channel

Then configure .mcp.json:

{
  "mcpServers": {
    "cv-claude-channel": {
      "command": "cv-claude-channel",
      "env": {
        "CV_PAT": "your-personal-access-token"
      }
    }
  }
}

Option 3: Development setup

Clone and run locally:

git clone https://github.com/PhononX/cv-claude-channel
cd cv-claude-channel
npm install
npm start

Configuration

Required Environment Variables

  • CV_PAT - Your Carbon Voice Personal Access Token

Optional Environment Variables

  • CV_CONVERSATION_ID - Scope to a specific conversation (omit to receive all)
  • CV_REACTION_ID - Specific reaction ID to add on message receipt
  • CV_ALLOWED_SENDERS - Comma-separated list of allowed user IDs (for sender gating)
  • CV_IGNORED_SENDERS_LOG - Path to log file for ignored sender attempts (default: ~/.claude/channels/cv/ignored-senders.log)
  • CV_SEEN_TTL_MS - Deduplication TTL in milliseconds (default: 5 minutes)
  • CV_POLL_INTERVAL_MS - Polling interval in milliseconds (default: 5 seconds)
  • CV_WS_RETRY_MAX_MS - Max WebSocket retry backoff in milliseconds (default: 30 seconds)
  • CV_STATE_PATH - Path to state file (default: ~/.claude/channels/cv/state.json)

Usage

Start Claude Code with the channel enabled:

claude --dangerously-load-development-channels server:cv-claude-channel

Receiving Messages

When a message arrives in Carbon Voice, it appears in Claude Code as:

<channel source="carbon-voice" channel_id="..." message_id="..." sender_id="..." is_reply="false" reply_to_id="...">
  transcript of what was said
</channel>

Replying

Ask Claude to reply, and it will call the send_message tool with:

  • channel_id - The conversation to send into
  • reply_to_message_id - The message to thread under
  • text - Claude's response (converted to audio automatically)

Permission Prompts

When Claude needs approval for dangerous tools (Bash, Write, Edit), you'll receive a prompt in Carbon Voice:

Claude wants to run Bash: <description>

Reply "yes abcde" or "no abcde" to grant or deny permission.

Reply with yes <request_id> or no <request_id> to approve or deny.

Security

Sender Gating

To restrict which users can send messages, set CV_ALLOWED_SENDERS:

{
  "env": {
    "CV_PAT": "your-token",
    "CV_ALLOWED_SENDERS": "user-id-1,user-id-2"
  }
}

Unauthorized messages are dropped silently (no feedback to sender) to prevent prompt injection.

Permission Relay

Permission relay is enabled by default. When Claude requires tool approval, the prompt is forwarded to Carbon Voice for remote approval. This allows you to approve dangerous operations from anywhere.

Development

Building

npm run build

Publishing

npm publish

Architecture

  • WebSocket mode (primary): Real-time message delivery via Socket.IO
  • Polling mode (fallback): Polls /v3/messages/recent endpoint
  • Auto-reconnect: Automatically switches between modes with backoff
  • State persistence: Saves cursor to disk for resumption after restart
  • Deduplication: In-memory cache with configurable TTL

Requirements

  • Node.js >= 18.0.0
  • Carbon Voice account with Personal Access Token
  • Claude Code with MCP support

License

MIT

Support

  • GitHub Issues: https://github.com/PhononX/cv-claude-channel/issues
  • Carbon Voice API: https://api.carbonvoice.app

Acknowledgments

Built following the Claude Code Channels specification.