# Stophy MCP server

> Enables AI agents to search, scrape, crawl, and extract data from the live web using specialized parsers.

- Repository: https://github.com/stophydotdev/stophy
- Page: https://hostedmcp.org/servers/stophydotdev/mcp
- Transport: stdio, remote
- Stars: 0
- Latest version: 1.3.1

## Install

### Claude Code

```sh
claude mcp add --env 'STOPHY_API_KEY=<YOUR_STOPHY_API_KEY>' mcp -- npx -y @stophy/mcp
```

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

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

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

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

### VS Code CLI

```sh
code --add-mcp '{"name":"mcp","type":"stdio","command":"npx","args":["-y","@stophy/mcp"],"env":{"STOPHY_API_KEY":"<YOUR_STOPHY_API_KEY>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

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

### Codex

```sh
codex mcp add mcp --env 'STOPHY_API_KEY=<YOUR_STOPHY_API_KEY>' -- npx -y @stophy/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "@stophy/mcp"]

[mcp_servers.mcp.env]
STOPHY_API_KEY = "<YOUR_STOPHY_API_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'STOPHY_API_KEY=<YOUR_STOPHY_API_KEY>' mcp npx -- -y @stophy/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

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

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `STOPHY_API_KEY` | no | yes | Optional Stophy API key for every tool. Without it, only the endpoints that need no key work, within a free allowance. Get one at https://stophy.dev/signup. |

## Tools (9)

- `stophy_search`
- `stophy_scrape`
- `stophy_map`
- `stophy_crawl`
- `stophy_extract`
- `stophy_search_endpoints`
- `stophy_describe_endpoint`
- `stophy_call`
- `stophy_signup`

## FAQ

### How can I use Stophy without an API key?

You can connect to the hosted server without a key to access endpoints marked as keyless within a free allowance.

### Can I get structured data like Reddit searches or YouTube transcripts?

Yes, you can use the stophy_scrape tool with specific parsers to get a site's own data as JSON.
