ForgeMesh Library MCP

io.github.forgemeshlabs由 GitHub 帳號 forgemeshlabs 發布v0.1.8更新於 Nov 3, 2026

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

已驗證STDIO僅桌面金融知識與記憶

概覽

AI 產生的概覽

供 AI 助理使用的付費公版書庫:全文檢索、書籍中繼資料、章節、引文與附出處的原文片段,依每次呼叫以 Base 上的 USDC 付費。

可以做什麼
  • 在整個公版語料中檢索並回傳附出處的原文片段,或依書名、作者尋找書籍
  • 讀取書籍中繼資料、章節範圍與整章正文
  • 取得書中名句或依主題檢索的引文,並就旗艦書目提問以取回附出處的片段
  • 瀏覽精選與自動產生的主題書架,取得每日固定選書
適用情境
適合家教、閱讀、讀書會、測驗或課程產生類助理,需要公版文學作品中真實引用的原文而非生成式摘要,並希望不需帳號或 API 金鑰即可使用大量免授權語料。
執行需求
透過 npx 在本機執行,需要 Node.js 20 以上。需要一個已存入 USDC 的專用 Base 錢包,透過環境變數 WALLET_PRIVATE_KEY 提供;所有工具皆須付費。可選 LIBRARY_BASE_URL 覆寫 API 位址,X402_MAX_PRICE_USD 與 X402_SESSION_BUDGET_USD 只能調降內建上限。需能連線至 Library 服務。
安裝前請注意
伺服器持有錢包私鑰,並在每次呼叫時自動簽署 USDC 付款,務必使用專用的低餘額錢包,切勿使用主要錢包。全部 8 個工具都收費(每次約 0.005 至 0.02 美元,由線上服務定價),內建上限為每次 0.02 美元、每工作階段 10 美元。查詢與書籍請求會傳送給第三方服務。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 ForgeMesh Library MCP,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

ForgeMesh Library — Public-Domain Knowledge Base for AI Agents

[M8ven Score] [mcpservers.org]

A ForgeMesh Labs product.

A paid public-domain knowledge base, built for agents. Full-text search, book metadata, chapters, notable quotes, flagship "ask this book a question" retrieval, and 100+ curated subject shelves over a growing corpus of public-domain books — no license, no API key, no account. Pay per call in USDC on Base via x402.

Retrieval only: every answer is a real, cited passage pulled from the indexed text. Nothing here is LLM-generated or summarized — that makes it safe to cite for tutoring agents, reading apps, quiz/curriculum generators, and any workflow where a hallucinated quote is worse than no quote.

Quick start (Claude Desktop / Claude Code / any MCP client)

json
{  "mcpServers": {    "library": {      "command": "npx",      "args": ["-y", "@forgemeshlabs/library-mcp"],      "env": {        "WALLET_PRIVATE_KEY": "0x..."      }    }  }}

WALLET_PRIVATE_KEY is a dedicated low-balance Base wallet for x402 micropayments — never your primary wallet. $1 of USDC buys dozens to hundreds of calls depending on the route.

Requirements

Node.js 20+ and a dedicated, low-balance Base wallet funded with USDC. The server refuses to sign for any payee other than the Library wallet, any network other than Base mainnet, any asset other than USDC, or any amount over the cap ($0.02 per call, $10 per session). The env vars X402_MAX_PRICE_USD and X402_SESSION_BUDGET_USD can only lower those caps. Requests are same-origin, time out after 60 seconds, are capped at 2 MB, and never follow redirects.

Tools

ToolCostWhat it does
search_literature$0.02Full-text search across the entire corpus — real passages, any book
search_books$0.005Search the corpus by title or author substring
get_book_metadata$0.005Title, author, year, subjects, bookshelves, chapter range for a book_id
get_chapter$0.005Full text of one chapter by book_id + chapter number
get_quotes$0.005Notable passages from a book, optionally themed
ask_book$0.01Ask a flagship book (Moby Dick, the Republic, Sherlock Holmes...) a question, get cited passages back
browse_shelf$0.005Browse a curated category or subject shelf (gothic horror, Russian literature, detective fiction, 100+ shelves)
book_of_the_day$0.005Deterministic daily book pick, date-seeded

