Mem0 Memory MCP

AIstdio
Repositorio

A self-hosted MCP server that gives AI assistants persistent, searchable long-term memory built on Mem0. Stores facts and preferences across sessions, retrieves them by semantic search, and can back memories with a Neo4j knowledge graph plus smart chunking, so an agent keeps useful context between conversations instead of starting cold.

Conectar

Añade esta configuración a .claude/mcp.json

{
  "mcpServers": {
    "mem0": {
      "command": "npx",
      "args": [],
      "env": {
        "MEM0_API_KEY": "<YOUR_MEM0_API_KEY>",
        "OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>"
      }
    }
  }
}

Herramientas (3)

add_memory

Store a new memory for a given user or agent scope.

{
  "type": "object",
  "required": [
    "content"
  ],
  "properties": {
    "content": {
      "type": "string",
      "description": "Text to remember"
    },
    "user_id": {
      "type": "string",
      "description": "Scope the memory to a user or agent"
    }
  }
}

search_memory

Semantically search stored memories.

{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "Search query"
    },
    "user_id": {
      "type": "string",
      "description": "Scope to search within"
    }
  }
}

delete_memory

Delete a stored memory by identifier.

{
  "type": "object",
  "required": [
    "memory_id"
  ],
  "properties": {
    "memory_id": {
      "type": "string",
      "description": "Identifier of the memory to delete"
    }
  }
}

Recursos

Este servidor no expone ningún recurso.

Prompts

Este servidor no expone ningún prompt.

Información del servidor

Autor
Subhash Dasyam (@subhashdasyam)
Repositorio
https://github.com/subhashdasyam/mem0-server-mcp
Licencia
MIT
Estrellas
0
Última actualización
3 de agosto de 2026