# Joshua Sternfeld

- Researcher: Joshua Sternfeld
- Role: Historian, author of the Encoding the Past Substack (institution not stated on the page)
- Field: history, digital history
- Tools: Claude Code; Claude desktop app (Claude Pro); Claude Sonnet 4.6; MCP; Chronicling America API
- Published: 2026-04-20
- Source: https://encodingthepast.substack.com/p/on-ai-enabled-research-historic-newspapers
- Latest flagship models when written: Claude Opus 4.7 and GPT-5.4. Latest now: Claude Opus 5.5 and GPT-6.1 Sol.

## What they did

Sternfeld had Claude Code build, from a short prompt pointing at the API's README, an MCP server over Chronicling America (nearly 24 million digitised newspaper pages), with twelve tools including full-text search and retrieval of page OCR text. A first test for "artificial intelligence" in the nineteenth century returned 592,736 results, which Claude itself flagged as wrong and traced to the server missing a database migration. After the fix, a twentieth-century search showed the server dropping results the website returned, because an agent-chosen limit looked only at the first 8,000 characters of each page. He concludes that validating against the website is essential.

## In their words

> "The initial configuration was relatively easy and required little-to-no coding knowledge."

> "should always test results against traditional search results on the website."

> "we are farther from the promise of offloading historical research legwork than we may wish to acknowledge."

## Lessons they draw

- Test agent retrieval against the source's own search, because plausible-looking results can silently omit hits (Sternfeld).
- An agent-proposed default (an 8,000-character context cap) became a hidden research bias until he noticed missing results (Sternfeld).
- Setup is within a non-programmer historian's reach, debugging took minutes to hours rather than days (Sternfeld).

## Limits of this account

Part I of two; Part II (the Jenny Lind research example) was not read. Read from the page text, which was long; the opening and the debugging sections were read in full. Claude Sonnet 4.6 is named on the page; the Claude Code version is not. The second quote is a lightly truncated sentence ("I recommend that anyone ... should always test results ..."), shown verbatim from "should always" onward.
