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

@lumenalta-ct/leaderboard-mcp

v1.3.1

Published

Claude Code MCP server — automatic leaderboard sync (replaces CLASP Go CLI)

Downloads

116

Readme

@lumenalta-ct/leaderboard-mcp

Claude Code MCP server that automatically syncs Claude Code session history to the AI-Native Leaderboard. Replaces the CLASP Go CLI for engineers who prefer the MCP integration path.

How it works

The server runs as a background stdio MCP process managed by Claude Code. On startup it performs an initial sync (deferred 30 s to let Claude Code settle), then re-syncs every 12 hours. Failed uploads are queued locally and flushed on the next successful connection.

Installation

The recommended way is via the org-config sync (clasp sync), which writes org.json into ~/.claude/org/settings.json automatically. For manual setup:

Option A — npx (no install required)

Add to ~/.claude/settings.json (or ~/.claude/org/settings.json):

{
  "mcpServers": {
    "leaderboard": {
      "command": "npx",
      "args": ["-y", "@lumenalta-ct/leaderboard-mcp"],
      "env": {
        "LEADERBOARD_API_URL": "https://claude-leaderboard.lumenalta.com",
        "SUPABASE_URL": "https://<ref>.supabase.co",
        "SUPABASE_ANON_KEY": "eyJ..."
      }
    }
  }
}

Option B — global install

npm install -g @lumenalta-ct/leaderboard-mcp

Then reference the binary in your MCP config:

{
  "mcpServers": {
    "leaderboard": {
      "command": "leaderboard-mcp",
      "env": {
        "LEADERBOARD_API_URL": "https://claude-leaderboard.lumenalta.com",
        "SUPABASE_URL": "https://<ref>.supabase.co",
        "SUPABASE_ANON_KEY": "eyJ..."
      }
    }
  }
}

Environment variables

| Variable | Required | Description | |---|---|---| | LEADERBOARD_API_URL | recommended | Base URL of the leaderboard app. Defaults to https://ai-native-leaderboard.vercel.app | | SUPABASE_URL | yes | Supabase project URL — obtain from the leaderboard admin | | SUPABASE_ANON_KEY | yes | Supabase anon/public key — obtain from the leaderboard admin | | GITHUB_USERNAME | optional | Enriches git-signal attribution in the payload |

MCP tools

After the server starts, four tools are available inside any Claude Code session:

| Tool | Description | |---|---| | leaderboard_sync | Reads ~/.claude/projects/ and uploads new sessions to the leaderboard now | | leaderboard_status | Shows last sync time, queue depth, and auth state | | leaderboard_login | Stores Supabase session credentials (access token, refresh token, user ID, email) | | leaderboard_flush | Force-flushes the offline queue — use after reconnecting from offline |

Authentication

After configuring the MCP server, ask Claude to run leaderboard_login and provide your Supabase session tokens from the leaderboard app profile page.

Requirements

  • Node.js 20+
  • Claude Code desktop with MCP support

Publishing

This package is published to npm as @lumenalta-ct/leaderboard-mcp. To publish a new version:

cd packages/leaderboard-mcp
npm run build          # compiles src/ → dist/index.js
npm publish --access public