Porous magnesium alloys are currently developed as future biodegradable material. While they show proper biocompatibility and biodegradability characteristics as candidate for biodegradable orthopedic implants, their mechanical performance and formability are still being questioned. Here, we assess the mechanical performance of porous magnesium alloys as biodegradable Herbert compression screws using computational approach. The 3D computer models of Herbert compression screws are built based on current commercial product. The Herbert compression screws are then subjected to a static load under a hallux valgus osteotomy case. Titanium alloy as current screw material is used as comparative study. Mechanical stress and strain responses to tensile-compression loads are observed. Yield Computational results show that the current porous magnesium alloys can bear the mechanical loads as Herbert compression screw for application in a hallux valgus osteotomy case. Although, it is wise to improve the mechanical strength of porous magnesium alloys to improve the durability or modify the screw design to facilitate better mechanical stress distribution.