Skip to main content
Glama
skypher

clawpage-mcp

by skypher
README.md
# ClawPage MCP Server

MCP server for the [ClawPage](https://api.clawpage.xyz) web extraction API. Extract and structure any web page into clean JSON.

## Install

```bash
npx clawpage-mcp
```

Or with Streamable HTTP transport (for ChatGPT, remote agents):

```bash
npx clawpage-mcp --http
```

## Tools

| Tool | Description |
|------|-------------|
| `register` | Create account, get API key (cpk_ prefix) with 10 free extractions/day |
| `extract_url` | Extract any URL into structured JSON (text, tables, prices, contacts, hours, ratings) |
| `account_info` | Check remaining free extractions and USDC balance |
| `add_wallet` | Associate wallet address for prepaid USDC deposits |
| `deposit` | Credit balance from on-chain USDC transfer |

## Quick Start

1. Use the `register` tool with your email to get an API key
2. Use `extract_url` with the API key and any URL
3. Get back structured JSON with text, tables, prices, contacts, hours, ratings, dates, links, and images

## Authentication

Three options:

- **API Key** (recommended): Register for free, get 10 extractions/day
- **Prepaid USDC**: Deposit USDC on Base for $0.01/extraction
- **x402**: Anonymous on-chain micropayment, no account needed

Cache hits are always free (24h TTL).

## Transport

- **stdio** (default): For Claude Desktop, Cursor, and local MCP clients
- **Streamable HTTP** (`--http`): For ChatGPT, browser-based agents, and remote connections. Listens on port 8080 (override with `MCP_PORT` env var)

## Claude Desktop Config

```json
{
  "mcpServers": {
    "clawpage": {
      "command": "npx",
      "args": ["clawpage-mcp"]
    }
  }
}
```

## API

Base URL: `https://api.clawpage.xyz`

See [SKILL.md](SKILL.md) for full API documentation.

## License

MIT

TDQS

A4.2/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a clear, distinct purpose: register creates an account, extract_url performs the core extraction, account_info shows user data, add_wallet links a wallet, and deposit credits balance. No two tools overlap in function.

Naming Consistency4/5

Most tools follow a verb or verb_noun pattern (register, extract_url, add_wallet, deposit), but account_info is a noun phrase, deviating slightly. The naming is still readable and predictable overall.

Tool Count5/5

Five tools is well-scoped for a focused web extraction service with account management. Each tool is necessary, and the count feels neither sparse nor bloated.

Completeness5/5

The tool surface covers the full lifecycle: registration, funding (add_wallet, deposit), the core extraction action, and account status checking. No obvious dead ends or missing operations for the intended use case.

Maintenance

ActivityInactive
ResponsivenessNo issues