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

# Use Nika with Claude Code

> One command wires the read-only Nika oracle into Claude Code — plus the first-party plugin with the authoring skill and /nika:* commands.

Claude Code gets two Nika surfaces: the MCP oracle — schema, validation and
cost answers without shell round-trips
([what it exposes and refuses](https://docs.nika.sh/reference/mcp-server.md)) — and the first-party
plugin. The binary comes first: `brew install supernovae-st/tap/nika`
([other paths](https://docs.nika.sh/getting-started/installation.md)).

```sh theme={"system"}
nika wire claude
```

## What it writes

`~/.claude.json` — the `nika` entry lands under `mcpServers`; every
unrelated server and setting survives, and re-running prints `· current`
(idempotent). Prefer manual? Add the same block yourself:

```json theme={"system"}
{ "mcpServers": { "nika": { "command": "nika", "args": ["mcp"] } } }
```

## The plugin (skill + commands)

```sh theme={"system"}
claude plugin marketplace add supernovae-st/nika-plugins
claude plugin install nika@nika   # authoring skill + /nika:* commands + oracle
```

Then `nika init` in the repo — the agent-teaching surface (`AGENTS.md`,
rules, the repo skill) is what makes the oracle useful
([agents guide](https://docs.nika.sh/getting-started/agents.md)).

## Keep it fresh

Two things move, on the same release train — the plugin never updates
the binary, and brew never updates the plugin. Claude Code's plugin
update is TWO rungs (proven live: an install once sat three releases
behind, silently, with a fresh clone right next to it):

```sh theme={"system"}
brew upgrade nika                        # the binary
claude plugin marketplace update nika    # rung 1: refresh the clone
claude plugin update nika@nika           # rung 2: move the install — then restart
```

`nika doctor` answers "is my suite coherent?" — from v0.107 it reads
the install rung (what your sessions actually load), names any kit
lagging or leading the binary's train, and prints both rungs when
Claude Code needs the climb. Drift is advisory (warn · exit 0), so it
never breaks automation.

## Verify

`claude mcp list` shows `nika`, and the tool list carries the nine
`nika_*` tools. Then prove the loop end-to-end:
[integrate in 10 minutes](https://docs.nika.sh/integrations/quickstart.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.