open-public-domain
MCP server that gives AI agents access to the world's public domain library. Search, read, and navigate books and audiobooks from Project Gutenberg and LibriVox.
README
Open Public Domain
MCP server that gives AI agents access to the world's public domain library. Search, read, and navigate books and audiobooks from Project Gutenberg and LibriVox.
What It Does
Agents can't read books. This fixes that.
Every other tool gives agents access to APIs, databases, and live data. But the written knowledge of human civilization -- books, essays, speeches, historical documents -- is largely inaccessible to agents through clean, legal APIs. Open Public Domain opens that up.
Sources
| Source | Content | Access |
|---|---|---|
| Project Gutenberg | 70,000+ books, full text | Text, HTML, EPUB |
| LibriVox | 15,000+ audiobooks | MP3 chapters |
Tools
Text (Gutenberg)
- search_books -- Search across all sources by title, author, or subject. Returns metadata.
- get_book -- Full metadata for a book, including parsed chapter list.
- read_chapter -- Read a specific chapter. The natural unit of reading.
- read_work -- Full text for short works (essays, poems, short stories under ~15k chars).
- search_text -- Full-text search within a book. Find where a concept appears across chapters, with context.
Audio (LibriVox)
- search_audiobooks -- Search LibriVox by title or author.
- list_audio_chapters -- List all audio chapters for an audiobook with MP3 URLs and durations.
- get_audio_chapter -- Get the MP3 URL for a specific chapter.
Setup
Claude Desktop / Cursor / Windsurf
Add to your MCP config:
{
"mcpServers": {
"open-public-domain": {
"command": "npx",
"args": ["-y", "open-public-domain"]
}
}
}
Hermes
Add to ~/.hermes/config.yaml:
mcp_servers:
open-public-domain:
command: npx
args: ["-y", "open-public-domain"]
Development
git clone https://github.com/stuchapin909/open-public-domain.git
cd open-public-domain
npm install
npm start
Design Decisions
Chapter-level navigation, not full-book dumps. A novel is 150,000+ tokens. Agents can't process that. read_chapter gives the agent one chapter at a time -- the same way a human reads.
Full-text search with context. search_text lets an agent say "where does Hobbes talk about the state of nature?" and get back the passage with surrounding context, plus which chapter it's in.
No API keys. All sources are public domain with open APIs. No configuration needed.
Unified search. search_books aggregates across all sources. The agent doesn't need to know or care which source a book comes from.
Roadmap
- Standard Ebooks integration (better formatting, curated catalog)
- Wikisource integration (primary source documents)
- Internet Archive public domain subset
- DOAB (open access academic books)
- HathiTrust public domain collection
- Semantic search across full text
- Cross-book citation and quotation tracking
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.