One More BookFind a book
Cover of Kid Spy: Mac Cracks the Code
Illustrated · ages 6–10

Kid Spy: Mac Cracks the Code

Written by Mac Barnett · Illustrated by Mike Lowery

Book 4 of 6 in Kid SpyView the full series

Part of the Mac Barnett universeOpen the collection

Bestseller list
Endlessly rereadable

Mac has to crack a code embedded in a video game, and there is a villain rival making everything harder. The most science_and_curiosity-forward entry in the series, codes, puzzles, and the trickery_and_cleverness fantasy at full stretch.

  • Best for6–10
  • FormatIllustrated
  • Length160 pp
  • Read aloud~2 hr15 min
Save to a listFind similar books

The vibe

What it’s like.

Style

  • Comedic
  • Conversational
  • Literary
  • Second person

Tone

  • Funny
  • Silly
  • Exciting
  • Adventurous
  • Irreverent
  • Suspenseful
  • Absurdist

Themes

On the pagekid spy, code, video game, competition, secret message, villain rival, puzzle

Experience meters

Energy5/ 5
Humour5/ 5
Scariness1/ 5
Peril3/ 5
Wonder3/ 5
Cosiness2/ 5
Emotional intensity2/ 5
Conceptual intensity2/ 5

What’s it about?

The story.

Mac Cracks the Code is the series' most STEM-adjacent book: science_and_curiosity leads the deep_themes at 0.75, a video game championship provides the competition structure, and the puzzle-solving mystery_to_solve plot_engine makes trickery_and_cleverness the primary tool rather than physical adventurousness. The secondary genres shift to include science_fiction (for the first time, reflecting the video game setting's technology), and the conceptual_intensity nudges to 3, the highest in the series, because the code-cracking content is genuinely intellectually engaging. The interested_in_science reader_situation at 0.55 is the most prominent it appears in the series and is an accurate tag for this entry specifically. The having_a_nemesis core fantasy carries more weight here than in most entries: the villain rival is operating within the video game competition, giving the antagonism a particularly satisfying structure. Ambition at 0.45 names Mac's characteristic relationship to the mission, he doesn't just want to succeed, he wants to be the best.

Fit check

Right for your child?

Where it lands by age

  • 1
  • 3
  • 5
  • 7
  • 9
  • 11
  • 13
  • Best fit · 6–10
  • Read aloud · 5–9
  • Independent · 7–10

Prose load

Moderate

Visual support

High

Reluctant-reader friendly

Very

Read-aloud quality

Strong

Works well for

  • Reading aloud
  • Reading together
  • Reluctant readers
Moderate sensitivityWorth a preview

Nothing in the book is likely to concern most parents. Safe to recommend without preview.

Bedtime suitability

2 / 5 · Better outside bedtime

Sensitive-child

3 / 5 · Mostly fine

Graphic intensity

1 / 5 · None

Best for

  • Reluctant readers
  • Laugh out loud
  • Educational value
  • High energy

Avoid if

No common reasons to avoid this one — a rare clean sweep on the sensitivity flags.

Particularly good for children who are…

  • Reluctant reader
  • Interested in science
  • Struggling with reading
  • Low self esteem

In the classroom

How it works in school.

A funny spy-adventure series — a reluctant-reader pleaser and classroom-library staple.

Classroom role

  • Classroom library

A book children love that happens to support school — never a stand-in for the texts a class is taught with. Reviewed for the classroom · June 2026.

Why it lands

Why they love it.

Why kids love it

The specific kick is doing the codes yourself — Mike Lowery's hand-lettered cipher pages designed so a seven-year-old reader has to crack along with Mac. The Kid Spy where the puzzle is in the book and the reader is also the agent.

  • Adventure and freedom
  • Becoming invisible
  • Being a detective
  • Being special or chosen
  • Having a nemesis

Why parents love it

The Kid Spy with actual ciphers to crack on the page — Mike Lowery's hand-lettered code work designed for the reader to engage with. Strong for puzzle-loving children; the video-game premise gives it tech-adjacent appeal. Reliable mid-series volume.

  • Shared humour
  • Educational for adult too
  • Quick to read
  • Conversation starter

In the series

Kid Spy.

6 books · open the series →

About the creators

About the creators.

MB

Mac Barnett

Writer · United States · b. 1982

Mac Barnett is an American children's author born in 1982, known for picture books and illustrated chapter books with an absurdist, meta-storytelling sensibility. He collaborates frequently with illustrators including Jon Klassen (Sam and Dave Dig a Hole, Extra Yarn, The Wolf, the Duck and the Mouse, the Shape Trilogy), Mike Lowery (Mac B., Kid Spy chapter books), and Shawn Harris (The First Cat in Space). His work has won two Caldecott Honors and a Boston Globe-Horn Book Award. Barnett's voice is distinctively dry, knowing and quietly subversive, adults reading aloud often enjoy his books as much as the children listening. A reliable hit for families looking for funny-bone reads with intelligent edges.

More from Mac Barnett
ML

Mike Lowery

Illustrator · United States

Mike Lowery is an American illustrator and author best known to UK readers as the visual partner of Mac Barnett on the Mac B., Kid Spy chapter-book series, illustrated middle-grade spy comedies starring a fictionalised version of Mac himself. Lowery is also the author-illustrator of the Doodle Adventures interactive activity-and-story books, the Random Illustrated Facts non-fiction series, and the recent Everything Awesome About series for children. His style is loose, sketchy and immediately recognisable, black ink line work with thick, exuberant hand-lettering and lots of marginalia. A reliable signal of funny-bone, fact-stuffed, comic-format children's books for ages 6–10.

More from Mike Lowery

If you liked this

Three ways out of this book.

If you liked this, try…

Lateral matches. Same shelf, different texture.

Cover of The Bad Guys
The Bad Guys

by Aaron Blabey

The Terrible Two
Mac Barnett
The Terrible Two

by Mac Barnett

Kid Normal
Greg James
Kid Normal

by Greg James

Come into this from…

Easier or preparing reads — perfect lead-ins.

Where to go next…

Escalation reads — a step up in scale, silliness, or stakes.

Cover of Kid Spy: The Sound of Danger
Kid Spy: The Sound of Danger

by Mac Barnett

Kid Normal
Greg James
Kid Normal

by Greg James

Alex Rider: Stormbreaker
Anthony Horowitz
Alex Rider: Stormbreaker

by Anthony Horowitz

Buy or borrow

Pick up a copy.

  • Bookshop.org
  • Waterstones
  • Amazon UK
  • Hive
Find it at your local library →

When you buy through the links above, we may earn a small commission — it never costs you more, and it never changes the books we choose. How we’re funded →

Last reviewed · April 2026Suggest a correctionHow we recommend

More ways to wander the room