adtac/domshot
3.3
If you are the rightful owner of domshot and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Domshot is an MCP server designed to capture browser screenshots of DOM elements.
Tools
get_browser_screenshot
Captures a screenshot of the current browser view and returns the image for analysis.
domshot
MCP server to fetch browser screenshots of DOM elements.
https://github.com/user-attachments/assets/1ab36d65-32be-42f5-b3fc-97618c2e96a7
Installation
$ 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:
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
$ 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