Prices are set by the live service and may change — the actual charge always comes from the x402 402 challenge at call time, not this table.

Who this is for

Built for education-safe agent use cases:

  • Tutoring agents that need a real quote, not a paraphrase
  • Reading apps and book-club bots
  • Quiz and curriculum generators that cite public-domain source text
  • Any agent that needs a large, cheap, license-free text corpus without hitting a rate-limited free API

Nothing here requires an account, an API key, or a license negotiation — the entire corpus is public domain, drawn in part from the Project Gutenberg collection. Not affiliated with or endorsed by Project Gutenberg.

Corpus size

The corpus is actively growing — it started at hundreds of books and is on a path from 17,000+ toward roughly 62,000 as more public-domain texts are indexed. Don't hardcode a book count anywhere downstream of this server; ask search_books or search_literature and let the live index answer.

Flagship books (ask_book)

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 (Marcus Aurelius), Moby-Dick, The Picture of Dorian Gray, Pride and Prejudice, Sherlock Holmes, The Iliad, The Odyssey, The Republic, The Time Machine, Tom Sawyer, Treasure Island, Walden, War and Peace, Wuthering Heights.

Any other book: use search_literature or search_books + get_chapter/get_quotes instead — the flagship ask_book routes are hand-curated, the rest of the corpus is reachable through search.

Shelves (browse_shelf)

10 hand-picked categories (adventure, children's classics, classic literature, economics & politics, gothic horror, history, philosophy, poetry, science & nature, Shakespeare & drama) plus 100+ auto-generated subject shelves drawn from real Gutenberg subjects/bookshelves metadata (gothic fiction, Russian literature, detective fiction, banned books lists, and more).

The full, current shelf catalog is free to browse — no payment, no tool call required:

  • https://library.forgemesh.io/llms.txt
  • https://library.forgemesh.io/openapi.json

How payment works

No signup, no API key, no subscription. The first request to any tool returns an HTTP 402 challenge; this MCP server signs a USDC payment authorization (EIP-3009) and retries automatically. The result lands in the same response, with the on-chain settlement details under _payment when available.

Direct API

Prefer raw HTTP? The full agent-readable surface:

  • https://library.forgemesh.io/llms.txt — one-page summary for agents
  • https://library.forgemesh.io/openapi.json — OpenAPI 3.1 with x402 payment metadata, full input schemas, and worked examples for every route
  • https://library.forgemesh.io/.well-known/x402.json — x402 discovery manifest

FAQ

Is this LLM-generated? No. Every response is retrieval over a local full-text index of real books. The method field in every response says so explicitly.

Do I need an account or API key? No. x402 payments are the only credential.

What chain and token? USDC on Base mainnet (eip155:8453).

Can I use this for tutoring or curriculum content? Yes — that's the intended use. Retrieval-only, cited-passage answers are education-safe in a way generated summaries aren't.


Built by ForgeMesh Labs · Powered by the x402 protocol · MIT License

來源:README.md,提交 91ce8cb

工具

8

search_literature

PREMIUM full-text search across the entire indexed public-domain corpus (17k+ books and growing). Returns the most relevant passages from ANY book, ranked by relevance, with title/author citations. Retrieval only — real cited passages, never LLM-generated or summarized. Costs $0.02 via x402 (requires WALLET_PRIVATE_KEY, USDC on Base).

輸入參數limitquery必填

search_books

Search the indexed public-domain book corpus by title or author substring, e.g. 'Dickens' or 'Frankenstein'. Returns matching books ranked by historical 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).

輸入參數limitquery必填

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).

輸入參數book_id必填

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).

輸入參數book_id必填chapter必填

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).

輸入參數limitthemebook_id必填

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, odyssey, republic, time machine, tom sawyer, treasure island, walden, war and peace, wuthering heights. Costs $0.01 via x402 (requires WALLET_PRIVATE_KEY, USDC on Base).

輸入參數book必填limitquestion必填

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).

輸入參數shelf必填

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).

輸入參數date

版本歷史

4
  1. v0.1.8最新Nov 3, 2026
  2. v0.1.7Nov 1, 2026
  3. v0.1.6Oct 8, 2026
  4. v0.1.4Sep 16, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分