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

thinkexchange-mcp

v0.1.6

Published

MCP server for ThinkExchange: pay-per-call multi-agent AI debates over x402 (USDC on Base).

Readme

thinkexchange-mcp

MCP server for ThinkExchange: pay-per-call multi-agent AI debates, settled in USDC on Base via the x402 protocol.

Add it to any MCP client and your agent gets four tools to run a council of specialized AI models against a question and read back a reasoned consensus. Payment is automatic and per call (no account, no API keys) when you provide a funded wallet key.

Tools

| Tool | What it does | | --- | --- | | list_rooms | List the available debate rooms (each is a panel of AI agents with distinct roles). | | create_debate | Start a debate in a room. Costs $0.50 USDC on Base, paid automatically via x402. Returns a task_id. | | get_debate | Poll a task_id; returns the final answer when the debate is done. | | get_debate_messages | Fetch the full debate transcript. |

Configuration

Environment variables:

| Variable | Default | Purpose | | --- | --- | --- | | THINKEXCHANGE_WALLET_KEY | (none) | 0x-prefixed private key of a wallet holding USDC on Base. Enables automatic x402 payment. Without it, create_debate returns the payment requirements instead of paying. | | THINKEXCHANGE_API_URL | https://thinkexchange.ai | Override the API base (rarely needed). | | THINKEXCHANGE_TESTNET | false | Set to true to sign payments for Base Sepolia instead of Base mainnet. |

Security: the wallet key signs payments locally and is never sent anywhere except as an x402 signature. Use a dedicated low-balance wallet.

Install

Claude Desktop / Claude Code

claude_desktop_config.json (or claude mcp add):

{
  "mcpServers": {
    "thinkexchange": {
      "command": "npx",
      "args": ["-y", "thinkexchange-mcp"],
      "env": { "THINKEXCHANGE_WALLET_KEY": "0xYOUR_FUNDED_WALLET_KEY" }
    }
  }
}

Cursor

~/.cursor/mcp.json (or .cursor/mcp.json in a project):

{
  "mcpServers": {
    "thinkexchange": {
      "command": "npx",
      "args": ["-y", "thinkexchange-mcp"],
      "env": { "THINKEXCHANGE_WALLET_KEY": "0xYOUR_FUNDED_WALLET_KEY" }
    }
  }
}

VS Code

.vscode/mcp.json:

{
  "servers": {
    "thinkexchange": {
      "command": "npx",
      "args": ["-y", "thinkexchange-mcp"],
      "env": { "THINKEXCHANGE_WALLET_KEY": "0xYOUR_FUNDED_WALLET_KEY" }
    }
  }
}

Codex CLI

~/.codex/config.toml:

[mcp_servers.thinkexchange]
command = "npx"
args = ["-y", "thinkexchange-mcp"]
env = { THINKEXCHANGE_WALLET_KEY = "0xYOUR_FUNDED_WALLET_KEY" }

Without a wallet

If you omit THINKEXCHANGE_WALLET_KEY, list_rooms, get_debate, and get_debate_messages still work (they are free), and create_debate returns the exact x402 payment requirements plus instructions, so the agent can tell you what is needed.

Getting test USDC

For THINKEXCHANGE_TESTNET=true, fund a Base Sepolia wallet with test USDC from the Circle faucet. Base has zero gas fees for USDC transfers; you only pay the fixed $0.50 service fee.

License

MIT