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

  • add: Store new memory objects and documents in Cognee
  • cognify: Transform raw data into structured memories and knowledge graphs
  • search: Retrieve relevant memories using semantic search
  • list_datasets: View all stored memory datasets
  • 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 existing datasets for the current user
  • delete: Remove specific data items from datasets
  • cloud_info: Get information about cloud configuration

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