CoreForge Books
v1.0.1CoreForge book catalogue and book-data tools: lookup, dossier search, verdicts.
Book catalogue and book-data tools from Creator CoreForge, exposed as a Model Context Protocol (MCP) server over stdio. The tools call the CoreForge x402 API, which is pay-per-call in USDC on Base mainnet (x402 protocol). Two modes: MCP client configuration (Claude Desktop, Cursor, etc.):
Summary extracted from the README.
CoreForge Books — MCP server
Book catalogue and book-data tools from Creator CoreForge, exposed as a Model Context Protocol (MCP) server over stdio.
The tools call the CoreForge x402 API, which is pay-per-call in USDC on Base mainnet (x402 protocol). Two modes:
- Quote-only mode (default): no wallet configured. Paid tools return the endpoint's payment requirements — amount, asset, network and payTo address — as a structured result, so you can see exactly what a call costs before paying anything.
- Auto-pay mode: set
X402_PAYER_PRIVATE_KEYto a dedicated, low-balance wallet holding USDC on Base. Each paid tool call then pays automatically via@x402/fetch. Never use a wallet with funds you cannot afford to spend — calls are charged per invocation at the prices below.
Tools
| Tool | Price | What it does |
|---|---|---|
catalogue_lookup |
$0.01 | Look up a CoreForge catalogue book by ISBN or title text — metadata, prices, live retailer status. |
catalogue_title |
$0.01 | Full catalogue record for one ISBN. |
book_search |
$0.01 | Search ~1.17M book dossiers (CoreForge Memory store) by title/author, plus catalogue matches. |
book_record |
$0.05 | One full book enrichment record (complete dossier JSON) by dossier id. |
chapter_verdict |
$0.05 | Gate-style heuristic score (1–5 + binge-worthy flag) for one fiction chapter: restatement, dialogue share, complaint-marker screen, tempo. |
token_verdict |
$0.02 | Deterministic 0–100 token risk verdict from public DEX data. Not financial advice. |
meter_estimate |
$0.05 | CoreForge Meter GPU-cost estimate from public cloud list prices (cheapest basis + alternatives). Estimate only. |
meter_gpus |
free | GPU types that meter_estimate can price. |
Install
npm install
node src/index.js # serves MCP over stdio
MCP client configuration (Claude Desktop, Cursor, etc.):
{
"mcpServers": {
"coreforge-books": {
"command": "npx",
"args": ["-y", "coreforge-books-mcp"],
"env": {
"X402_BASE_URL": "https://coreforge-memory.onrender.com/x402",
"X402_PAYER_PRIVATE_KEY": ""
}
}
}
}
(Until the package is published to npm, run it from a clone of this repo with node /path/to/coreforge-books/src/index.js as the command.)
Configuration
| Env var | Required | Description |
|---|---|---|
X402_BASE_URL |
no | Base URL of the CoreForge x402 API. Default: https://coreforge-memory.onrender.com/x402. |
X402_PAYER_PRIVATE_KEY |
no | Private key (0x…) of a dedicated low-balance wallet with USDC on Base mainnet (eip155:8453). Enables automatic payment. Empty/unset = quote-only mode. |
See .env.example. No secrets are stored in this repository.
Notes
- Prices are set by the API server and can change; the 402 response always carries the current amount, and quote-only mode shows it before any payment.
- Some API endpoints depend on server-side providers and may return a structured
503 *_not_configuredbody, which the tools pass through unchanged.