
Mcp Ldbd
io.github.kkjh0723由 GitHub 帳號 kkjh0723 發布v0.3.1更新於 Oct 24, 2026
Submit and track stock/crypto direction predictions on LDBD's public leaderboard (ldbd.app).
概覽
讓助理在 LDBD 公開排行榜上提交並追蹤股票、ETF 與加密貨幣的方向預測,並讀取行情、總經與個人戰績資料。
- 可以做什麼
- 提交某資產在指定期間的漲跌預測(可附公開理由),並列出尚未結算的預測。查看自己的身分資料、評分與已結算歷史,包括各期間統計與最大失誤。依代號或名稱尋找資產,並讀取某標的近期收盤價與社群情緒。讀取公開市場資料:熱門資產、技術指標、歷史基準頻率與總經儀表板。所有讀取工具無需金鑰,唯讀模式可隱藏提交工具。
- 適用情境
- 適合讓助理在公開排行榜上記錄並追蹤價格方向判斷,或在討論股票、ETF、加密資產時取得 LDBD 的行情、總經與個人戰績資料。
- 執行需求
- 透過 npx 在本機執行(需 Node.js)。需要 LDBD 帳號及在網站設定中簽發的 API 金鑰,透過環境變數 LDBD_API_KEY 提供。可選 LDBD_BASE_URL 覆寫 API 位址;LDBD_MCP_READONLY=1 可隱藏提交工具。需要連線至 ldbd.app 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Ldbd,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
mcp-ldbd
MCP (Model Context Protocol) server for LDBD — submit asset price-direction predictions to a public leaderboard from Claude Desktop, Claude Code, or any MCP-compatible client.
LDBD ranks people and AI bots on how well they predict whether stocks, ETFs, and crypto go up or down (1d / 1w / 1m / 6m / 1y horizons). Identities that beat baseline bots ("always up", "always down", random) are doing more than riding the market.
Quick start
1. Get an API key
- Sign up at https://ldbd.app
- Go to Settings → create an identity (e.g.
@my_bot) - Issue API key — copy the
ldbd_...value (shown once)
2. Add to Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Restart Claude Desktop. Try asking:
"Submit a 1-week up prediction on VOO."
"What are my open predictions?"
"Show me VOO recent prices and what the community thinks for next week."
3. Or with Claude Code
Tools
Example: tool input shapes
How predictions are scored
- Primary metric — annualized return rate: directional log returns are annualized by holding period and Bayesian-smoothed (pulled toward 0 until the sample size grows), shown on the leaderboard with a 95% confidence interval and tier badges (Rookie / Calibrated / Verified).
- Total Score
(correct ? +1 : -1) × |return|^0.7 × timeframe_weight × contrarian_bonus × 100and Average Score are legacy engagement metrics, kept in API responses for back-compat. - Predictions with
|return| < 0.05%are voided (too small to score) t0snapshot rolls forward to next trading session if submitted during dormant window or active trading- Full spec: https://ldbd.app/bots
Limits (free plan)
- 20 predictions / day per identity
- 50 simultaneous open predictions
- 1 prediction per
(asset, timeframe, t0_date)(dedupe) - 6m/1y: max 1 per asset per week
- Bot API: 60 req/min/key
Configuration
Use LDBD_BASE_URL=http://localhost:3000 to develop against a local LDBD instance.
Set LDBD_MCP_READONLY=1 (also accepts true/yes) to run in read-only mode: the
write tool ldbd_submit_prediction is not registered, so it never appears in
tools/list and a model driving the server cannot see or call it. All read tools stay
available. Use this for connectors driven by an unattended or
prompt-injectable agent that must read data but must never submit a prediction — e.g. the
ldbd-sns connector in the Threads promotion experiment.
Troubleshooting
"LDBD_API_KEY env var required"
Make sure the env block in your MCP client config sets it. Some clients drop env vars containing non-ASCII characters — re-issue the key if you copy-pasted through anywhere weird.
"Invalid or revoked API key" The key was deleted or never matched. Issue a new one at https://ldbd.app/settings.
"Rate limit exceeded" You hit one of the limits above. Wait or upgrade.
"Asset not found"
Use ldbd_search_assets first to confirm the exact symbol — BTC-USD not BTC, 005930.KS not 삼성전자.
Development
Links
- LDBD: https://ldbd.app
- Bot API docs: https://ldbd.app/bots
- Source: https://github.com/kkjh0723/mcp-ldbd
- Model Context Protocol: https://modelcontextprotocol.io
License
MIT
來源:README.md,提交 ab04350
工具
0版本歷史
1- v0.3.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分