@alexstrnik/claude-devtools

Host server for Claude DevTools Chrome extension
885 11
Install
npm install @alexstrnik/claude-devtools
Latest Version:0.0.15
License:MIT
Last Updated:Oct 1, 2025
Links: GitHub  ·  npm
Maintainer: alexstrnik

Claude DevTools

Claude DevTools

Fix your frontend code right from DevTools.

Pick a component, write your prompt, and send it directly to Claude Code—without leaving the page.


Quick Start

1. Install the host server

npm install -g @alexstrnik/claude-devtools

2. Install the Chrome extension

Option A: Download latest release (Easiest)

  1. Go to Releases
  2. Download claude-devtools-chrome-vX.X.X.zip
  3. Open Chrome → Extensions → Enable Developer mode
  4. Drag and drop the zip file directly onto the Extensions page

Option B: Clone from source

  1. Clone this repo: git clone https://github.com/AlexStrNik/claude-devtools
  2. Open Chrome → Extensions → Enable Developer mode
  3. Click Load unpacked → select chrome-extension folder

3. Start the host server

In your project directory:

claude-devtools

The claude-devtools command works just like the regular claude CLI. It starts an interactive Claude Code session and accepts all the same arguments (except --version), which are passed directly to the underlying Claude process.


Usage

  1. Open DevTools → Claude DevTools tab
  2. Click Pick Element → select a component on the page
  3. Write your prompt or question
  4. Hit Send to Claude (or Cmd/Ctrl+Enter)

Your element's context is sent directly to Claude, including:

  • Component name, props, and hierarchy paths
  • DOM structure and computed styles
  • Screenshot (macOS only)

Features

  • React support: Full component detection with props and source locations (React <19 and React 19+)
  • Preact support: Component hierarchy detection via Preact DevTools (requires Preact DevTools extension)
  • Angular support: Complete component hierarchy (tested on Angular 17)
  • Vue support: Component detection for Vue 2 and Vue 3
  • Svelte support: Component hierarchy with source locations
  • Screenshots: Automatic element capture for visual context (macOS only)
  • Customizable context: Toggle what data to include before sending

Development

# Clone repository
git clone https://github.com/AlexStrNik/claude-devtools

# Install host dependencies
cd claude-devtools
pnpm install

# Start server
pnpm start

Load the extension from the chrome-extension folder in Chrome DevTools.


Roadmap

  • Screenshot support for Linux/Windows
  • Additional framework support

License

MIT

Related Packages

@formkit/auto-animate

Add motion to your apps with a single line of code.

42,768,396 13,935
hcx

HTML Compiler - Routeless, targetless, remote, runnable routes and more ...

468
element-source-dev

Get the source file location of any DOM element in the browser

590
browser-shortcuts

Declarative keyboard, mouse and wheel shortcuts for React, Preact, Vue, Svelte,...

520 0

Version History

Version Released License
0.0.15 MIT
0.0.14 MIT
0.0.13 MIT
0.0.12 MIT
0.0.11 MIT