trackmcp
Back to directory

MCP server to fetch browser screenshots of DOM elements

4 stars JavaScriptWeb & Internet Tools Updated Aug 9, 2025

Documentation

domshot

MCP server to fetch browser screenshots of DOM elements.

https://github.com/user-attachments/assets/1ab36d65-32be-42f5-b3fc-97618c2e96a7

Installation

bash
$ git clone https://github.com/adtac/domshot.git
$ claude mcp add domshot -- $PWD/domshot/mcp.sh

Restart Claude.

Usage

Paste this in the Console tab of Chrome DevTools on the page you want to give Claude access:

js
const el = document.createElement("script"); el.src = "http://localhost:8000/embed.js"; document.head.appendChild(el);

Then ask Claude to call `get_browser_screenshot` and describe the result.

See example

code
$ claude
╭───────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code!                         │
│                                                   │
│   /help for help, /status for your current setup  │
│                                                   │
│   cwd: /Users/user/src/tmp/domshot                │
╰───────────────────────────────────────────────────╯

> call get_browser_screenshot tool and describe the result

⏺ I'll call the browser screenshot tool and describe what I see.

⏺ domshot:get_browser_screenshot (MCP)
  ⎿  
  ⎿  [Image]

⏺ The screenshot shows a simple red webpage with the text "RED" displayed in white text, centered on a solid
  red background.

License

MIT

Frequently asked questions

What is domshot?

domshot is MCP server to fetch browser screenshots of DOM elements

How do I install domshot?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is domshot open source?

Yes — it is hosted on GitHub at https://github.com/adtac/domshot and has 4 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP