MS51021-56 is a 1/4-20 × 1/4 in stainless cup-point socket set screw. MS51021 dash numbers carry no code: each one is a lookup into Table I of the standard. Numbers 1–96 are plain screws. Numbers 101–142 have a self-locking element. Type a part number and the decoder gives the thread, length, socket size, cup point limits, material and status. NASM51021 numbers work too: they are the same.
Going the other way? Type a size, such as 1/4-20 x 1/2 or 8-32 x 3/16, to get the part number.