The Metropolitan Railway G Class consisted of four 0-6-4Tsteam locomotives, numbered 94 to 97. They were built by Yorkshire Engine Company in 1915. The class was unusual in carrying names as well as numbers, and were the last Metropolitan steam locomotives to do so.
The G Class were used on various duties on the Metropolitan Railway mainline until 1937 when all four were transferred to the LNER. The LNER numbered them 6154–6157 and classified them as M2 Class. Two survived to the 1946 renumbering.