WebExtract · Docs · Examples

MCP client configs

Remote streamable-HTTP server: https://api.webextract.dev/mcp. Copy a file below into your client. Free calls need no header. With prepaid credits use a with-key file: the Cursor one reads WEBEXTRACT_KEY from the environment, the Claude Desktop one has a placeholder lx_REPLACE_ME to replace with your key. Server card: server-card.json; setup notes: docs.

cursor.mcp.json

Cursor, ~/.cursor/mcp.json or .cursor/mcp.json

{
  "mcpServers": {
    "webextract": {
      "url": "https://api.webextract.dev/mcp"
    }
  }
}

cursor.mcp.with-key.json

Cursor with an API key

{
  "mcpServers": {
    "webextract": {
      "url": "https://api.webextract.dev/mcp",
      "headers": { "Authorization": "Bearer ${env:WEBEXTRACT_KEY}" }
    }
  }
}

vscode.mcp.json

VS Code, .vscode/mcp.json

{
  "servers": {
    "webextract": {
      "type": "http",
      "url": "https://api.webextract.dev/mcp"
    }
  }
}

claude_desktop_config.json

Claude Desktop (stdio bridge through npx mcp-remote)

{
  "mcpServers": {
    "webextract": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://api.webextract.dev/mcp", "--transport", "http-only"]
    }
  }
}

claude_desktop_config.with-key.json

Claude Desktop with an API key

{
  "mcpServers": {
    "webextract": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote", "https://api.webextract.dev/mcp", "--transport", "http-only",
        "--header", "Authorization:${WEBEXTRACT_AUTH}"
      ],
      "env": { "WEBEXTRACT_AUTH": "Bearer lx_REPLACE_ME" }
    }
  }
}

cline_mcp_settings.json

Cline (keep "type": "streamableHttp")

{
  "mcpServers": {
    "webextract": {
      "type": "streamableHttp",
      "url": "https://api.webextract.dev/mcp",
      "disabled": false,
      "autoApprove": []
    }
  }
}

claude-code.sh

Claude Code (one command)

#!/usr/bin/env bash
# Claude Code: add WebExtract as a remote (streamable HTTP) MCP server.
claude mcp add --transport http webextract https://api.webextract.dev/mcp
# With prepaid credits:
# claude mcp add --transport http webextract https://api.webextract.dev/mcp --header "Authorization: Bearer $WEBEXTRACT_KEY"