Extract a website's design tokens as JSON

$0.02 per call

Extract a website's design tokens as JSON: color palette with roles (hex), fonts and type scale, spacing, border radii, shadows, light/dark mode, and a ready-to-use Tailwind theme extension. Takes 5-20 s.

design-tokenscolorspalettefontstypographytailwindbrandingdesign

Call it from an AI agent (MCP)

Add the remote MCP server https://www.aypiai.online/mcp (Streamable HTTP, no auth) to Claude, Cursor, ChatGPT or any MCP client, then call the tool design_tokens:

{
  "name": "design_tokens",
  "arguments": {
    "url": "https://linear.app"
  }
}

Call it over HTTP

curl -X POST https://www.aypiai.online/api/design-tokens \
  -H "Content-Type: application/json" \
  -H "X-Access-Key: YOUR_CREDIT_KEY" \
  -d '{"url":"https://linear.app"}'

No key? Without one the endpoint answers 402 Payment Required with an x402 PAYMENT-REQUIRED header: any x402 client (USDC on Base, gasless) pays $0.02 and retries automatically. Or buy card credits at /credits (from $5, valid on all tools). Failed calls are never charged.

Input

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Public http(s) URL"
    }
  },
  "required": [
    "url"
  ]
}

Example output

{
  "url": "https://linear.app/",
  "tokens": {
    "colors": [
      {
        "hex": "#08090A",
        "role": "background",
        "usage": "page"
      }
    ],
    "typography": {
      "headingFont": "Inter, sans-serif"
    },
    "mode": "dark"
  }
}

Related tools

Turn any public website URL into a detailed prompt (layout, components, colors, typography, spacing) for recreating its UI with a code model such as Lovable, v0, Claude or Cursor ($0.05) · Get a website's brand kit in one call ($0.01) · Get the best favicon/icon for a website ($0.001)

Rever: website intelligence for AI agents. MCP server: https://www.aypiai.online/mcp · x402 catalog: /.well-known/x402