Skip to main content
MCP server CX Codex

OpenScreenShot — Claude Code MCP server: what it does, how to install

Captures full-page or viewport screenshots using your local browser or cloud rendering. Helpful for visual checks by AI agents.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env CHROME_PATH=<CHROME_PATH> --env OPENSCREENSHOT_API_KEY=<OPENSCREENSHOT_API_KEY> --env OPENSCREENSHOT_CLOUD_URL=<OPENSCREENSHOT_CLOUD_URL> --transport stdio mcp -- npx -y openscreenshot
Open on GitHub

What OpenScreenShot does

This MCP server gives AI agents a tool called capture_screenshot to render web pages. It interacts with your machine's preinstalled Chrome or Edge instances rather than packaging its own heavy binary. Captures can focus on a fixed viewport or document the full scroll height as a PNG image. Built-in redaction hides elements matching CSS selectors, pixel rectangles, or patterns like emails and secrets.

For local execution, the environment must provide a Node runtime starting from build 22.12 together with an existing desktop browser. Without an accessible Chrome or Edge installation, local capture commands fail immediately. Connecting to the optional cloud service removes local browser dependency and allows exporting into PDF or WebP.

What it helps with

  • capture entire scrollable web pages inside AI chats
  • test responsive designs by specifying custom viewport dimensions
  • mask sensitive emails, tokens, and UI elements on captured images
  • render web content to PDF or WebP using cloud endpoints

Example prompts for the agent

  • Capture a full-page screenshot of https://example.com and save it to page.png
  • Take a screenshot of https://example.com at 390 by 844 resolution to inspect the mobile layout
  • Screenshot https://example.com with email addresses and #profile-card redacted

How to install OpenScreenShot

1Platform CLI

claude mcp add --env CHROME_PATH=<CHROME_PATH> --env OPENSCREENSHOT_API_KEY=<OPENSCREENSHOT_API_KEY> --env OPENSCREENSHOT_CLOUD_URL=<OPENSCREENSHOT_CLOUD_URL> --transport stdio mcp -- npx -y openscreenshot

Replace <…> with your own values

2Platform CLI: remote server

claude mcp add --transport http mcp https://cloud.openscreenshot.app/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about OpenScreenShot

How do I install OpenScreenShot in Claude Code?

Run claude mcp add openscreenshot -e OPENSCREENSHOT_API_KEY=<OPENSCREENSHOT_API_KEY> -- npx -y openscreenshot to spin up a local instance. Alternatively, connect via HTTP using claude mcp add --transport http mcp https://cloud.openscreenshot.app/mcp.

What does OpenScreenShot do?

It provides browser automation tools for coding assistants to photograph web pages. The server can grab specific viewports or entire documents, with options to hide private data before saving.

What are the dependencies for local rendering?

You must have Node version 22.12 or later alongside an installed Chromium derivative such as Chrome or Edge. The npm package does not bundle a standalone browser executable.

Similar MCP servers

All MCP servers for Browser and scraping →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor