# view-sim

> view-sim is an open-source MCP server for design and media. Preview sites in phone, tablet and laptop frames and capture PNG screenshots. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Chrome extension, firefox-extension
- **Repository:** https://github.com/itelo/view-sim/tree/HEAD/mcp-server
- **MCP Registry name:** io.github.itelo/view-sim
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

It can drive the view-sim browser extension or run headlessly with Playwright, so an agent can open a URL inside a device frame, navigate, and save a transparent PNG screenshot. Frames include phones, tablets, MacBooks and large displays, shown in Safari, Chrome, Firefox or Zen styling.

Headless mode needs Playwright's Chromium and WebKit browsers installed once. A bridge connects the extension to the server, and setting VIEW_SIM_EXTENSION_IDS restricts which extensions may connect; leaving it unset allows any.

It runs locally over stdio from the view-sim-mcp npm package and is MIT licensed. The README points to the main view-sim repository for the full tool list.

## Features

- **Device frames:** Shows pages inside phone, tablet, laptop and display frames.
- **Browser styling:** Safari, Chrome, Firefox or Zen window chrome.
- **Transparent PNG capture:** Saves screenshots with transparent backgrounds.
- **Extension or headless:** Works through the browser extension or headlessly with Playwright.
- **Bridge restriction:** Limit which extension IDs can connect to the bridge.

## Good for

- Make marketing mockups of a site on a phone frame
- Check how a page looks across device sizes
- Capture screenshots for documentation
- Let an agent review responsive layout

## Install

### Claude Code (Terminal)

```sh
claude mcp add view-sim -- npx -y view-sim-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "view-sim": {
      "command": "npx",
      "args": [
        "-y",
        "view-sim-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "view-sim": {
      "command": "npx",
      "args": [
        "-y",
        "view-sim-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "view-sim": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "view-sim-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "view-sim": {
      "command": "npx",
      "args": [
        "-y",
        "view-sim-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "view-sim": {
      "command": "npx",
      "args": [
        "-y",
        "view-sim-mcp"
      ]
    }
  }
}
```

## FAQ

### How do I install it?

Run claude mcp add view-sim -- npx -y view-sim-mcp.

### Do I need Playwright?

Only for headless screenshots, after installing Chromium and WebKit once.

### How do I restrict the extension bridge?

Set VIEW_SIM_EXTENSION_IDS to the allowed extension ids.

### Which licence?

MIT.

### Is view-sim free?

Yes. view-sim is open source, so you can use and self-host it for free.

### How do I add view-sim to Claude Code?

Run this command in your terminal: claude mcp add view-sim -- npx -y view-sim-mcp

### What are the best alternatives to view-sim?

The closest alternatives to view-sim are REA, HyperFrames by HeyGen, Context7, Chrome DevTools MCP and Codebase Memory.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [HyperFrames by HeyGen](https://ai-powered.com/mcp/hyperframes-by-heygen): HyperFrames by HeyGen is a freemium MCP server for design and media.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/view-sim
