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

bn-square

v0.1.0

Published

MCP server for Binance Square sentiment, hot posts, and token trending. Works with any stdio MCP client (Claude Code, Kimi Code, Codex, Cline, …).

Readme

bn-square

MCP skill exposing Binance Square sentiment, hot posts, and token trending as callable tools. Works with any stdio-compatible MCP client (Claude Code, Kimi Code, Codex, Cline, Continue, etc.).

Six tools, one bearer token.

Tools

| Name | Points | Returns | |------|-------:|---------| | square_post_by_id | 1 | One post with author, metrics, sentiment | | square_search | 3 | Posts matching keyword / cashtag / author / date range | | square_hot_posts | 3 | Top posts by engagement in a time window | | sentiment_by_token | 3 | Latest aggregated sentiment bucket for a coin | | sentiment_timeseries | 5 | Historical sentiment series (chart-ready) | | token_trending | 10 | Ranked tokens by mindshare / sentiment / velocity |

Points come out of your monthly or topup balance — see main project docs for tiers.

Install

Get a bearer token (format cs_live_...) from your CryptoSquare account, then add the skill to your MCP client.

One-liner (if your client has a skills CLI)

npx skills add binance-square

Manual — any MCP client

Point your client at the package via npx with the token in env. Examples:

JSON-config clients (~/.claude.json, ~/.cline/mcp_settings.json, VS Code MCP, etc.):

{
  "mcpServers": {
    "bn-square": {
      "command": "npx",
      "args": ["-y", "bn-square"],
      "env": { "BN_SQUARE_API_TOKEN": "cs_live_YOURTOKEN" }
    }
  }
}

TOML-config clients (~/.codex/config.toml):

[mcp_servers.bn-square]
command = "npx"
args    = ["-y", "bn-square"]
env     = { BN_SQUARE_API_TOKEN = "cs_live_YOURTOKEN" }

Claude Code CLI:

claude mcp add bn-square \
  -e BN_SQUARE_API_TOKEN=cs_live_YOURTOKEN \
  -- npx -y bn-square

Restart the client and the 6 tools appear.

Try it

After install, prompt:

  • "Show me the top 5 trending coins on Binance Square by mindshare"
  • "What's the current sentiment for SOL on Binance Square?"
  • "Find bullish BTC posts from the last 6 hours"
  • "查 ETH 最近 24 小时在币安广场的情绪时序"

The LLM picks the right tool from the description.

Environment

| Var | Required | Default | |-----|----------|---------| | BN_SQUARE_API_TOKEN | yes | — | | BN_SQUARE_API_URL | no | prod CryptoSquare Worker URL | | HTTPS_PROXY / HTTP_PROXY | no | honoured via undici when set |

License

MIT