-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclaude-code-setup.sh
More file actions
24 lines (21 loc) · 866 Bytes
/
claude-code-setup.sh
File metadata and controls
24 lines (21 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env bash
# claude-code-setup — one-line install of FalsifyLab Alpha MCP for Claude Code.
#
# Usage:
# bash claude-code-setup.sh # free tier (no key)
# FL_API_KEY=fl_xxx bash claude-code-setup.sh # Pro tier
set -euo pipefail
echo "[*] installing falsifylab-alpha-mcp from PyPI..."
pip install --upgrade falsifylab-alpha-mcp
if [ -z "${FL_API_KEY:-}" ]; then
echo "[*] adding to Claude Code (free tier — auto-issues key on first call)"
claude mcp add falsifylab-alpha -- python -m falsifylab_alpha_mcp
else
echo "[*] adding to Claude Code (Pro key detected)"
claude mcp add falsifylab-alpha \
--env "FL_API_KEY=${FL_API_KEY}" \
-- python -m falsifylab_alpha_mcp
fi
echo
echo "[+] done. restart Claude Code if it's running."
echo "[+] verify with: 'use macro_tape and show me SPX, VIX, BTC, ETH'"