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

# Gemini CLI

> Add SearchTheTrend to gemini-cli's settings.

<Steps>
  <Step title="Generate a key">
    [Settings → Connect your AI](https://searchthetrend.com/settings/mcp) → **Generate key**.
  </Step>

  <Step title="Edit settings.json">
    Add to `~/.gemini/settings.json`:

    ```json theme={null}
    {
      "mcpServers": {
        "searchthetrend": {
          "httpUrl": "https://searchthetrend.com/api/mcp",
          "headers": {
            "Authorization": "Bearer stt_YOUR_KEY"
          }
        }
      }
    }
    ```
  </Step>

  <Step title="Verify">
    Run `gemini` and use `/mcp` to confirm the server is connected.
  </Step>
</Steps>
