Open-Source ClearFills Lets Claude Draft Broker Trades With Key Isolation and Touch ID Approval
richardabrich · reddit · 2026-11-26
Worried that a hallucinated order could wipe out an account, the author open-sourced ClearFills (pip install clearfills, Apache-2.0, in the Official MCP Registry) so Claude can work with IBKR, Alpaca, Kalshi, and Polymarket without ever touching raw API keys or private keys.
Key design:
- Model connects via MCP (local stdio or hosted OAuth 2.1) and can only read balances and draft orders; broker credentials stay fully separate
- Every draft passes plain-Python risk checks: limit orders only, mandatory stop-loss, notional and daily loss caps
- Approved candidates land in a web inbox with cash before/after preview and Paper/Live toggle
- Approval requires Touch ID (or MetaMask EIP-712 signing for Polymarket), minting a single-use 2-minute Ed25519 ticket
Includes a zero-auth $1M paper-trading MCP server for red-teaming and a full threat-model deep dive.
More from coding & agent
- 8.6M Lines of Lean Proofs in 3 Days: 360-Contributor Agent Fleet Attacks P=NP — demian_ai · 2026-11-26
- Anthropic releases free 37-minute guide on building AI agents that automate entire businesses — dr_cintas · 2026-11-26
- Autonomous research agent breaks 50 packing-problem records in 4 days, besting 373-cube record with 376 — IgorCarron · 2026-11-26
- Google Antigravity cuts unnecessary Auto-mode approvals by 50%, more updates teased — chongdashu · 2026-11-26
- George Hotz's 5 free GitHub repos, from tinygrad to a 12-week computer course — alex_verem · 2026-11-26
- No-code automation tools like n8n and Make will soon be dead, dev argues after switching to AI-written scripts — haltakov · 2026-11-26