Cognee, from topoteretes, is an official MCP server that turns your data into a knowledge graph so agents have persistent long-term memory. If you are building an agent that needs to remember and reason across information over time, this gives it a structured place to store and recall it.
Why use it
Most agents forget everything between sessions. Cognee ingests your data, builds a knowledge graph from it, and lets the agent query that graph later, so context survives past a single conversation and relationships between facts stay intact.
What it actually does
You feed it data, it structures that into a graph, and the agent reads from it as memory. Example prompts:
- ‘Ingest these meeting notes into memory and link the people mentioned.’
- ‘What do we know about this customer from everything ingested so far?’
- ‘Recall the decisions we made about the pricing model.‘
Gotchas
This is a developer tool, not a one-click install. You run it from source, and it needs an LLM API key to process and structure data, which means ongoing model costs. A Docker image is available to simplify setup. Building good memory still takes thought about what you ingest and how you query it, so expect setup and tuning work rather than instant results.