Terraria item ID 556. Terraria 1.4.5.7.
The Mechanical Worm is a Hardmode boss-summoning item that summons The Destroyer when used. It can be used in any biome, but only at night. If the Destroyer has not been defeated yet in a Hardmode world, all enemies that can drop at least 1 Copper have a 1/2500 (0.04%) chance of dropping a Mechanical Worm.
Crafted at Mythril Anvil / Orichalcum Anvil. Ingredients:
Description from the Terraria Wiki.