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

# Claude Code

## Quick Install

```bash theme={null}
zenable install claude
```

<Note>Requires Claude Code 1.0.58+. See the [CLI command reference](/integrations/zenable/commands#install) for more options.</Note>

**That's it! You're all set.** Restart Claude Code and start using Zenable's conformance checking in your AI coding assistant.

This installs both the MCP server and Claude Code hooks for real-time code checking.

***

<Accordion title="Advanced: Manual MCP Configuration" icon="wrench">
  <Note>The below is a minimal example which may need to be merged with your existing configuration. Consider using the quick install command to handle this automatically.</Note>

  Place the following configuration:

  ```json theme={null}
  {
    "mcpServers": {
      "zenable": {
        "type": "http",
        "url": "https://mcp.zenable.app/"
      }
    }
  }
  ```

  In one of these file locations:

  <CodeGroup>
    ```bash Project theme={null}
    .mcp.json
    ```

    ```bash Global theme={null}
    ~/.claude.json
    ```
  </CodeGroup>

  <Warning>We only recommend this manual approach if you can't use `zenable install`. Otherwise, `zenable install` is much safer and can handle configuration upgrades over time, handles merges with existing configs, performs backups and logging in case of issues, and more.</Warning>
</Accordion>

<Accordion title="Advanced: Manual Hook Configuration" icon="bolt">
  <Note>Hooks run automatically after file edits to check for conformance issues. The quick install command sets this up for you.</Note>

  Place the following configuration in `.claude/settings.json` (project) or `~/.claude/settings.json` (global):

  ```json theme={null}
  {
    "hooks": {
      "PostToolUse": [
        {
          "matcher": "Write|Edit|MultiEdit",
          "hooks": [
            {
              "type": "command",
              "command": "zenable hook"
            }
          ]
        }
      ]
    }
  }
  ```

  This uses [Claude Code's PostToolUse hook](https://docs.anthropic.com/en/docs/claude-code/hooks) to run conformance checks after each file edit.
</Accordion>
