Cognee MCP Server

Cognee - is a library for enriching LLM context with a semantic layer for better understanding and reasoning.

Remote serverstreamable-httpPython

What is the Cognee MCP Server?

Cognee - is a library for enriching LLM context with a semantic layer for better understanding and reasoning.

What you get

Demo . Docs . Learn More · Join Discord · Join r/AIMemory . Community Plugins & Add-ons

Cognee is an open-source AI memory platform for AI Agents. Ingest data in any format, and Cognee continuously builds a self-hosted knowledge graph that gives your agents persistent long-term memory across sessions. Cognee combines vector embeddings, graph reasoning, and cognitive-science-grounded ontology generation to make documents both searchable by meaning and connected by relationships that evolve as your knowledge does.

  • Easily Build Company Brain - unify data from various sources in one place and enable Agents with your domain knowledge
  • Knowledge infrastructure — unified ingestion, graph/vector search, runs locally, ontology grounding, multimodal
  • Persistent and Learning Agents - learn from feedback, context management, cross-agent knowledge sharing
  • Reliable and Trustworthy Agents - agentic user/tenant isolation, traceability, OTEL collector, audit traits

Configuration and credentials

  • Python 3.10 to 3.14

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Configuration

  • Python 3.10 to 3.14
VariableDescriptionRequired
LLM_API_KEYCredential the server authenticates with.Yes
COGNEE_BASE_URLEndpoint or connection string the server talks to.Yes
COGNEE_API_KEYCredential the server authenticates with.Yes
OPENAI_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Cognee to Prerequisites.”
  • “Use Cognee to Contributing.”

Frequently asked questions

Cognee - is a library for enriching LLM context with a semantic layer for better understanding and reasoning. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.