# Claude Code

Add the authenticated Fabric code graph and governed Fractal memory to [Claude Code](https://claude.com/claude-code).

## Prerequisites

Node.js 20.18.1+, a Cognisos account, Claude Code 2.x, and a marked project you want indexed.

## Install

```bash
cd /path/to/your/project
npx -y @cognisos/fabric-mcp@beta-candidate setup
```

Setup signs you in through Cognisos, stores the credential in the OS keychain,
verifies both local engines, and atomically registers one private exact wrapper.
`setup --local` is not a public beta path.

## Verify

Restart Claude Code, then run `/mcp`. You should see one `fabric` connector as
**connected**, with both `fabric_*` and `fractal_*` tools.

The required Fabric Code Indexer daemon should be ready. The separate Fractal
background capture daemon is optional and off by default; `not_running` there
does not mean the connector failed.

## Try it

```text
> Use fabric_explain to explain `parseDoc`, use fabric_impact to show what it can affect, then recall the governed decision that explains why it exists.
```

Claude combines the local graph with governed cross-session memory. Project
source is not uploaded by the local engines.

## See also

* [Cursor](/integrations/cursor) — same Fabric, different host
