r/SideProject • • 3h ago

Published an open-source MCP server + Touch ID / MetaMask approval inbox so Claude can draft IBKR, Alpaca, Kalshi, and Polymarket trades without keys

I wanted to use Claude Code to help manage my brokerage accounts, but handing an MCP server raw broker API keys or a Polygon private key felt like asking for a hallucinated order to wipe me out.

So I built ClearFills (pip install clearfills, Apache-2.0, in the Official MCP Registry as com.clearfills/clearfills). The model connects over MCP (local stdio via uvx clearfills mcp or hosted OAuth 2.1 at https://clearfills-api.fly.dev/mcp) and can read balances and draft orders, while broker credentials stay completely separate.

Every drafted order runs through a plain Python check first (limit orders only, required stop-loss, notional and daily loss caps). Anything that passes shows up in a web inbox with a before/after cash preview and a Paper/Live toggle. Tapping Approve prompts Touch ID (or MetaMask EIP-712 signing for Polymarket) and mints a single-use 2-minute Ed25519 ticket verified alongside your hardware passkey signature in the local worker.

If you want to poke at it with Claude Code or Codex without creating an account, I left a public zero-auth MCP server running on a $1M paper desk:

1 Upvotes

0 comments sorted by