“You’ve Got a Friend” is a 1971 song written by Carole King. It was first recorded by King, and included in her album Tapestry. Another well-known version is by James Taylor from his album Mud Slide Slim and the Blue Horizon. His was released as a single in 1971 reaching number 1 on the Billboard Hot 100 and number 4 on the UK Singles Chart. The two versions were recorded simultaneously in 1971 with shared musicians.
Carole King (born Carol Joan Klein, February 9, 1942) is an American singer-songwriter who has been active since 1958, initially as one of the staff songwriters at the Brill Building and later as a solo artist. She is the most successful female songwriter of the latter half of the 20th century in the US, having written or co-written 118 pop hits on the Billboard Hot 100.
King’s major success began in the 1960s when she and her first husband, Gerry Goffin, wrote more than two dozen chart hits, many of which have become standards, for numerous artists. She has continued writing for other artists since then.
King’s success as a performer in her own right did not come until the 1970s, when she sang her own songs, accompanying herself on the piano, in a series of albums and concerts. After experiencing commercial disappointment with her debut album Writer, King scored her breakthrough with the album Tapestry, which topped the U.S. album chart for 15 weeks in 1971 and remained on the charts for more than six years. Source