smy383

Claude API Bridge — Development skill for Claude Code

Development community

Turn your Claude Code subscription into a REST API.

How to install Claude API Bridge

This entry records only its repository, not the path inside it, so there is no exact command to give. Open smy383/claude-api-bridge and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude API Bridge does

Turn your Claude Code subscription into a REST API. Access Claude Code from anywhere with a single command.

Alternatives in Development

  • WP REST API — WordPress REST API development 902 ★
  • Openclaw Billing Proxy — Route OpenClaw API requests through Claude Code subscription billing instead of Extra Usage 460 ★
  • Discover Profiles — Help users manage TabzChrome profiles via the REST API 146 ★

README

claude-api-bridge

Turn your Claude Code subscription into a REST API.
Access Claude Code from anywhere — your website, scripts, bots, or any app.

Quick Start • How It Works • API Reference • Examples


Why?

If you're already paying for Claude Code (Max plan), you have access to an incredibly powerful AI right in your terminal. **claude-api-bridge** lets you get more out of that subscription — use it from your web apps, scripts, bots, CI pipelines, or any service.

Anthropic does have an official API, but it's pay-per-token — a separate cost. Since you're already paying for a subscription, why not use what you've got?

Existing open-source wrappers work great but are limited to `localhost`. **claude-api-bridge** adds **remote access** via Cloudflare Tunnel — so you get a secure HTTPS endpoint accessible from anywhere, with just one command.

npx claude-api-bridge start

That's it. You now have a REST API for Claude Code.

  ✅  Claude Code CLI detected
  🚀  API server running on http://localhost:3456
  🔑  Admin Token: cab-a1b2c3d4e5f6...
  🌐  Public URL: https://random-words.trycloudflare.com

Features

Feature Description
🚀 One-command setup npx claude-api-bridge start — no config files, no env vars
🌐 Remote access Auto-connects Cloudflare Tunnel with HTTPS. No port forwarding, no ngrok
🔑 Token auth Create, revoke, expire API tokens. SHA256 hashed — raw tokens never stored
💬 Session modes Stateless (fresh each time) or Stateful (conversation memory)
📊 Web dashboard Monitor queue, requests, and token usage at /dashboard
🔒 Secure by default Rate limiting, CSP headers, request size li