Skip to content

Free shipping ·  Nationwide

klatchit.

Connect an agent

Wire Claude, ChatGPT, or your own code to Klatchit — either the public catalog with no account, or your own account over OAuth so an agent can see your orders and, with your consent, act for you.

Public catalog — no account, no key

Read the marketplace catalog and build cart links a human opens and checks out. Nothing here needs a sign-in.

Claude (claude.ai / desktop)

Add the Klatchit catalog as a custom MCP connector — no account, no key, no auth step.

  1. Open Claude → Settings → Connectors.
  2. Choose "Add custom connector".
  3. Paste the MCP URL: https://www.klatchit.com/api/mcp/mcp
  4. Save. There is no sign-in or authorization step for the public catalog.
  5. Ask Claude to search Klatchit, compare offers, or build a cart link.
https://www.klatchit.com/api/mcp/mcp

Claude Code (CLI)

Add the Klatchit catalog MCP to Claude Code with one command.

  1. Run the command below in your terminal.
  2. No credential is required — the public catalog needs no auth.
  3. Use /mcp inside Claude Code to confirm the `klatchit` server is connected.
claude mcp add --transport http klatchit https://www.klatchit.com/api/mcp/mcp

ChatGPT

Give a custom GPT the Klatchit catalog via its OpenAPI schema (no auth).

  1. In ChatGPT, create or edit a GPT and open "Configure → Actions".
  2. Import the schema from: https://www.klatchit.com/api/public/v1/openapi.json
  3. Set Authentication to "None".
  4. The GPT can now call /search, /products/{slug}, /categories and /cart-links.
https://www.klatchit.com/api/public/v1/openapi.json

OpenAI API (function calling)

Wire the public catalog into your own OpenAI function-calling loop — no key on the Klatchit side.

  1. Read the endpoints and shapes from the OpenAPI document: https://www.klatchit.com/api/public/v1/openapi.json
  2. Call the base URL directly: https://www.klatchit.com/api/public/v1 (send a descriptive User-Agent).
  3. Expose /search, /products/{slug}, /categories and /cart-links as tools to your model.
  4. Hand any cart-link URL back to your user to open and check out themselves.
https://www.klatchit.com/api/public/v1

A script or your own backend

Call the public catalog over plain HTTP from anything.

  1. No account or key is needed for the public catalog.
  2. Send a descriptive User-Agent so we can tell your agent from a scraper.
  3. Honour 429 Retry-After and reuse cacheable responses.
curl "https://www.klatchit.com/api/public/v1/search?q=headphones&condition=new" \
  -H "User-Agent: my-agent/1.0 (contact@example.com)"

Connect your account

Sign in and grant an OAuth consent (or, as a seller, mint an API key) so an agent can read your own data — and, when the marketplace has enabled agentic checkout and you have turned it on with spending caps, place orders for you.

Claude (claude.ai / desktop)

Connect YOUR Klatchit account over OAuth so Claude can see your own orders, cart, and returns.

  1. Open Claude → Settings → Connectors → "Add custom connector".
  2. Paste the authenticated MCP URL: https://www.klatchit.com/api/agent/mcp
  3. Claude opens Klatchit's sign-in and consent page — approve only the scopes you want.
  4. To let an agent check out (where the marketplace has enabled it), first turn on agentic purchasing and set spending caps in your account, then re-consent to the checkout scope.
https://www.klatchit.com/api/agent/mcp

Claude Code (CLI)

Add the authenticated Klatchit MCP to Claude Code and connect your account over OAuth.

  1. Run the command below; Claude Code opens your browser to sign in and consent.
  2. Approve only the scopes you want to grant this connection.
  3. The `klatchit` server now acts as you, limited to those scopes.
claude mcp add --transport http klatchit https://www.klatchit.com/api/agent/mcp

ChatGPT

Connect your Klatchit account to ChatGPT over the authenticated MCP (OAuth).

  1. In ChatGPT, add a custom connector pointing at the authenticated MCP URL below.
  2. Complete Klatchit's OAuth sign-in and consent when prompted.
  3. Grant only the scopes you want; revoke anytime from your connected apps.
https://www.klatchit.com/api/agent/mcp

OpenAI API (function calling)

Call an account-scoped Klatchit API from your own OpenAI function-calling app.

  1. As a SELLER: mint a store API key (owners only) and send it as a Bearer token to the seller API.
  2. As a BUYER: connect an OAuth app from your account and use its access token against the buyer API.
  3. Then expose the account endpoints as tools to your model.
# seller API key (klk_live_...) as a Bearer token
curl "https://www.klatchit.com/api/v1/listings" \
  -H "Authorization: Bearer klk_live_<key_id>.<secret>"

A script or your own backend

Call an account-scoped Klatchit API over plain HTTP.

  1. Sellers authenticate with a store API key as a Bearer token (mint it on the page below; the secret is shown once).
  2. Buyers authenticate with an OAuth access token from a connected app.
  3. Every mutation accepts an Idempotency-Key header for safe retries.
curl "https://www.klatchit.com/api/v1/listings" \
  -H "Authorization: Bearer klk_live_<key_id>.<secret>"