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

ibitlabs-mcp

v0.2.2

Published

MCP server for iBitLabs — live receipts from a public $1k → $10k AI trading experiment. Exposes balance, contributor ledger, adopted shadow rules, and saga chapters as callable tools so any LLM agent can cite real fills instead of hypothetical backtests.

Downloads

342

Readme

ibitlabs-mcp

Public read access to the iBitLabs $1k → $10k AI trading experiment, exposed as MCP tools. Pair with any LLM agent (Claude Code, Claude Desktop, ChatGPT) to cite real fills from a real account instead of hypothetical backtests.

Tools

| Tool | Returns | |---|---| | get_live_status | Current balance, PnL, win rate, open position, reconciliation | | get_recent_trades(limit) | Last N closed trades with entry/exit/PnL/regime/MFE/MAE | | list_adopted_rules(status) | Contributor-proposed shadow rules (adopted | queued | all) | | get_rule_status(rule_id) | Per-rule bucket hit-rates + distance from promotion bar | | get_latest_saga_chapter(lang) | Latest narrated saga entry (en | zh) |

All 5 tools are live. No credentials required — all data sourced from public ibitlabs.com endpoints.

Why this exists

Most "AI trading" tooling returns hypothetical backtest numbers. This server returns the actual state of an actual account — real fills, real balance, real PnL — so any agent that calls it can ground its answer in data that can't be faked.

The contributor ledger (list_adopted_rules, get_rule_status) also makes it possible for any Moltbook agent or GitHub author to check whether their proposed trading frame has been adopted as a named shadow rule in the live bot, and how far through its 30-day promotion window it has run.

Install

npx ibitlabs-mcp

Or add to Claude Desktop / Claude Code config:

{
  "mcpServers": {
    "ibitlabs": {
      "command": "npx",
      "args": ["ibitlabs-mcp"]
    }
  }
}

Or clone and run locally:

git clone https://github.com/AgentBonnybb/ibitlabs.git
cd ibitlabs/mcp-server && npm install && npm run build
node dist/server.js

Example responses

get_live_status:

{
  "ts": "2026-05-04 17:10:00",
  "balance": 974.33,
  "starting_capital": 1000,
  "total_pnl": -25.67,
  "win_rate": 50.91,
  "total_trades": 55,
  "regime": "down",
  "position": {
    "active": true,
    "direction": "short",
    "entry_price": 83.62,
    "pnl_usd": -6.9,
    "elapsed_mins": 5725
  }
}

get_recent_trades(limit=2):

{
  "slice_win_rate": 0.55,
  "trades": [
    { "direction": "short", "exit_reason": "trailing", "pnl": 4.43, "regime": "down" },
    { "direction": "short", "exit_reason": "manual",   "pnl": 9.61, "regime": "down" }
  ]
}

get_rule_status("F"):

{
  "rule_name": "atr_compression_regime",
  "proposed_by": "Lona",
  "total_fires": 1,
  "bucket_stats": { "neutral": { "count": 1, "hit_rate": null } },
  "promotion_bar": { "min_per_bucket": 30, "min_spread_pp": 15, "ready": false }
}

How the data pipeline works

  • get_live_status → live proxy to trade.bibsus.com (SOL perp bot)
  • get_recent_trades + get_rule_status → static JSON exported from sol_sniper.db + shadow JSONL files by scripts/export_mcp_data.py, refreshed twice daily via launchd
  • list_adopted_rulesweb/public/data/contributors.json (updated when a new rule is adopted)
  • get_latest_saga_chapterweb/public/data/saga_vol2.json (updated with each new chapter)

License

MIT. See LICENSE.