Skip to main content
How to set up Ref with Claude Code.

Install

Run the claude install command. You can copy a version of the command with your API key pre-populated at ref.tools/install
claude mcp add --transport http Ref https://api.ref.tools/mcp --header "x-ref-api-key: <YOUR_API_KEY>"
You can find your API key at ref.tools/keys

Verify

Run the command:
claude mcp list
You should see:
➜  claude mcp list
Ref: https://api.ref.tools/mcp (HTTP)

Get help

If you have any issues, please reach out to help@ref.tools. We’re happy to help you get started!