URL: /docs/mcp/install/claude-code

---
title: Claude Code
description: Connect the Revised MCP server to Claude Code from the CLI, over OAuth or with an API key.
---

The endpoint is `https://getrevised.com/api/mcp`.

## OAuth (recommended)

```bash
claude mcp add --transport http revised https://getrevised.com/api/mcp
```

Nothing else is needed. The first call opens a browser tab for the OAuth handshake; sign in to your Revised account and accept the consent screen. Claude Code stores the token and refreshes it on its own, so no key is written to a configuration file.

## API key

For CI, a container, or anywhere without a browser to sign in from. Create a key at [getrevised.com/account](https://getrevised.com/account) — free on every plan.

```bash
claude mcp add --transport http revised https://getrevised.com/api/mcp \
  --header "Authorization: Bearer rvd_yourprefix_yoursecret"
```

## Verify

```bash
claude mcp list
```

Then, in a chat:

> What plan am I on with Revised?

Claude Code should call `whoami` and report the plan, the reveals left this month and the rate limit. If it calls nothing, the server is not connected; check `claude mcp list` for the entry and its status.

## Remove it

```bash
claude mcp remove revised
```

## Notes

- Nine tools are exposed. `reveal_domain` is the only one that can spend; see [Tools](/docs/mcp/tools).
- MCP calls and REST calls share one per-minute counter per key. See [Rate limits](/docs/api/rate-limits).
- The server sends instructions on connect covering what the metrics mean and when a reveal costs quota, so the assistant does not have to be told.
