Cognee plugin

Knowledge-graph memory for agents: Claude Code and Codex plugins, an MCP server and a Python library

  • 32,904 ★ on the repository
  • Last commit
  • Apache-2.0
Plugin

Extended access

Why this level

  • Sends ingested data to the chosen LLM provider
  • Plugin hooks capture session content automatically
All reasons and checks

topoteretes/cognee

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add plugins/cognee

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • Sends ingested data to the chosen LLM provider
  • Plugin hooks capture session content automatically

This is third-party code. Review the repository files before installing.

What it does

Cognee turns documents, code and conversations into a graph of entities and relationships plus a vector index, and the agent retrieves context from it. The core operations are remember, recall with automatic search routing, improve from feedback and forget. Session memory acts as a fast cache and moves useful lessons into the permanent graph in the background. It connects to Claude Code and Codex through a plugin with hooks, to Cursor, Cline and other clients through an MCP server, and to your own apps via Python, TypeScript and REST APIs.

Who it is for. For agent builders and teams who need self-hosted memory that keeps relationships between facts.

Good fit when

  • The agent must remember project decisions and fixes across sessions
  • You want a team knowledge base from docs, tickets and code
  • Relationships between entities matter, not just similar text chunks

Not a fit when

  • A simple notes file for the agent is enough
  • You cannot pay for LLM calls during processing or run a local model

Example request

Remember why we dropped Redis in this service and recall it when caching comes up again

Limitations

Uses OpenAI for the language model and embeddings by default; other providers or local Ollama are alternatives. Processing and answers consume model calls. The Claude Code and Codex plugin lives in the separate cognee-integrations repository. Storing the graph in Postgres is marked as a demo, with the production version licensed separately.

How to disable. Uninstall with claude plugin uninstall cognee-memory or remove the MCP server from the client config. Delete data with the forget operation or by removing the storage directory.

FAQ

Can I try it without an API key?

Yes, cognee-cli demo builds a demo graph without a key.

How do I run the API, UI and MCP together?

From a source checkout with docker compose --profile ui --profile mcp up; MCP listens on port 8001.

Discussion

No questions or reviews yet.

Plugins
Official

Long-term memory for agents: a remote MCP server, plugins for Claude Code, Cursor and Codex, and an API for your own apps

MCP serverExtended access31.5KRepository stars
Official

Local persistent memory for coding agents: hooks record every session, and Claude Code, Codex or Cursor recall past decisions through 54 MCP tools

MCP serverExtended access30KRepository stars

A long-term memory plugin that keeps decisions, preferences and task state across sessions and injects only what a query needs

PluginBroad access403Repository stars
Official

Local memory for agents: stores conversations and project files verbatim and retrieves them with semantic search over MCP

MCP serverExtended access59.8KRepository stars

Long-term agent memory in local Markdown files with a link graph, semantic search and MCP access

MCP serverExtended access4.4KRepository stars
Editors’ pick

Memory layer for agents: plugins for Claude Code, Codex, Cursor and OpenCode, plus a CLI and SDKs that carry context across sessions

PluginExtended access68.1KRepository stars

README in short

The README covers use cases: a company brain, agent memory across runs and memory grounded in a domain ontology. The quick start installs the package with uv and shows a keyless demo and a remember and recall example. The agent section gives plugin install commands for Claude Code and Codex and links the MCP guide for Cursor and Cline. It also covers Docker Compose deployment, a single-Postgres mode and BEAM benchmark results with methodology caveats. Apache 2.0 licensed.

README badge

Report a problem

Foxx AICognee
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.