| .. | ||
| cognee_mcp | ||
| pyproject.toml | ||
| README.md | ||
| uv.lock | ||
cognee MCP server
-
Clone the cognee repo
-
Install dependencies
cd cognee-mcp
uv sync --dev --all-extras
- Activate the venv with
source .venv/bin/activate
- Add the new server to your Claude config:
"cognee": {
"command": "uv",
"args": [
"--directory",
"/{Absolute path to cognee directory}/cognee-mcp",
"run",
"cognee"
],
"env": {
"ENV": "local",
"TOKENIZERS_PARALLELISM": "false",
"LLM_API_KEY": "add_your_api_key_here",
}
}
Then, edit the pyproject.toml in your new folder so that it includes packages from the cognee requirements. Use the pyproject.toml in your cognee library for this, but match the syntax of the automatically generated pyproject.toml so that it is compatible with uv.
Define cognify tool in server.py Restart your Claude desktop.