Some MCP parameters use compact transport-friendly encodings:
datasetsandsession_idsare comma-separated strings, not JSON arrays.top_kmust be between1and100.cognify.dataaccepts either a single string or a JSON array of strings for batch ingestion.
Available Tools
v1.0 Memory Tools (Recommended)
v1.0 Memory Tools (Recommended)
Prefer these tools for new integrations. They map to Cognee’s current main operations.
`remember`
`remember`
Store content as permanent graph memory or session memory in one call. See Remember.
`recall`
`recall`
Retrieve memory with auto-routing and session-aware behavior. See Recall.
`forget`
`forget`
Delete a dataset or wipe all memory owned by the current user. See Forget.
At least one of
dataset or everything=true must be provided.`improve`
`improve`
Enrich an existing graph and optionally bridge session memory into permanent memory. See Improve.
Legacy Memory Tools
Legacy Memory Tools
Still available for lower-level control or existing integrations.
`cognify`
`cognify`
Transform ingested data into a structured knowledge graph.
If
graph_model_file is set, graph_model_name should also be provided.`search`
`search`
Retrieve memory with explicit lower-level search control.
`prune`
`prune`
Reset the local MCP-managed store for a fresh start.This tool has no parameters.
prune is not available in API mode.Retrieval Context Helpers
Retrieval Context Helpers
Use these after retrieval when you need a fuller document view or nearby chunk context.
`get_document`
`get_document`
Retrieve a source document and its chunks.
`get_chunk_neighbors`
`get_chunk_neighbors`
Retrieve nearby chunks from the same document.
get_document and get_chunk_neighbors are not available in API mode.Interaction Capture
Interaction Capture
`save_interaction`
`save_interaction`
Store a user-assistant exchange so Cognee can process it into memory and related rules.
Data Management
Data Management
`list_data`
`list_data`
List datasets and their data items with IDs for deletion operations.
`delete`
`delete`
Remove a specific data item from a dataset.
`delete_dataset`
`delete_dataset`
Delete an entire dataset by name.
`cognify_status`
`cognify_status`
Check current and recent pipeline runs for a dataset.
Works in both direct and API mode. In API mode the dataset id is resolved over HTTP and the pipeline state is read from the server’s
GET /api/v1/datasets/status endpoint.delete_dataset is not available in API mode. list_data(dataset_id=...) also requires direct mode for detailed per-item listing.Usage Notes
- For new integrations, start with
rememberto store data andrecallto retrieve it. - Use
improvewhen you want to enrich an existing graph or bridge session memory into permanent memory. - Use
forgetto remove a dataset or wipe all memory owned by the current user. - Reach for
cognify,search, andpruneonly when you need lower-level control or are maintaining an older workflow. - Use
get_documentorget_chunk_neighborsafter aCHUNKSresult when the initial match is too narrow. - Use
cognify_statusto verify indexing before querying a freshly processed dataset. - In shared-dataset setups, prefer the Python SDK or REST API when you need UUID-based dataset scoping for a dataset the current user did not create.
Next Steps
Client Integrations
Learn how to use these tools with your AI development environment