Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Reverse-engineered Claude for Chrome extension with API Key support - bypassing OAuth and subscription checks

Notifications You must be signed in to change notification settings

Elity/Claude-Chrome-Reverse

Repository files navigation

Claude for Chrome - API Key Edition

A modified version of the official "Claude for Chrome (Beta)" extension that enables API Key mode, allowing you to use the extension with your own Anthropic API key instead of requiring an OAuth login.

Features

  • API Key Support: Use your own Anthropic API key
  • Custom API URL: Connect to custom API endpoints (e.g., API proxies, local servers)
  • No Subscription Required: Bypass subscription checks
  • Full Functionality: All original features remain intact
  • Privacy Focused: Direct API communication without OAuth intermediaries

Prerequisites

Installation

Since this is a modified version, it cannot be published to the Chrome Web Store. You'll need to install it manually as an "unpacked extension":

Step 1: Download the Extension

  1. Download or clone this repository to your local machine
  2. Unzip the files (if downloaded as a zip)
  3. Remember the folder location (e.g., /Users/yourname/Downloads/Claude-Chrome)

Step 2: Enable Developer Mode in Chrome

  1. Open Chrome and navigate to chrome://extensions
  2. In the top-right corner, toggle "Developer mode" ON
  3. You should now see additional options like "Load unpacked"

Step 3: Load the Extension

  1. Click the "Load unpacked" button
  2. Navigate to the folder where you extracted the extension
  3. Select the folder and click "Select" (or "Open")
  4. The extension should now appear in your extensions list

Step 4: Configure Your API Key

  1. Click the extension icon in your Chrome toolbar (you may need to pin it first)
  2. Click the settings/gear icon or right-click the extension and select "Options"
  3. In the left sidebar, select "API configuration (internal)"
  4. (Optional) Enter a custom API Base URL if using a proxy or local server
    • Example: http://localhost:23333/api/anthropic
    • Leave empty to use the default Anthropic API (https://api.anthropic.com)
  5. Enter your Anthropic API key in the input field
  6. Click "Save API Configuration"

Usage

Opening Claude

  • Keyboard Shortcut: Press Cmd+E (Mac) or Ctrl+E (Windows/Linux)
  • Extension Icon: Click the Claude icon in your browser toolbar

Using the Chat Interface

  1. Open the side panel using the shortcut or icon
  2. Type your message in the input box
  3. Claude will respond using your API key

Managing Permissions

  • Navigate to Options > Permissions to manage site permissions
  • Grant Claude access to specific websites as needed

Important Notes

⚠️ This is NOT an official release: This extension has been modified from the official version and is not endorsed by Anthropic.

⚠️ API Costs: Usage will be charged to your Anthropic API account. Monitor your usage at console.anthropic.com.

⚠️ Updates: This version will not auto-update. You'll need to manually download and install new versions.

⚠️ Security: Only install extensions from sources you trust. Review the code if you have concerns.

Troubleshooting

Extension doesn't load

  • Make sure Developer mode is enabled
  • Try reloading the extension from chrome://extensions

API Key not working

  • Verify your API key is correct at console.anthropic.com
  • Check that you've saved the key in the extension options
  • Try reloading the extension after saving the key

Custom API URL not working

  • Ensure your custom endpoint is compatible with the Anthropic API format
  • The endpoint should support /v1/messages path
  • Check that CORS headers are properly configured on your server
  • For local servers, make sure the server is running and accessible

Chat interface shows login screen

  • Reload the extension from chrome://extensions
  • Reopen the side panel

License

This project is a modification of the official Claude for Chrome extension. Original copyright belongs to Anthropic.

⚠️ Disclaimer

FOR RESEARCH AND TESTING PURPOSES ONLY

This project is an unofficial modification of the Claude for Chrome extension, created solely for educational, research, and testing purposes. By using this modified extension, you acknowledge and agree that:

  • ❌ This is NOT an official Anthropic product

  • ❌ This project is NOT endorsed, supported, or affiliated with Anthropic

  • ❌ Use of this extension is entirely at your own risk

  • ❌ The authors and contributors accept NO responsibility or liability for:

    • Any damages, losses, or issues arising from the use of this extension
    • API costs incurred through usage
    • Data loss or privacy concerns
    • Violations of any terms of service
    • Any other direct or indirect consequences
  • ⚠️ Users are responsible for:

    • Ensuring compliance with Anthropic's Terms of Service
    • Monitoring and managing their API usage and costs
    • Understanding the security implications of running modified browser extensions
    • Any consequences resulting from the use of this software

BY DOWNLOADING, INSTALLING, OR USING THIS EXTENSION, YOU ACKNOWLEDGE THAT YOU HAVE READ THIS DISCLAIMER AND AGREE TO ASSUME ALL RISKS ASSOCIATED WITH ITS USE.

About

Reverse-engineered Claude for Chrome extension with API Key support - bypassing OAuth and subscription checks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published