# Usercase

> Usercase is an MCP server. Ask real users on your site and run virtual users in a real browser, then fix what they hit. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Website:** https://usercase.io
- **MCP Registry name:** io.usercase/mcp
- **Listing updated:** 2026-11-14

## About

Ask real users on your site and run virtual users in a real browser, then fix what they hit.

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp --env USERCASE_API_KEY='<USERCASE_API_KEY>' -- npx -y @usercase/mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@usercase/mcp"
      ],
      "env": {
        "USERCASE_API_KEY": "<USERCASE_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@usercase/mcp"
      ],
      "env": {
        "USERCASE_API_KEY": "<USERCASE_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@usercase/mcp"
      ],
      "env": {
        "USERCASE_API_KEY": "<USERCASE_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@usercase/mcp"
      ],
      "env": {
        "USERCASE_API_KEY": "<USERCASE_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@usercase/mcp"
      ],
      "env": {
        "USERCASE_API_KEY": "<USERCASE_API_KEY>"
      }
    }
  }
}
```

## FAQ

### How do I add Usercase to Claude Code?

Run this command in your terminal: claude mcp add mcp --env USERCASE_API_KEY='<USERCASE_API_KEY>' -- npx -y @usercase/mcp

---
Source: https://ai-powered.com/mcp/usercase
