Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
A paid public-domain knowledge base for AI agents: full-text search, book metadata, chapters.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
WALLET_PRIVATE_KEY, LIBRARY_BASE_URL标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"library": {
"command": "npx",
"args": [
"-y",
"@forgemeshlabs/library-mcp"
],
"env": {
"WALLET_PRIVATE_KEY": "your-value",
"LIBRARY_BASE_URL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add library --env WALLET_PRIVATE_KEY=your-value --env LIBRARY_BASE_URL=your-value -- npx -y @forgemeshlabs/library-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"library": {
"command": "npx",
"args": [
"-y",
"@forgemeshlabs/library-mcp"
],
"env": {
"WALLET_PRIVATE_KEY": "your-value",
"LIBRARY_BASE_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"library": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@forgemeshlabs/library-mcp"
],
"env": {
"WALLET_PRIVATE_KEY": "your-value",
"LIBRARY_BASE_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
LIBRARY_BASE_URL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 forgemeshlabs 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:WALLET_PRIVATE_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.8)于5天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
*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.
{
"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.
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.
| Tool | Cost | What it does |
|---|---|---|
search_literature | $0.02 | Full-text search across the entire corpus — real passages, any book |
search_books | $0.005 | Search the corpus by title or author substring |
get_book_metadata | $0.005 | Title, author, year, subjects, bookshelves, chapter range for a book_id |
get_chapter | $0.005 | Full text of one chapter by book_id + chapter number |
get_quotes | $0.005 | Notable passages from a book, optionally themed |
ask_book | $0.01 | Ask a flagship book (Moby Dick, the Republic, Sherlock Holmes...) a question, get cited passages back |
browse_shelf | $0.005 | Browse a curated category or subject shelf (gothic horror, Russian literature, detective fiction, 100+ shelves) |
book_of_the_day | $0.005 | Deterministic 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.
Built for education-safe agent use cases:
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.
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.
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.
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.txthttps://library.forgemesh.io/openapi.jsonNo 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.
Prefer raw HTTP? The full agent-readable surface:
https://library.forgemesh.io/llms.txt — one-page summary for agentshttps://library.forgemesh.io/openapi.json — OpenAPI 3.1 with x402 payment metadata, full input schemas, and worked examples for every routehttps://library.forgemesh.io/.well-known/x402.json — x402 discovery manifestIs 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