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

@despread/3ridge-cli

v0.3.1

Published

Agent-native CLI for 3ridge campaign data — read-only access to campaigns, leaderboards, rewards, and more

Downloads

57

Readme

3ridge CLI

Agent-native CLI for 3ridge campaign data. Read-only access to campaigns, leaderboards, rewards, and more.

Includes an MCP Server for AI agent integration (Claude, Codex, etc.).

Install

# Run without installing
npx -p @despread/3ridge-cli 3ridge campaigns list

# Or install globally
npm install -g @despread/3ridge-cli
3ridge campaigns list

Quick Start

# Check API health
3ridge health

# List visible campaigns
3ridge campaigns list --visible

# Campaign statistics
3ridge campaigns stats <campaign-id>

# Leaderboard top participants
3ridge leaderboard top <leaderboard-id> --limit 10

Commands

All commands are public and require no authentication.

| Command | Description | |---------|-------------| | 3ridge health | API health check | | 3ridge campaigns list [--visible] | List campaigns | | 3ridge campaigns get <id> | Campaign details | | 3ridge campaigns stats <id> | Campaign statistics | | 3ridge projects list | List partner projects | | 3ridge projects get <id> | Project details | | 3ridge quests list <campaign-id> | List quests for a campaign | | 3ridge rewards summary <campaign-id> | Reward details | | 3ridge leaderboard list | List leaderboards | | 3ridge leaderboard get <id> | Leaderboard details | | 3ridge leaderboard top <id> [--limit N] | Top participants | | 3ridge mindshare community | Community mindshare data | | 3ridge mindshare keywords | Trending keywords | | 3ridge oracle summary | Market data (kimchi premium, stocks) |

Output Formats

# JSON (default, agent-friendly)
3ridge campaigns list

# Table (human-readable)
3ridge --format table campaigns list

# CSV (spreadsheet export)
3ridge --format csv campaigns list > campaigns.csv

Global Options

--format <type>   json | csv | table (default: json)
--api-url <url>   Override API URL (e.g., staging)
--no-color        Disable colored output
--verbose         Debug logging

MCP Server

For AI agent integration (Claude Code, Codex, etc.):

Claude Code Setup

Add to .mcp.json in your project or ~/.claude/ directory:

{
  "mcpServers": {
    "3ridge": {
      "command": "npx",
      "args": ["-p", "@despread/3ridge-cli", "3ridge-mcp"]
    }
  }
}

Or with a local install:

{
  "mcpServers": {
    "3ridge": {
      "command": "node",
      "args": ["/path/to/3ridge-cli/dist/bin/3ridge-mcp.js"]
    }
  }
}

Available MCP Tools (13)

| Tool | Description | |------|-------------| | list_campaigns | List campaigns with filters | | get_campaign | Campaign details | | get_campaign_stats | Aggregated statistics | | list_projects | Partner projects | | get_project | Project details | | list_quests | Quests for a campaign | | get_rewards_summary | Reward breakdown | | get_leaderboard_list | All leaderboards | | get_leaderboard_top | Top leaderboard entries | | get_mindshare | Community mindshare | | get_trending_keywords | Keyword trends | | get_oracle_summary | Market data oracle | | check_health | API health status |

Example Agent Interaction

User: "3ridge 캠페인 3개의 이번 달 참여자 수 비교해줘"
Agent: [calls list_campaigns] -> [calls get_campaign_stats x3] -> comparison table

Security

  • Public endpoints only: no user data, no admin operations
  • Read-only: no write/update/delete operations
  • CSV output: formula injection prevention
  • URL params: encoded to prevent injection

License

MIT