> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stophy.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code

> Add Stophy to Claude Code with one command. Start without an API key, then sign in with your browser or add an API key to use every tool.

Run this in your terminal. It adds Stophy to [Claude Code](https://code.claude.com) with the free endpoints.

```bash theme={null}
claude mcp add --transport http stophy https://api.stophy.dev/mcp
```

Run `claude mcp get stophy` to check it.

## Sign in with your browser

```bash theme={null}
claude mcp add --transport http stophy https://mcp.stophy.dev/mcp
```

Type `/mcp` in Claude Code, choose `stophy`, and pick **Authenticate**. After you sign in, every tool works.

## Use an API key

```bash theme={null}
claude mcp add --transport http stophy https://api.stophy.dev/mcp --header "Authorization: Bearer $STOPHY_API_KEY"
```

Set `STOPHY_API_KEY` first. [Get an API key](https://stophy.dev/signup). Your shell fills it in, and Claude Code saves it on your machine. Add `--scope user` to use Stophy in every project.

## Try it

```text theme={null}
Use Stophy to find the top Reddit posts about Bun this week and summarize them.
```

If you see two `stophy` servers, run `claude mcp remove stophy` and add the one you want.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.