Minor spellcasters who weave arcane magic into the practice of their trade, Magewrights are an NPC class for Dungeons & Dragons 3rd Edition that appeared with the Eberron campaign setting. Sort of an arcane version and the Adept, the Magewright is the NPC version of the Artificer; a minor mageling who studies basic spells until they can cast them through route repetition, or who has an instinctive knack for casting spells that are of use to aid or enhance their daily labors, predominantly in the fields of making stuff. Essentially, if the Artificer is the guy who crafts vorpal swords and world-shaking artifacts, then the magewright is the guy who produces utilitarian magitek. The limits of their spell list means they can't actually meet the requirements to craft almost anything magical and useful to most adventurers. Among these few items are raw pluses on weapons and armor, slick armor, Stone of Alarm, and a Helm of Comprehend Languages and Read Magic.
Like fellow NPC caster Adept, Magewrights are actually better than several non-casting core classes. Unlike the Adept they don't have spells in anyway useful in a fight except Animate Rope and Grease till level 8, 12th if explosive runes+dispel doesn't work, so they aren't quite as good.