Web Page to RAG Chunks
page_rag3 free MCP calls per day (all tools together), then $0.0025 USDC via x402 or card credits (paid in-band: params._meta["x402/payment"]). Page RAG: Any public web page -> clean LLM-ready Markdown + RAG chunks in one call: main content via Mozilla Readability (no nav/ads/footers), absolute links, title/description/language/canonical/published+modified dates/JSON-LD types, word + token estimates, sha256 content hash for change detection, and heading-aware chunks (configurable size + overlap, each with its heading path). Plain HTTP, robots.txt respected, Markdown/plain text passed through. Flags pages that likely need JavaScript. When to use: Use page-rag to feed a web page into an LLM or a vector store. Use page-meta or page-check for SEO/meta tags and HTTP status only. page-markdown is the older, simpler converter; page-rag is recommended.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "page_rag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | public http(s) page URL | |
| overlap | No | chunk overlap in tokens (default 80) | |
| main_only | No | main content only via Readability (default true) | |
| max_chars | No | max Markdown characters (default 100000, max 400000) | |
| chunk_tokens | No | chunk size in tokens (0 = no chunks, default 800, max 4000) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| url | No | ||
| title | No | ||
| chunks | No | ||
| status | No | ||
| fetchMs | No | ||
| sources | No | ||
| finalUrl | No | ||
| language | No | ||
| markdown | No | ||
| siteName | No | ||
| canonical | No | ||
| extractor | No | ||
| fetchedAt | No | ||
| truncated | No | ||
| wordCount | No | ||
| modifiedAt | No | ||
| contentHash | No | ||
| contentType | No | ||
| description | No | ||
| jsonLdTypes | No | ||
| publishedAt | No | ||
| tokenEstimate | No | ||
| truncatedReason | No | ||
| likelyNeedsJavaScript | No |