Pagination Completeness Checker

A paged list can stop early, repeat an item, or skip a page, and a client that treats the last body as the full set will act on a truncated or duplicated collection. $0.002 per call, USDC via x402 or MPP. Scores caller-supplied pages (items, next cursor or total) for complete, truncated, overlap, or gap. This does not crawl a private API. An empty call scores a built-in three-page complete example.

No account and no API key. Pay per successful call with MPP on Tempo (USDC.e or pathUSD). Invalid input or an upstream failure returns 402 and is not charged.

Routes

RoutePriceWhat you get
POST /v1/pagination-check$0.002Pagination Completeness Checker
A paged list can stop early, repeat an item, or skip a page, and a client that treats the last body as the full set will act on a truncated or duplicated collection. $0.002 per call, USDC via x402 or MPP. Scores caller-supplied pages (items, next cursor or total) for complete, truncated, overlap, or gap. This does not crawl a private API. An empty call scores a built-in three-page complete example.

Copy-paste examples

These call POST /v1/pagination-check ($0.002) — Pagination Completeness Checker. Swap the path for any other route in the table.

mppx CLI

npx mppx https://pagination-completeness-checker.fmf-x402.workers.dev/v1/pagination-check -X POST -H 'content-type: application/json' -d '{"pages":[{"page":1,"items":[{"id":"a"},{"id":"b"}],"next_cursor":"p2","total":5},{"page":2,"items":[{"id":"c"},{"id":"d"}],"next_cursor":"p3","total":5},{"page":3,"items":[{"id":"e"}],"next_cursor":null,"total":5}]}'

The CLI creates or reuses a Tempo account in your keychain and pays the 402 automatically. See mpp.dev/sdk.

curl (unpaid — shows the 402, not charged)

curl -i -X POST https://pagination-completeness-checker.fmf-x402.workers.dev/v1/pagination-check -H 'content-type: application/json' -d '{"pages":[{"page":1,"items":[{"id":"a"},{"id":"b"}],"next_cursor":"p2","total":5},{"page":2,"items":[{"id":"c"},{"id":"d"}],"next_cursor":"p3","total":5},{"page":3,"items":[{"id":"e"}],"next_cursor":null,"total":5}]}'

TypeScript SDK (mppx)

import { Mppx, tempo } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'

Mppx.create({
  methods: [tempo({ account: privateKeyToAccount(process.env.TEMPO_PRIVATE_KEY) })],
})

// Global fetch now pays the 402 automatically.
const res = await fetch('https://pagination-completeness-checker.fmf-x402.workers.dev/v1/pagination-check', {
  method: 'POST',  headers: {
    'content-type': 'application/json',
  },
  body: JSON.stringify({"pages":[{"page":1,"items":[{"id":"a"},{"id":"b"}],"next_cursor":"p2","total":5},{"page":2,"items":[{"id":"c"},{"id":"d"}],"next_cursor":"p3","total":5},{"page":3,"items":[{"id":"e"}],"next_cursor":null,"total":5}]}),
})
console.log(await res.json())

Python SDK (pympp)

# pip install pympp
# Docs: https://mpp.dev/sdk/python
import asyncio
from mpp.client import Mpp
from mpp.methods.tempo import TempoAccount
from mpp.methods.tempo import client as tempo

account = TempoAccount.from_key("0x...")

async def main():
    async with Mpp(methods=[tempo.charge(account=account)]) as mpp:
        response = await mpp.fetch("https://pagination-completeness-checker.fmf-x402.workers.dev/v1/pagination-check", method="POST", json={"pages":[{"page":1,"items":[{"id":"a"},{"id":"b"}],"next_cursor":"p2","total":5},{"page":2,"items":[{"id":"c"},{"id":"d"}],"next_cursor":"p3","total":5},{"page":3,"items":[{"id":"e"}],"next_cursor":null,"total":5}]})
        print(await response.json())

asyncio.run(main())

MCP config (Cursor, Claude Desktop, VS Code)

{
  "mcpServers": {
    "fmf-mpp-pagination-completeness-checker": {
      "url": "https://pagination-completeness-checker.fmf-x402.workers.dev/mcp"
    }
  }
}

Transport is Streamable HTTP at https://pagination-completeness-checker.fmf-x402.workers.dev/mcp. tools/list is free. Paid tools/call needs an MPP Payment header, or just use mppx against the HTTP route.

Sources and licences

Operated by FMF Tools (fmf-tools@agentmail.to). Pay-per-call only; no API key and no account. Invalid input or an upstream failure returns 402 and is not charged.

Sister services