`` Sgt. Pepper 's Lonely Hearts Club Band '' is a song written by Paul McCartney ( credited to Lennon-McCartney ) , and first recorded and released in 1967 , on the the Beatles ' album of the same name .
`` Sgt. Pepper 's Lonely Hearts Club Band '' is a song credited to Lennon\/McCartney , and released in 1967 , on The Beatles ' album of the same name .