Dutiful

Company Report API and MCP server

Software can check coverage and order cited Company Reports. Use the API or the MCP server to start an order and retrieve the delivered report. Reports use USDC on Base over x402; free coverage checks need no account or API key. Payment needs an x402-capable wallet flow.

See a sample company report · Read what a Company Report covers

Company Report

POST https://app.lookthrough.workers.dev/api/order   {"company":"Tesco PLC","country":"GB"}
-> candidates (free coverage check)
POST https://app.lookthrough.workers.dev/api/order/{order}/entity   {"idx":0}
-> 402 with x402 payment requirements (3000000 USDC units)
POST https://app.lookthrough.workers.dev/api/order/{order}/pay   (PAYMENT-SIGNATURE header)
GET  https://app.lookthrough.workers.dev/api/order/{order}   -> status, report, report_text

Completing the payment

The 402 response carries standard x402 v2 payment requirements in a PAYMENT-REQUIRED header, and its body includes the pay_url for your order. Sign an EIP-3009 TransferWithAuthorization for exactly the requested amount of USDC on Base, then POST to that pay_url with the signed payload base64-encoded in the PAYMENT-SIGNATURE header. Sign with a validBefore inside the maxTimeoutSeconds window given in the requirements (30 minutes). Sign a fresh payload for each order; do not reuse it. Send uint256 values as decimal strings, not JSON numbers. The buyer pays no gas: signing is enough; the facilitator broadcasts and settles.

Client libraries in the @x402 family implement the x402 signing step; the order flow above (free coverage check, then payment to the returned pay_url) is specific to this API. Protocol documentation: docs.x402.org.

MCP

Streamable HTTP server at https://app.lookthrough.workers.dev/mcp with three tools: check_coverage (free), create_order (returns the payment requirements) and get_report. Server card: /.well-known/mcp/server-card.json.

Connect your agent

The MCP server speaks streamable HTTP at https://app.lookthrough.workers.dev/mcp. No account or API key is needed for the free check_coverage tool.

Cursor - add to your mcp.json:

{
  "mcpServers": {
    "dutiful": {
      "url": "https://app.lookthrough.workers.dev/mcp"
    }
  }
}

Claude (claude.ai, Desktop) - Customize > Connectors > + Add > Add custom connector, then paste:
https://app.lookthrough.workers.dev/mcp

Three tools become available:

Clients that cannot pay over x402 can still use check_coverage. To buy reports programmatically, use the payment flow documented above or an MCP client with x402 wallet support.

Discovery

openapi.json · .well-known/x402.json · llms.txt

Rate limits apply per client. Payment is exact: the amount, payee and order id are checked on every payment.

Dutiful utilities: branded access

The existing 16 utility endpoints are available through https://dutiful.work/api/utilities. This adds a Dutiful gateway to the existing service; it does not retire the legacy backend.

Payment remains x402 with USDC on Base. Use a server-side x402 v2-compatible payment flow. v1-only clients are not supported by this integration; cross-origin browser payment support has not been established. The gateway preserves the existing payment requirements. Discovery responses and payment resource URLs still name the legacy origin, https://heb-utils-x402.hebutils-api.workers.dev. Do not replace that origin inside signed payment terms. Follow the exact requirements returned for the request rather than constructing or editing a signed resource URL.

The table below lists the migrated GET paths and the prices recorded at the migration check. Utility query parameters and response schemas are unchanged. The Company Report documentation above does not describe these utility endpoints. Prices shown are not a quote for unsupported parameters or a guarantee of availability. Inspect the returned payment requirements before signing.

GET endpointUSDC per call
https://dutiful.work/api/utilities/indicators0.01
https://dutiful.work/api/utilities/return-tail-stats0.05
https://dutiful.work/api/utilities/base-token-verdict0.02
https://dutiful.work/api/utilities/base-token-brief0.01
https://dutiful.work/api/utilities/base-erc20-balance0.001
https://dutiful.work/api/utilities/base-erc20-supply0.001
https://dutiful.work/api/utilities/base-block-number0.001
https://dutiful.work/api/utilities/base-nonce0.001
https://dutiful.work/api/utilities/hebrew-date0.005
https://dutiful.work/api/utilities/shabbat0.01
https://dutiful.work/api/utilities/hebrew-normalize0.005
https://dutiful.work/api/utilities/base-token-check0.02
https://dutiful.work/api/utilities/base-address-summary0.005
https://dutiful.work/api/utilities/fee-drag0.005
https://dutiful.work/api/utilities/fx-real-return0.01
https://dutiful.work/api/utilities/il-capital-gains0.02

Utility research-report ordering through /api/utilities/order-report is paused and is not one of these 16 paid utility routes. Do not advertise /order-report as available or include /sample-report as a gateway endpoint. Airport lookup and paper-search APIs are not included. Supplier buying is also separate and remains off.

This migration was checked using unpaid requests and legacy/branded response comparisons. No new paid fulfillment test was performed as part of that check. A 402 response shows a payment challenge, not completed delivery. The gateway makes one upstream request without gateway retry; this is not an exactly-once-payment guarantee for the underlying service or client.