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

wc-mcp

v0.0.2

Published

A local stdio MCP server that connects to your EVM wallet via WalletConnect QR code, exposes read and sign tools, and persists the session across restarts.

Readme

wc-mcp

A local stdio MCP server that connects to your EVM wallet via WalletConnect QR code, exposes read and sign tools, and persists the session across restarts.

Non-custodial. The server never holds private keys — all signing happens in your mobile wallet over the WalletConnect relay.

Prerequisites

  • Node.js 20+
  • pnpm 10+
  • A WalletConnect Project ID (free, see below)
  • A mobile wallet that supports WalletConnect v2 (Trust Wallet, MetaMask Mobile, Rainbow, etc.)

Getting a WalletConnect Project ID

  1. Go to cloud.reown.com (formerly WalletConnect Cloud).
  2. Sign up / log in.
  3. Create a new project → copy the Project ID.
  4. Set it as an environment variable:
export WALLETCONNECT_PROJECT_ID=your_project_id_here

Installation

pnpm install
pnpm build

MCP host configuration

Add this to your MCP host config (e.g. Claude Desktop claude_desktop_config.json):

{
  "mcpServers": {
    "wc-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/wc-mcp/dist/index.js"],
      "env": {
        "WALLETCONNECT_PROJECT_ID": "your_project_id_here"
      }
    }
  }
}

Or if installed globally via npm link / npx:

{
  "mcpServers": {
    "wc-mcp": {
      "command": "wc-mcp",
      "env": {
        "WALLETCONNECT_PROJECT_ID": "your_project_id_here"
      }
    }
  }
}

Available tools

| Tool | Description | |------|-------------| | connect | Initiate a WC session — returns a unicode QR + raw wc: URI | | disconnect | Disconnect the active session | | status | Show connection status, address, and chain id | | get_balance | Read ETH balance via viem (no wallet needed) | | get_chain_id | Read chain id from the configured RPC (no wallet needed) | | send_transaction | Send an EVM transaction (wallet approval required) | | personal_sign | Sign a message with personal_sign (wallet approval required) |

Manual steps for the full connect → sign → persist loop

These steps require a real project ID and a mobile wallet — they cannot be automated in a test:

1. Connect

Ask the MCP host to call the connect tool. The server returns:

  • A unicode QR code (display in terminal or MCP host UI)
  • A raw wc: URI you can paste into your wallet's WC scanner
  • A deep link for direct mobile wallet open

Scan the QR or paste the URI in your mobile wallet and approve the connection request.

2. Verify connection

Call the status tool — it should return connected with your CAIP-10 address and chain id.

3. Read

Call get_balance with your address and chain_id: 11155111 (Sepolia) — verify it matches the block explorer.

4. Sign / send

Call personal_sign with a test message, or send_transaction with a minimal Sepolia transfer (e.g. value: "0x0" to your own address). Your mobile wallet will show an approval prompt.

5. Restart persistence test

Stop and restart the MCP server. Call status — it should return connected without needing to scan the QR again. This confirms both persistence layers are working:

  • Layer a (WC SignClient session): stored in ~/.wc-mcp/ via the storage option forwarded into SignClient.init
  • Layer b (lastConnectedWalletId): stored in ~/.wc-mcp/ via the StorageBackend injected into TrustConnect({ storage })

Optional environment variables

| Variable | Default | Description | |----------|---------|-------------| | WALLETCONNECT_PROJECT_ID | required | Reown dashboard project ID | | RPC_URL_MAINNET | https://cloudflare-eth.com | Override mainnet RPC | | RPC_URL_SEPOLIA | https://rpc.sepolia.org | Override Sepolia RPC |

Session storage

All session data is stored in ~/.wc-mcp/ (JSON files). Delete this directory to clear all sessions and start fresh.

Development

pnpm check:type   # TypeScript typecheck
pnpm build        # Build dist/index.js
pnpm test         # Acceptance #0 headless boot test
pnpm check:fix    # Biome lint + format