Cora, 36, saw action at first base, second base, shortstop and third base while hitting .224 in 91 games for the Nationals last season.
Originally selected by the Dodgers in the third round of the 1996 First-Year Player Draft, Cora spent seven years with Los Angeles. The utility infielder has a career batting average of .243 in 1,273 games during 14 Major League seasons and has also played for the Indians, Mets, Red Sox and Rangers.
St. Louis pitchers and catchers are set to report to Spring Training camp on Feb. 18, their first workout set for the following day. The Cards currently have 39 roster players and 20 non-roster invitees set to report.