cognee-mcp
by topoteretes
cognee MCP server
Installing Manually
A MCP server project
- Clone the cognee repo
- Install dependencies
Copy
pip install uv
Copy
brew install postgresql
Copy
brew install rust
Copy
cd cognee-mcp
uv sync --dev --all-extras
- Activate the venv with
Copy
source .venv/bin/activate
- Add the new server to your Claude config:
The file should be located here: ~/Library/Application\ Support/Claude/
Copy
cd ~/Library/Application\ Support/Claude/
You need to create claude_desktop_config.json in this folder if it doesn't exist Make sure to add your paths and LLM API key to the file bellow Use your editor of choice, for example Nano:
Copy
nano claude_desktop_config.json
Copy
{
"mcpServers": {
"cognee": {
"command": "/Users/{user}/cognee/.venv/bin/uv",
"args": [
"--directory",
"/Users/{user}/cognee/cognee-mcp",
"run",
"cognee"
],
"env": {
"ENV": "local",
"TOKENIZERS_PARALLELISM": "false",
"LLM_API_KEY": "sk-"
}
},
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/{user}/Desktop",
"/Users/{user}/Projects"
]
}
}
}
Restart your Claude desktop.
Installing via Smithery
To install Cognee for Claude Desktop automatically via Smithery:
Copy
npx -y @smithery/cli install cognee --client claude
Define cognify tool in server.py Restart your Claude desktop.
To use debugger, run:
Copy
npx @modelcontextprotocol/inspector uv --directory /Users/name/folder run cognee
To apply new changes while development you do:
- Poetry lock in cognee folder
- uv sync --dev --all-extras --reinstall
- npx @modelcontextprotocol/inspector uv --directory /Users/vasilije/cognee/cognee-mcp run cognee
Memory manager for AI apps and Agents using various graph and vector stores and allowing ingestion from 30+ data sources