1/4 - 40 may well be a good guess, but the fact is that it may be an engine built from a castings kit by a home hobbyist who could have used almost any sized tap to produce your engine's steam inlet!
My own PMR #3 has a 3/16 - 40 thread at that location.