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 分