Browsershot MCP
browsershot-mcp
Browser screenshot tool for Claude Code. Take screenshots of web pages during frontend development — see what your UI looks like without leaving the terminal.
Install
One command:
claude mcp add browsershot -- npx -y github:kjaiswal/browsershot-mcpThat's it. Puppeteer + Chromium are bundled — no system dependencies needed.
What it does
Once installed, Claude Code gets three new tools:
Tool | What it does |
| Capture a webpage screenshot (full page or element) |
| Take mobile + tablet + desktop screenshots side by side |
| Get page metadata (fonts, colors, scroll height, resource counts) |
Claude sees the screenshots directly and can analyze layout, styling, and visual regressions.
Usage
Just describe what you want in natural language:
> Take a screenshot of http://localhost:3000
> Screenshot the nav bar element on my dev server
> Compare my page at mobile, tablet, and desktop widths
> Check if dark mode looks right on localhost:8080Tool parameters
screenshot
url— URL to capture (required)width/height— Viewport size (default: 1440×900)fullPage— Capture full scroll height (default: true)selector— CSS selector to capture a specific elementdevice— Preset:"mobile","tablet","desktop","4k", or Puppeteer device name like"iPhone 15 Pro"darkMode— Emulateprefers-color-scheme: darkwaitFor— Ms to wait after load (default: 2000) or CSS selector to wait foroutput— Custom file path
screenshot_compare
url— URL to capture (required)widths— Array of viewport widths (default: [375, 768, 1440])
page_info
url— URL to inspect (required)
Examples
Claude can now do things like:
"Take a screenshot of my React app and tell me if the layout looks broken"
"Screenshot this page on mobile and desktop — is the nav responsive?"
"Check if the dark mode toggle works by screenshotting both themes"
"What fonts and colors is this page using?"
How it works
Runs as an MCP (Model Context Protocol) server
Puppeteer launches headless Chromium (bundled, no install needed)
Screenshots are returned as images that Claude can see and analyze
Self-signed certs are accepted (for local dev servers)
Browser instance is reused across calls for speed
Requirements
Node.js 18+
Claude Code
License
MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kjaiswal/browsershot-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server