If you are new to Claude Code itself, first take a look at the Getting Started and MCP chapters of their docs:
- Claude Code Getting Started
- Claude Code MCP. You can find multiple ways to connect to a MCP server here.
Start the cognee MCP server
Install Claude Code
Navigate to your project directory
Run the Claude Code CLI
Tell Claude Code to add the server
mcp add cognee
– registers a new server named cognee.-s project
– stores in .mcp.json
, so each developer approves it once per project. Omit for user‑level scope.-e
flags – env‑vars required by cognee.uv … cognee
command is how Claude Code spawns the server.Restart Claude Code and approve the server