Skip to main content
Cognee MCP provides 11 tools that MCP-compatible AI assistants can use for memory management, code intelligence, and data operations.

Available Tools

Memory Management

  • cognify: Transform raw data into structured memories and knowledge graphs
  • cognee_add_developer_rules: Ingest core developer rule files into memory
  • search: Retrieve relevant memories using semantic search
  • prune: Clear all memory for a fresh start
  • codify: Generate code-specific knowledge graphs from source code
  • save_interaction: Store user-assistant exchanges to build development rules
  • get_developer_rules: Retrieve stored developer rules and patterns
  • list_data: List all datasets and their data items with IDs for deletion operations
  • delete: Remove specific data items from datasets
  • cognify_status & cognify_status: track pipeline status

Usage Notes

  • Run codify before using search with the CODE search type
  • Use prune to reset the database when testing or starting fresh
  • The cognify tool processes general documents while codify is optimized for source code

Next Steps

Client Integrations

Learn how to use these tools with your AI development environment