ClearMD
AI 에이전트를 위한 종량제 웹 도구: 모든 URL을 깔끔한 Markdown으로 변환하고, PDF 텍스트, RSS, 링크, QR, CSV-JSON 변환, 환율, 날씨 등을 제공합니다. Base의 USDC로 x402를 통해 호출당 $0.001~$0.002이며, 무료 미리보기를 제공합니다. 원격 MCP 엔드포인트: https://clearmd.clearmd.workers.dev/mcp
호스팅형 MCP 서버
npx add-mcp 'https://clearmd.clearmd.workers.dev/mcp'Claude Code, Codex, Cursor 등에 설치됩니다
문서
ClearMD
Pay-per-call tools for AI agents. Read any public web page as clean Markdown, plus small helper tools. Pay a fraction of a cent per call in USDC on Base with x402.
from $0.001 per callno account, no API keyfailed calls are freeMCP serverOpenAPIv1.1.0
Try it free
The free preview returns the first 2000 characters and is rate-limited. The full read costs $0.001.
Tools and prices
| Endpoint | What it does | Price per call | MCP tool |
|---|---|---|---|
GET | POST /v1/read | Public URL to clean Markdown | $0.001 | read_url |
GET | POST /v1/extract | HTML to structured JSON | $0.002 | extract_page |
GET | POST /v1/pdf | PDF to text | $0.002 | pdf_text |
GET | POST /v1/feed | RSS and Atom reader | $0.002 | read_feed |
GET | POST /v1/links | Sitemap and link extractor | $0.002 | extract_links |
GET | POST /v1/domain | DNS, RDAP, and TLS lookup | $0.002 | domain_lookup |
GET | POST /v1/image | Image metadata | $0.002 | image_meta |
GET | POST /v1/fx | ECB foreign exchange rates | $0.002 | fx_rate |
GET | POST /v1/weather | Weather forecast | $0.002 | weather_forecast |
GET | POST /v1/qr | QR code (SVG) | $0.002 | make_qr |
POST /v1/csv | CSV to JSON and back | $0.002 | csv_json |
POST /v1/score | Readability scores | $0.002 | readability |
GET | POST /v1/headers | HTTP headers and redirects | $0.002 | http_headers |
POST /v1/cron/next | Cron next runs | $0.001 | cron_next |
POST /v1/diff | Text diff | $0.001 | text_diff |
POST /v1/evm/decode | EVM calldata / event log decoder | $0.001 | evm_decode |
POST /v1/time/convert | Time zone convert, add, diff | $0.001 | time_convert |
Prices are in USDC. Invalid input, blocked URLs, and failed fetches return 4xx or 5xx and are not charged. URL fetches do not run JavaScript and respect robots.txt.
Call it with curl
# free preview
curl "https://clearmd.clearmd.workers.dev/v1/read/preview?url=https://example.com/"
# paid read: without payment you get HTTP 402 and a PAYMENT-REQUIRED header with the exact terms
curl -i "https://clearmd.clearmd.workers.dev/v1/read?url=https://example.com/"
Pay automatically with an x402 client (Node)
import { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.BUYER_KEY); // a buyer wallet with a little USDC on Base
const pay = wrapFetchWithPaymentFromConfig(fetch, {
schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(account) }],
});
const res = await pay("https://clearmd.clearmd.workers.dev/v1/read?url=https://example.com/");
console.log((await res.json()).markdown);
npm i @x402/fetch @x402/evm viem. The buyer wallet needs a little USDC on Base. The client reads the 402, signs the payment, and retries.
Connect over MCP
Streamable HTTP endpoint: https://clearmd.clearmd.workers.dev/mcp. Every paid route is also an MCP tool. Your MCP client must support x402 payments for paid tools.
{
"mcpServers": {
"clearmd": {
"url": "https://clearmd.clearmd.workers.dev/mcp"
}
}
}
For agents and crawlers
- /llms.txt: plain-text summary with every route and price
- /openapi.json: OpenAPI 3.1 with
x-payment-infoper paid route - /.well-known/x402: x402 resource list
- /.well-known/mcp.json and /mcp/server-card: MCP server card
- /.well-known/ai-catalog.json: AI catalog
- /health: status and live prices