There are dozens/hundreds of books about or set on Cape Cod. It's a magical place that inspires all sorts of artistic expression. Here's just a few that you might enjoy, in no particular order:
The Outermost House, by Henry Beston (A classic that chronicles the year the author spent living on the dunes of Eastham,Cape Cod.)
Thunderstruck, by Erik Larson (An historical novel from one of our best contemporary authors, featuring Marconi's time on Cape)
Upstream, by Mary Oliver (A classic from a beloved Cape Cod author and poet)
The Nature of Cape Cod, by Beth Schwarzman (One good field guide for all things Cape Cod.)
Tidal Water, by John Portnoy, Alice Iacuessa, Barbara Brennessel (A detailed history of the Herring River as background to the currently underway restoration project.)