Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Bridges a browser extension with an AI agent via MCP, enabling the agent to capture and act on UI elements, styles, and accessibility data from web pages.

README.md

LoopIn

Give your AI coding agent eyes on the browser. Capture UI elements, text, styles, and accessibility data — then send it all directly to your agent via MCP.

How It Works

Browser Extension → HTTP → LoopIn Server → MCP (stdio) → AI Agent

LoopIn runs a local server that bridges your browser and your AI agent. The Chrome extension captures elements you click on, enriches them with context (HTML, CSS, selectors, accessibility attributes, React components), and sends it to the server. Your agent reads captures through MCP tools — no copy-paste, no screenshots.

Two Ways to Use LoopIn

Option A: Local Agent (Claude Code on your machine)

The simplest setup. Everything runs on one machine.

┌─────────────┐     ┌──────────────┐     ┌─────────────┐
│   Chrome     │────▶│ LoopIn Server│────▶│ Claude Code │
│  Extension   │     │  (port 3456) │     │   (local)   │
└─────────────┘     └──────────────┘     └─────────────┘
         Your laptop

1. Install & build

git clone https://github.com/skip5this/LoopIn.git
cd LoopIn
npm install
npm run build

2. Add LoopIn as an MCP server

Add to your ~/.claude.json:

{
  "mcpServers": {
    "loopin": {
      "command": "node",
      "args": ["/path/to/LoopIn/dist/server.js"]
    }
  }
}

3. Restart Claude Code so it picks up the new MCP server.

4. Load the Chrome extension

  • Open chrome://extensions
  • Enable "Developer mode"
  • Click "Load unpacked" → select the extension/ folder
  • Pin LoopIn to your toolbar

5. Capture

  • Click the LoopIn icon to activate
  • Click any element on a page
  • Add context ("Make this button green", "Fix the alignment here")
  • Hit Capture
  • In Claude Code: "What did I just capture?" or "Any pending tasks?"

That's it. Your agent can now see what you see.

---

Option B: Remote Agent (OpenClaw / another machine)

This is for when your AI agent runs on a different machine than your browser — like an always-on server, a home lab setup, or an OpenClaw agent.

┌─────────────┐     ┌──────────────┐            ┌──────────────┐
│   Chrome     │────▶│ LoopIn Server│───── network ────▶│  AI Agent    │
│  Extension   │     │  (port 3456) │            │ (other machine)│
└─────────────┘     └──────────────┘            └──────────────┘
    Your laptop         Your laptop              Server / iMac / etc.

The key difference: your agent can't use stdio MCP directly because it's on a different machine. Instead, the agent hits LoopIn's HTTP API over the network.

1. Set up LoopIn on your laptop

Same as Option A — install, build, load the extension. But you'll also need to make the server accessible on your network:

# Start the server (it listens on all interfaces by default on port 3456)
npm run build && node dist/server.js

2. Configure your agent to reach LoopIn

Your remote agent needs to know your laptop's IP and LoopIn's port. The agent calls the HTTP API directly:

# Check for new captures
curl http://YOUR_LAPTOP_IP:3456/captures

# Get the latest capture
curl http://YOUR_LAPTOP_IP:3456/captures/latest

# Get pending tasks (captures with instructions)
curl http://YOUR_LAPTOP_IP:3456/tasks/pending

# Mark a task done
curl -X POST http://YOUR_LAPTOP_IP:3456/tasks/0/done

3. Webhook notifications (optional)

Want your agent to be notified instantly when you capture something? Set the OPENCLAW_WEBHOOK_URL environment variable:

OPENCLAW_WEBHOOK_URL=http://AGENT_IP:PORT/webhook node dist/server.js

LoopIn will POST to that URL every time a capture comes in — so your agent doesn't have to poll.

4. Extension settings

If the LoopIn server is running on a different machine than Chrome (less common), open the extension settings (gear icon) and change the server URL from http://localhost:3456 to http://SERVER_IP:3456.

Real-world example: This is exactly how we use LoopIn. Scott browses on his MacBook, captures UI elements, and Rene (an OpenClaw agent running on an iMac across the room) picks them up over the local network and acts on them.

---

Chrome Extension Controls

| Button | Action | |--------|--------| | ● Capture | Toggle capture mode — hover to highlight, click to capture | | 📋 Tasks | View all captures in a session panel | | ⚙ Settings | Server URL, connection status |

MCP Tools (Local Agent)

| Tool | Description | |------|-------------| | get_captured_element | Get the most recent capture | | list_captures | List all captures with timestamps | | get_capture | Get a specific capture by index | | clear_captures | Clear all captures | | get_pending_tasks | Get captures that have instructions attached | | mark_task_done | Mark a task as complete | | get_console_errors | Get captured console errors from the page |

HTTP API (Remote Agent)

| Endpoint | Method | Description | |----------|--------|-------------| | /health | GET | Server status check | | /stats | GET | Capture count and server info | | /captures | GET | List all captures | | /captures/latest | GET | Most recent capture | | /capture/element | POST | Submit a capture (used by extension) | | /tasks/pending | GET | Captures with instructions | | /tasks/:index/done | POST | Mark task complete |

What Gets Captured

Every element capture includes:

  • HTML — Tag, classes, inner content
  • CSS — Computed colors, spacing, layout, typography
  • Selector — Unique path to the element
  • Dimensions — Width, height, position
  • Context — Heading hierarchy, data attributes
  • React Components — Fiber tree (when available)
  • Your Instructions — Whatever context you add ("Make this green", "Fix the spacing")

Environment Variables

| Variable | Default | Description | |----------|---------|-------------| | BROWSER_BRIDGE_PORT | 3456 | Port for the HTTP server | | OPENCLAW_WEBHOOK_URL | — | URL to POST capture notifications to |

Privacy

All data stays local. LoopIn runs entirely on your machine — no cloud services, no telemetry, no data collection. Captures exist only in memory and are cleared when the server restarts. See PRIVACY.md for details.

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Browser & Scraping servers.