Skip to content
Fourohtwo

mcp.naxytra.com/mcp/http402/text.chunk

Chunk text for RAG (MCP tool "text.chunk"), $0.01 USDC per call on Base mainnet ($0.001 on Base Sepolia), paid with x402; charged only if the call succeeds. Splits text into chunks of at most max_chars (100-20000, default 2000) preferring paragraph, line, sentence and word boundaries, with optional overlap (up to half of max_chars). Sizes are UTF-16 code units; surrogate pairs (emoji) are never sp

BaseBase SepoliaAnswering
POSThttps://mcp.naxytra.com/mcp/http402/text.chunk

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://mcp.naxytra.com/mcp/http402/text.chunk", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"max_chars":100,"text":"Agents discover tools, pay per call and get a signed receipt. Long documents are split into chunks so each fits a model context window. Overlap keeps sentences that straddle a boundary readable."},"name":"text.chunk"}}),
});
console.log(await res.json());

Example input

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "max_chars": 100,
      "text": "Agents discover tools, pay per call and get a signed receipt. Long documents are split into chunks so each fits a model context window. Overlap keeps sentences that straddle a boundary readable."
    },
    "name": "text.chunk"
  }
}

More from naxytra