🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

ibitlabs-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ibitlabs-mcp

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.

latest
Source
npmnpm
Version
0.2.2
Version published
Maintainers
1
Created
Source

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

ToolReturns
get_live_statusCurrent 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.

Keywords

mcp

FAQs

Package last updated on 04 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts