ClawRelay: macOS-native OpenAI-compatible LLM proxy with automatic failover

What ClawRelay does
ClawRelay is a native Swift application for macOS 15+ that runs an OpenAI-compatible HTTP server locally. You configure LLM providers in priority order (OpenAI, Groq, Nvidia NIMs, Ollama, or any service with a /v1/chat/completions endpoint). When a request comes in, it tries the first provider and automatically falls back to the next if there's a failure (rate limit, 5xx error, or timeout).
Setup and configuration
The app runs in the system tray with quick access and a full settings window. Provider API keys are stored in macOS Keychain. No Docker, Node.js, or config files are required.
To connect your tools:
- Base URL:
http://localhost:11434/v1 - API Key: optional for local use, can be generated in-app for LAN or tunnel setups
Works with Cursor, Continue.dev, LM Studio, the Python openai library, and any tool that accepts a custom base URL.
openClaw integration
For openClaw users, one command wires it up:
bash <(curl -fsSL https://www.desertstack.dev/clawrelay/enable-provider.sh ) \
--provider-id "clawrelay" \
--base-url "http://localhost:11434/v1" \
--api-key "claw_relay_key" \
--api "openai-completions" \
--model-id "clawrelay" \
--model-name "ClawRelay"Generate your key from the Servers tab in ClawRelay. Requires jq and the openclaw CLI.
Deployment options
Beyond localhost, you can bind ClawRelay to your LAN interface to reach it from any device on your network. You can also put Cloudflare Tunnel or ngrok in front to expose it to the internet. The same app and configuration work for all deployment scenarios.
Built-in features
- Request logs included
- System tray access
- Full settings window
- macOS Keychain storage for API keys
- Native Swift implementation
📖 Read the full source: r/clawdbot
👀 See Also

Meta Ads MCP OAuth Works But Most Ad Accounts Not Enabled Yet
Meta Ads MCP OAuth flow works and loads 29 tools, but ads_get_ad_accounts returns is_ads_mcp_enabled: false with a message that the feature is gradually rolling out.

Brainstorm MCP Server Lets Claude Code Consult Other LLMs for Better Answers
A developer built an MCP server that enables Claude Code to consult with other AI models like GPT-5.2 and DeepSeek before providing answers. The models engage in multi-round debates where they read each other's responses, disagree, and refine positions to converge on better solutions.

Banker Creates Credit Due Diligence Tool with 31 AI Prompts Using Only Claude
A banker with 17 years of MSME credit underwriting experience in India has open-sourced 31 AI prompts that transform a visiting card into a full credit due diligence report, compressing a 3-4 week process to 30 minutes. The tool was built entirely through conversation with Claude, without writing any code.

Atuin v18.13 adds AI shell commands, faster search daemon, and PTY proxy
Atuin v18.13 introduces three major features: an AI-powered English-to-Bash helper called atuin ai, a faster search daemon with in-memory indexing, and a PTY proxy called hex that enables popup rendering without clearing terminal output.