Skip to main content
Glama
cognee-mcp-server
by mcpflow

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 contstruction

      • search_query (String): Query for retrieval

      • graph_model_file (String, optional): Filename of a custom pydantic graph model implementation

      • graph_model_name (String, optional): Class name of a custom pydantic graph model implementation

    • Output:

      • Retrieved edges of the knowledge graph

Related MCP server: Graphiti-Memory MCP Server

Configuration

Usage with Claude Desktop

Install uv with homebrew.

Add this to your claude_desktop_config.json:

"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”
  }
}

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      F
      maintenance
      Provides AI agents with persistent memory and knowledge management through a comprehensive knowledge graph platform. Enables storing, searching, and managing entities, relationships, and observations with advanced features like trending analysis and smart ranking.
      3
      MIT
    • F
      license
      A
      quality
      C
      maintenance
      Enables AI agents to build, populate, and search knowledge graphs by providing tools for entity extraction, relationship mapping, and graph traversal. It manages the underlying database infrastructure so users can create searchable knowledge bases from text through natural language commands.
      13
      1
      -
    • A
      license
      A
      quality
      D
      maintenance
      Provides persistent long-term memory for AI agents through semantic search and automated knowledge graph extraction. It enables agents to store, recall, and reason over facts, preferences, and relationships across multiple conversations and sessions.
      14
      17 npm
      MIT