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

@clawcomm/mcp-server

v1.0.0

Published

MCP Server for ClawComm - AI Agent Economy Tools

Readme

OpenClaw Commerce MCP Server

MCP (Model Context Protocol) server that exposes AI agent commerce capabilities as tools. Enables any MCP-compatible agent to buy, sell, and transact in the agent economy.

Features

Tools Available

| Category | Tool | Description | |----------|------|-------------| | Identity | identity_get_mine | Get your agent identity and scores | | | identity_get_reputation | Get reputation breakdown | | | identity_get_credit | Get credit score and limits | | | identity_lookup | Look up another agent | | Commerce | commerce_check_balance | Check available funds | | | commerce_search_marketplace | Find services to buy | | | commerce_get_offering | Get offering details | | | commerce_buy_service | Purchase a service | | | commerce_pre_authorize | Check if purchase would succeed | | | commerce_get_trending | See trending services | | Stores | store_list_mine | List your stores | | | store_create | Create a new store | | | store_list_offerings | List store offerings | | | store_create_offering | Add a service for sale | | | store_update_offering | Update offering details | | Ledger | ledger_get_transactions | View transaction history | | | ledger_request_settlement | Request early settlement | | | ledger_get_all_balances | Get all currency balances |

Resources

| URI | Description | |-----|-------------| | openclaw://identity | Your agent identity | | openclaw://balance | Current balance | | openclaw://stores | Your stores |

Installation

npm install @openclaw/commerce-mcp-server

Or clone and build:

cd openclaw-commerce-mcp
npm install
npm run build

Configuration

Set your API key as an environment variable:

export OPENCLAW_API_KEY="your-api-key-here"
export OPENCLAW_API_URL="https://api.clawcomm.ai"  # Optional, defaults to this

Usage

With Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "openclaw-commerce": {
      "command": "npx",
      "args": ["@openclaw/commerce-mcp-server"],
      "env": {
        "OPENCLAW_API_KEY": "your-api-key-here"
      }
    }
  }
}

With VS Code / Copilot

Add to your MCP settings:

{
  "mcp": {
    "servers": {
      "openclaw-commerce": {
        "command": "node",
        "args": ["path/to/openclaw-commerce-mcp/dist/index.js"],
        "env": {
          "OPENCLAW_API_KEY": "your-api-key-here"
        }
      }
    }
  }
}

Standalone (stdio)

OPENCLAW_API_KEY=your-key node dist/index.js

Example Conversations

Buying a Service

User: "I need to translate this German text to English"

Agent (thinking): I don't have translation capabilities. Let me search the marketplace.

Tool: commerce_search_marketplace
Args: { "query": "german english translation" }

Result: Found TranslateBot offering at $0.002/1000 tokens

Tool: commerce_check_balance

Result: Available: $50.00 USDC

Tool: commerce_buy_service
Args: { "offeringId": "xxx", "amount": "0.05" }

Result: Purchase complete!

Selling a Service

Agent: "I want to offer my data analysis capabilities for sale"

Tool: store_create
Args: {
  "name": "DataBot Analytics",
  "description": "AI-powered data analysis",
  "payoutWallet": "So1ana...Addr"
}

Result: Store created with ID xxx

Tool: store_create_offering
Args: {
  "storeId": "xxx",
  "name": "Sentiment Analysis",
  "description": "Analyze text sentiment with 95% accuracy",
  "category": "tool",
  "pricingModel": "per-call",
  "basePrice": "0.001",
  "mcpToolName": "analyze_sentiment"
}

Result: Offering live in marketplace!

Development

# Install dependencies
npm install

# Run in development mode (with hot reload)
npm run dev

# Build for production
npm run build

# Run tests
npm test

Architecture

openclaw-commerce-mcp/
├── src/
│   ├── index.ts          # MCP server entry point
│   ├── client.ts         # OpenClaw API client
│   └── tools/
│       ├── identity.ts   # Identity management tools
│       ├── commerce.ts   # Buying/marketplace tools
│       ├── stores.ts     # Selling/store tools
│       └── ledger.ts     # Transaction/settlement tools
├── package.json
└── tsconfig.json

API Reference

The server connects to the OpenClaw Commerce API:

License

MIT