Claude Code
Add Fabric to Claude Code so the agent has persistent memory and code-graph tools across sessions.
Prerequisites
Node.js 20+, Claude Code 2.x, and a repo you want indexed.
Install
npx -y @cognisos/fabric-mcp@beta setupThe setup wizard registers Fabric in ~/.claude/mcp_settings.json.
Verify
Restart Claude Code, then run /mcp — you should see fabric listed as connected.
Try it
> Index this repo with fabric_index, then use fabric_explain to tell me what calls `parseDoc`.Claude answers from the local graph — no source upload.
See also
- Cursor — same Fabric, different host
