A plane of utmost order, Mechanus is a realm overseen by a godlike entity called Primus, whose actions are inscrutable and calculations, vast. You, or someone from your lineage, might have become entangled in one of the machinations of the leader of the modrons. Perhaps you were exposed to an artifact created by Primus, or your ancestor took part in the Great Modron March in some way.

Source: Unearthed Arcana 68 - Subclasses, Part 2

Clockwork Magic

You learn additional spells when you reach certain levels in this class, as shown on the Clockwork Spells table. Each spell counts as a sorcerer spell for you, but it doesn’t count against the number of sorcerer spells you know. These spells can’t be replaced when you gain a level in this class.

Clockwork Magic
Sorcerer Level Spells
1st Alarm, Protection from Good and Evil
3rd Find Traps, Heat Metal
5th Counterspell, Glyph of Warding
7th Arcane Eye, Otiluke’s Resilient Sphere
9th Animate Objects, Wall of Force

Restore Balance

Starting at 1st level, your connection to the plane of absolute order allows you to equalize chaotic moments. When a creature you can see within 60 feet of you is about to roll a d20 with advantage or disadvantage, you can use your reaction to prevent the roll from being affected by advantage and disadvantage.

You can use this feature a number of times equal to your Charisma modifier (minimum of once), and you regain all expended uses when you finish a long rest.

Bulwark of Law

Starting at 6th level, you can imbue a creature with a shimmering shield of order. As an action, you can expend 1 to 5 sorcery points to create a magical ward around yourself or another creature you can see within 30 feet of you. The ward lasts until you finish a long rest or until you use this feature again.
The ward is represented by a number of d8s equal to the number of sorcery points spent to create it. When the warded creature takes damage, it can use its reaction to spend a number of those dice, roll them, and reduce the damage taken by the total of the spent dice.

Trance of Order

Starting at 14th level, you gain the ability to enter a state of clockwork consciousness as a bonus action. For the next minute, attack rolls against you can’t benefit from advantage, and whenever you make an attack roll, an ability check, or a saving throw, you can treat a d20 roll of 9 or lower as a 10. Once you use this action, you can’t use it again until you finish a long rest or until you expend 5 sorcery points to use it again.

Clockwork Cavalcade

At 18th level, you summon spirits of order to restore balance around you. As an action, you summon the spirits in a 30-foot cube originating from you. The spirits look like modrons or other constructs of your choice. The spirits are intangible and invulnerable, work fast and efficiently, and create the following effects within the cube before vanishing:

  • The spirits restore up to 100 hit points, divided as you choose among any number of creatures of your choice in the cube.
  • Any damaged objects entirely in the cube are repaired.
  • Every spell of 6th level or lower ends on creatures and objects of your choice in the cube.

Once you use this action, you can’t use it again until you finish a long rest or until you expend 7 sorcery points to use it again.