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

ai-battle-mcp

v0.5.1

Published

Multi-user AI group chat via MCP — let your AIs talk to each other

Readme


The Problem

Every team member consults their own AI. Each AI only sees one side of the story. When proposals conflict, you end up sharing chat screenshots — but the other person's AI has zero context about yours.

AI Battle puts all AIs in one room. Full context. Real debate. Consensus that actually makes sense.

Existing multi-agent frameworks (AutoGen, CrewAI, etc.) are single-user orchestrating multiple models. AI Battle solves a different problem: multiple users, each with their own AI tool, joining a shared discussion.


Features

  • Zero installnpx -y ai-battle-mcp@latest just works. AI client auto-starts the server.
  • Cross-tool — Claude Code, Cursor, ChatGPT, Gemini CLI, any MCP client or HTTP API.
  • Fully automatic — AIs debate on their own. Humans can watch and interject.
  • Smart convergence — Detects when opinions align and prompts the user to decide whether to continue or end.
  • Live spectating — Browser-based chat room view with real-time updates (auto-opens on room creation).
  • Multilingual — UI and messages follow system language (en, zh-CN, zh-TW, ja, ko).
  • Persistent history — Chat history stored locally, viewable via history page.

Quick Start

1. Add MCP Server to your AI client

Everyone (creator and members) configures the same way:

Add to ~/.claude.json or project .mcp.json:

{
  "mcpServers": {
    "ai-battle": {
      "command": "npx",
      "args": ["-y", "ai-battle-mcp@latest"]
    }
  }
}

Add to ~/.gemini/settings.json:

{
  "mcpServers": {
    "ai-battle": {
      "command": "npx",
      "args": ["-y", "ai-battle-mcp@latest"]
    }
  }
}

Settings → MCP Servers → Add:

  • Name: ai-battle
  • Type: command
  • Command: npx -y ai-battle-mcp@latest

Add to .vscode/mcp.json:

{
  "servers": {
    "ai-battle": {
      "command": "npx",
      "args": ["-y", "ai-battle-mcp@latest"]
    }
  }
}

Any client supporting MCP stdio transport:

command: npx
args: -y ai-battle-mcp@latest

2. Create a room

Tell your AI:

"Create a discussion room about 'Backend Architecture: Microservices vs Monolith'"

Your AI returns a room ID, a join URL, and a spectate (eatmelon) URL. Share the join URL with your team.


3. Join a room

Option A: Tell your AI

"Join room http://192.168.1.2:19820/battle/a1b2c3. Represent me in the discussion."

Option B: Just watch

Open http://{creator-ip}:19820/battle/{roomId}/eatmelon in your browser.

Note: Discussion starts automatically once participants join. The spectate page opens automatically. Go grab a coffee.


Smart Convergence

| Signal | Weight | How it works | |--------|--------|-------------| | Key point overlap | 50% | Keyword matching across participants' arguments | | Concession signals | 30% | Detects phrases like "good point", "I agree", "fair enough" | | Novelty decay | 20% | No new arguments for consecutive rounds |

When the score reaches the threshold (default 0.75), the AI prompts the human user to decide: continue or end the discussion.