A 50-year-old man is evaluated for an 8-year history of joint pain, particularly in the hands, and progressively worsening fatigue. Medical history is otherwise unremarkable. He takes ibuprofen as needed.

On physical examination, vital signs are normal. BMI is 32. There are swelling and tenderness of the second and third metacarpophalangeal (MCP) joints bilaterally, and tenderness but no swelling of the fourth and fifth MCP joints bilaterally. There is bony hypertrophy of the first MCP joints and knees bilaterally. The proximal interphalangeal joints and wrists are normal.

Laboratory studies are notable for an alanine aminotransferase level of 53 U/L and an aspartate aminotransferase level of 55 U/L; rheumatoid factor is negative.

A radiograph of the hand is shown.

Which of the following is the most appropriate diagnostic test to perform next?