Gives Claude direct access to the Embassy of the Free Mind's collection of 22,000+ pre-modern texts through a MongoDB-backed search interface. You can query rare historical documents, pull AI-generated English translations powered by Google Gemini, and retrieve book metadata including summaries and themes. The server also exposes access to the 73,000+ page images stored in Vercel Blob, with three quality tiers for different use cases. Reach for this when you need Claude to reference obscure historical sources, compare translations across rare manuscripts, or surface specific passages from pre-modern literature that aren't in standard training data.
A Next.js application for digitizing and translating historical texts. Built for the Embassy of the Free Mind.
npm install
npm run dev
All page images go through /api/image for consistent sizing and cropping:
| Tier | Size | Quality | Use Case |
|---|---|---|---|
| Thumbnail | 400px | 70% | Grid views, page navigation |
| Display | 1200px | 80% | Main reading view |
| Full | 2400px | 90% | Magnifier, fullscreen |
Books with two-page spreads can be split. Each page stores:
crop.xStart and crop.xEnd (0-1000 scale)cropped_photo (optional pre-generated Vercel Blob URL)Cropping happens on-demand via Sharp. OCR automatically crops inline and saves the result for future use.
src/
├── app/ # All routes, pages, and API endpoints
│ ├── api/ # API routes
│ ├── book/ # Book pages (detail, read, pipeline)
│ └── page.tsx # Homepage
├── components/ # Reusable React components
├── hooks/ # Reusable React hooks for component logic
└── lib/ # Business Logic, Utilities (mongodb, ai, types), and Services
com.mcparmory/google-search
io.github.pipeworx-io/brave-search
marcopesani/mcp-server-serper
brave/brave-search-mcp-server
com.mcparmory/google-search-console
acamolese/google-search-console-mcp