Awesome
cognee-mcp-server
An MCP server for cognee, an AI memory engine.
Tools
Cognify_and_search
: Builds knowledge graph from the input text and performs search in it.- Inputs:
text
(String): Context for knowledge graph contstructionsearch_query
(String): Query for retrievalgraph_model_file
(String, optional): Filename of a custom pydantic graph model implementationgraph_model_name
(String, optional): Class name of a custom pydantic graph model implementation
- Output:
- Retrieved edges of the knowledge graph
- Inputs:
Configuration
Usage with Claude Desktop
Install uv with homebrew.
Add this to your claude_desktop_config.json:
<details> <summary>Using uvx</summary>"mcpcognee": {
"command": "uv",
"args": [
"--directory",
"/path/to/your/cognee-mcp-server",
"run",
"mcpcognee"
],
"env": {
"ENV": "local",
"TOKENIZERS_PARALLELISM": "false",
"LLM_API_KEY": “your llm api key”,
"GRAPH_DATABASE_PROVIDER": “networkx”,
"VECTOR_DB_PROVIDER": "lancedb",
"DB_PROVIDER": "sqlite",
"DB_NAME": “cognee_db”
}
}
</details>