Add the server
That is the whole setup. Claude Code stores the server in your config and opens browser
authorization the first time it connects.
Verify
You should see hive listed and connected. If it says it needs authentication, run:
claude mcp login needs an interactive terminal. By default it opens a browser; over SSH or
in a headless shell, claude mcp login hive --no-browser prints the authorization URL and
waits for you to paste the redirect back. Neither form completes inside a CI job.
Ask something
Start a fresh Claude Code session, then:
What is Ethereum trading at? Use Hive.
The answer should name a provider and a fetch time.
Headless use
For CI or a script where no browser is available, skip OAuth and use a key:
Keep the key in an environment variable. See authentication.