# Tab Hammer

> Tab Hammer is an MCP server for browser automation. Lets AI agents list, group, move, focus, open and close browser tabs. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** Chrome extension, macOS, Windows, Linux, CLI
- **Repository:** https://github.com/boltcreative/tab-hammer/tree/HEAD/packages/mcp
- **MCP Registry name:** io.github.BoltCreative/tab-hammer
- **Categories:** [browser automation](https://ai-powered.com/categories/browser-automation)
- **Listing updated:** 2026-11-15

## About

Tab Hammer's server depends on the Tab Hammer browser extension: the extension does the tab work, and this package is the bridge that lets an agent reach it. A one-time install command registers a native messaging host with each Chromium browser it finds (Chrome and its Beta, Dev and Canary builds, Chromium, Brave, Edge and Arc) and adds the server to the agents on the machine, including Claude Code, Claude Desktop, Codex, Cursor, VS Code, Windsurf and Devin Desktop.

The browser launches the host, which relays messages between the extension and the server over a local socket (a per-user named pipe on Windows). Both are copied into a folder in your home directory and run with the Node version you installed with, which must be 22 or newer.

A built-in doctor command checks each browser's registration, whether the extension is connected and each agent's config, then says how to fix what is wrong. An uninstall command undoes what install did.

## Features

- **One-command install:** The install command registers the host with every Chromium browser and agent it detects.
- **Doctor command:** Checks browser registration, extension connection and agent configs and suggests fixes.
- **Clean uninstall:** Removes exactly what the install step added.
- **Target filters:** Flags let you limit install or uninstall to chosen browsers or agents.
- **Local-only link:** The host and server talk over a local socket rather than a remote service.

## Good for

- Ask an agent to group related tabs before a research session
- Have an agent close tabs left over from a finished task
- Open a set of pages and focus the right one on request
- Tidy a crowded window by moving tabs into groups

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add tab-hammer -- npx -y tab-hammer-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

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

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

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

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "tab-hammer": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tab-hammer-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add tab-hammer -- npx -y tab-hammer-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.tab-hammer]
command = "npx"
args = ["-y", "tab-hammer-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

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

Or run: gemini mcp add -s user tab-hammer npx -- -y tab-hammer-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

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

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

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

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "tab-hammer": {
      "command": "npx",
      "args": [
        "-y",
        "tab-hammer-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

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

Use .kiro/settings/mcp.json to add it to one workspace only.

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

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

## FAQ

### Which browsers does Tab Hammer support?

The installer registers with Chrome (including Beta, Dev and Canary), Chromium, Brave, Edge and Arc.

### What Node version is needed?

Node 22 or newer.

### Do I need the Tab Hammer extension?

Yes. The server works through the Tab Hammer extension, which must be installed and connected.

### How do I update Tab Hammer?

Install copies the server, so update with npx tab-hammer-mcp@latest install.

### How do I add Tab Hammer to Claude Code?

Run this command in your terminal: claude mcp add tab-hammer -- npx -y tab-hammer-mcp

### What are the best alternatives to Tab Hammer?

The closest alternatives to Tab Hammer are Tabhand, browsentic, Browser Core, NexusBrowser and Agent360 Browser MCP.

## Where this comes from

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

## Alternatives

- [Tabhand](https://ai-powered.com/mcp/tabhand): Tabhand is an open-source MCP server for browser automation.
- [browsentic](https://ai-powered.com/mcp/browsentic-2): browsentic is an open-source MCP server for browser automation.
- [Browser Core](https://ai-powered.com/mcp/browser-core): Browser Core is an MCP server for browser automation.
- [NexusBrowser](https://ai-powered.com/mcp/nexusbrowser): NexusBrowser is an open-source MCP server for browser automation.
- [Agent360 Browser MCP](https://ai-powered.com/mcp/agent360-browser-mcp): Agent360 Browser MCP is an open-source MCP server for browser automation.
- [Tether](https://ai-powered.com/mcp/tether-2): Tether is an open-source MCP server for browser automation.
- [Agentic Browser](https://ai-powered.com/mcp/agentic-browser): Agentic Browser is an open-source MCP server for browser automation.
- [Usable Browser Agent](https://ai-powered.com/mcp/usable-browser-agent): Usable Browser Agent is a freemium MCP server for browser automation.

---
Source: https://ai-powered.com/mcp/tab-hammer
