About server
server is an MCP server published by git+Embassy-of-the-Free-Mind in the Developer Tools category: search, read, and cite 1,200+ rare historical texts from the terminal or via MCP. 7 research tools, CLI + MCP server, no API key needed. It has been installed 0 times through Conduid.
Install
npx @source-library/mcp-serverclaude mcp add sourcelibrary-v2-gitembas -- npx -y @source-library/mcp-servernpx -y @source-library/mcp-serverThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about server
Powered by Claude · Grounded in docs
Security checks
- ·README presentNot checked yet.
- ·License declaredNot checked yet.
- ·Tests presentNot checked yet.
- ·Dependencies pinnedNot checked yet.
- ·No dynamic code executionNot checked yet.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
Source Library v2
A Next.js application for digitizing and translating historical texts. Built for the Embassy of the Free Mind.
Stack
- Framework: Next.js 14 (App Router)
- Database: MongoDB Atlas
- AI: Google Gemini for OCR and Translation
- Storage: Vercel Blob for images
- Deployment: Vercel
Getting Started
npm install
npm run dev
Architecture
Image System
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 |
Split Pages
Books with two-page spreads can be split. Each page stores:
crop.xStartandcrop.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.
Processing Pipeline
- Import - Upload images or import from Internet Archive
- Split - Detect and split two-page spreads (ML or manual)
- OCR - Extract text using Gemini Vision
- Translate - Translate to English using Gemini
- Summarize - Generate summaries and key themes
Key Directories
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
README mirrored from the source repository 4 months ago. The original is authoritative.