ForgeMesh Library MCP

v0.1.9
io.github.forgemeshlabs/library-mcp Checked 1 day ago Published 21 days ago

A paid public-domain knowledge base for AI agents: full-text search, book metadata, chapters.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_literature

Literature search: full-text search across 61,000+ public-domain books (Project Gutenberg corpus). Returns the most relevant complete passages from any book, ranked, with title, author, section and source link. Retrieval only: real cited passages, never LLM-generated text. Costs $0.02 via x402 (requires WALLET_PRIVATE_KEY, USDC on Base).

ParameterTypeDescription
query *stringFull-text search query, e.g. 'the nature of justice'
limitintegerMax passages to return (default 10, max 30)

search_books

Book search: find public-domain books by title or author substring, e.g. 'Dickens' or 'Frankenstein', across 61,000+ indexed Project Gutenberg books. Returns matching books ranked by download popularity with book_id for drill-down into metadata, chapters, quotes or full-text search. Costs $0.005 via x402 (requires WALLET_PRIVATE_KEY, USDC on Base).

ParameterTypeDescription
query *stringTitle or author substring
limitintegerMax results (default 10, max 50)

get_book_metadata

Full metadata for one indexed book by book_id: title, author, year, subjects, bookshelves, download rank, chunk count, and detected chapter range. Use search_books first to find a book_id. Costs $0.005 via x402 (requires WALLET_PRIVATE_KEY, USDC on Base).

ParameterTypeDescription
book_id *integerGutenberg book id, from search_books

get_chapter

Full text of one chapter from an indexed book by book_id and chapter number. Chapter 0 is front matter before the first detected heading. Use get_book_metadata for the valid chapter range. Costs $0.005 via x402 (requires WALLET_PRIVATE_KEY, USDC on Base).

ParameterTypeDescription
book_id *integerGutenberg book id
chapter *integerChapter number (0 = front matter)

get_quotes

Notable passages from one indexed book by book_id. Pass an optional theme to full-text search within that book, or omit it for a sample of short dialogue-bearing lines. Costs $0.005 via x402 (requires WALLET_PRIVATE_KEY, USDC on Base).

ParameterTypeDescription
book_id *integerGutenberg book id
limitintegerMax quotes to return (default 5)
themestringOptional theme/keyword to search for within the book

ask_book

Ask a natural-language question about one of the flagship books and get back the most relevant passages from the book itself, with chapter/location citations. Retrieval only — never a generated summary. Pass any recognizable name for "book" (e.g. "Moby Dick", "the Odyssey") — it resolves to the matching route. Available flagship books: alice in wonderland, art of war, count of monte cristo, crime and punishment, don quixote, dracula, frankenstein, great expectations, grimms fairy tales, jane eyre, meditations, moby dick, picture of dorian gray, pride and prejudice, sherlock holmes, iliad,…

ParameterTypeDescription
book *stringBook name, e.g. one of: alice in wonderland, art of war, count of monte cristo, crime and punishment, don quixote, dracula, frankenstein, great expectations, grimms fairy tales, jane eyre, meditations…
question *stringYour question about the book
limitintegerMax passages (default 5, max 15)

browse_shelf

Browse a curated category/subject shelf: 10 hand-picked categories (adventure, childrens-classics, classic-literature, economics-and-politics, gothic-horror, history, philosophy, poetry, science-and-nature, shakespeare-and-drama) plus 100+ auto-generated shelves drawn from real Gutenberg subjects/bookshelves (e.g. 'gothic-fiction', 'russian-literature', 'detective-fiction'). Returns a ranked list of books with book_id for drill-down. Full shelf catalog is discoverable free at https://library.forgemesh.io/llms.txt. Costs $0.005 via x402 (requires WALLET_PRIVATE_KEY, USDC on Base).

ParameterTypeDescription
shelf *stringShelf name or slug, e.g. 'gothic horror' or 'russian-literature'

book_of_the_day

Deterministic daily book pick from the indexed corpus, date-seeded so every caller gets the same answer on the same UTC day. Optional date override for backfill. Costs $0.005 via x402 (requires WALLET_PRIVATE_KEY, USDC on Base).

ParameterTypeDescription
datestringOptional ISO date (YYYY-MM-DD) to replay a past day's pick