★ ★ ★LIVE97 COINS ANALYZED BY CLAUDE MCP·VIEW SKILLS →★ ★ ★
MCP
claude.analyze("BTCUSDT")→ [buy] signal detectedmcp.draw_levels(resistance=98000)→ [drawn] on chartclaude.scan_watchlist(coins=100)→ [42] buy signals foundmcp.connect("tradingview")→ [connected] daily TFclaude.detect_sr("SOLUSDT")→ [S: $165] [R: $185]claude.analyze("ETHUSDT")→ [neutral] consolidatingmcp.screenshot_chart("BNBUSDT")→ [captured] analyzing...claude.score_quality("XRPUSDT")→ score: 78/100mcp.set_timeframe("1D")→ [ok] chart updatedclaude.analyze("BTCUSDT")→ [buy] signal detectedmcp.draw_levels(resistance=98000)→ [drawn] on chartclaude.scan_watchlist(coins=100)→ [42] buy signals foundmcp.connect("tradingview")→ [connected] daily TFclaude.detect_sr("SOLUSDT")→ [S: $165] [R: $185]claude.analyze("ETHUSDT")→ [neutral] consolidatingmcp.screenshot_chart("BNBUSDT")→ [captured] analyzing...claude.score_quality("XRPUSDT")→ score: 78/100mcp.set_timeframe("1D")→ [ok] chart updated
BACK TO CLAUDE SKILLS

mcp_export_to_db

MCP IntegrationMCPDatabase
INSTALLATION
$python -c "exec(open('mcp_export_to_db.py').read())"
#or paste directly into your Claude Code terminal
[ ABOUT ]

Writes Claude's analysis result for a single coin to the Supabase `coin_analysis` table via the Python Supabase client. Uses `upsert` with the coin identifier as the conflict key, so re-running analysis for the same coin overwrites the previous record rather than creating duplicates.

Keeps database writes minimal — only the `coin`, `signal`, and computed score fields are written per call, ensuring the operation is fast enough to run inside a high-frequency scan loop. Extend the payload dictionary to store additional fields like RSI value or EMA cross state for richer dashboarding.

[ USAGE EXAMPLE ]
example.py
analysis = {"signal": "buy", "score": 82}
export_to_db("bitcoin", analysis)
# → upserted in Supabase coin_analysis
[ FULL CODE ]
mcp_export_to_db.py
from supabase import create_client def export_to_db(coin, analysis): sb = create_client(SUPABASE_URL, SUPABASE_KEY) sb.table("analysis").upsert({"coin": coin, "signal": analysis["signal"]}).execute()
[ METADATA ]
CategoryMCP Integration
ComplexityIntermediate
LanguagePython 3.10+
TagsMCP, Database
[ ASK CLAUDE ]

Ask AI about this skill before installing it.

[ RELATED SKILLS ]