Born in Salem, Massachusetts, Cook attended the public schools, and engaged in mercantile pursuits. He served as Assessor of Pownal Borough in 1786,and Town clerk of New Milford, district of Maine from 1795 to 1797. He was a Justice of the Peace, served as judge of the court of common pleas for Lincoln County 1799–1810, was appointed assistant assessor of the twenty-fifth district in November 1798, and served as overseer of Bowdoin College from 1800 to 1805.
Cook was elected as a Democratic-Republican to the Ninth, Tenth, and Eleventh Congresses (March 4, 1805 – March 3, 1811). He was not a candidate for renomination in 1810. He then served as Sheriff of Lincoln County in 1811, and Postmaster of Wiscasset, Maine, from 1811 until his death there August 12, 1819. He was interred in Evergreen Cemetery.
This article incorporates public domain material from websites or documents of the Biographical Directory of the United States Congress.