The group's road manager, Neil Aspinall, suggested the idea of Sgt. Pepper being the compère, as well as the reprise at the end of the album. According to his diaries, Evans may have also contributed to the song. John Lennon attributed the idea for Sgt. Pepper to McCartney, although the song is officially credited to Lennon–McCartney. The Beatles recorded the track in Abbey Road's studio 2, with George Martin producing, and Geoff Emerick engineering. Work on the song started on 1 February 1967, and after three further sessions the recording was completed on 6 March 1967.