Connects Claude or any MCP client to Skim's clean reader API via a single read_url tool that strips ads and boilerplate from any URL and returns agent-ready Markdown with structured metadata. Each call costs $0.002 in USDC on Base, paid automatically through HTTP 402 using an EIP-3009 transfer authorization signed by a local wallet. No API keys, no signup. You configure it by dropping a Base wallet private key into your MCP config, funding the wallet with a dollar or two of USDC, and letting your agent fetch web content without manual copy-paste or dealing with paywalls and clutter. Latency is around two seconds including on-chain settlement.
Give your AI agent the ability to read any URL — clean Markdown, no ads, no nav, no boilerplate. Pays itself per call. No signup, no API key.
skim-mcp is the official Model Context Protocol server for Skim — the canonical x402 clean reader API. It exposes one tool, read_url, that your agent can call to fetch any web page as agent-ready Markdown plus structured metadata (title, byline, published date, language, excerpt). Each call costs $0.002 in USDC on Base, paid automatically by your local wallet over HTTP 402.
A 30-second demo GIF coming here soon.
Claude Desktop — edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"skim": {
"command": "npx",
"args": ["-y", "skim-mcp"],
"env": {
"SKIM_WALLET_PRIVATE_KEY": "0xYOUR_BASE_WALLET_PRIVATE_KEY"
}
}
}
}
Cursor — edit ~/.cursor/mcp.json (or Settings → MCP) with the same JSON block.
Cline, Continue, Zed, or any other MCP client — same shape; the binary is npx skim-mcp with one env var.
A dollar funds roughly 500 reads. Full step-by-step (with screenshots, for non-crypto-native devs): https://skim402.com/wallet.
Use a fresh wallet, not your personal one. This wallet's private key lives in a plaintext config file on your machine — treat it like a hot-wallet for paying $0.002 tolls, not a savings account.
Claude, read https://en.wikipedia.org/wiki/HTTP_402 and summarize it.
The agent will call read_url, your local wallet will sign an EIP-3009 USDC authorization for $0.002, Skim returns clean Markdown, and Claude summarizes. You'll see the payment receipt in your wallet's transaction history on BaseScan.
Skeptical? Test the upstream endpoint directly — it'll return a 402 challenge so you can see the protocol in action:
curl -i -X POST https://skim402.com/api/v1/read \
-H 'content-type: application/json' \
-d '{"url":"https://en.wikipedia.org/wiki/HTTP_402"}'
You'll get back HTTP/1.1 402 Payment Required with the x402 challenge in the response body. To then pay the challenge from a script (not an agent), see x402-fetch.
read_urlReads any URL and returns clean Markdown with a YAML frontmatter block.
Input:
{ "url": "https://example.com/article" }
Output:
---
title: Example article
byline: Jane Doe
published: 2025-01-15
lang: en
excerpt: A short summary...
---
# Example article
The cleaned article body in Markdown...
That's it. One tool, one input, one shape of output. Designed to drop into any agent's tool-calling loop with zero ceremony.
| Variable | Required | Default | Notes |
|---|---|---|---|
SKIM_WALLET_PRIVATE_KEY | yes | — | Hex private key for the Base wallet that pays for reads. With or without 0x prefix. Use a dedicated wallet — never your personal one. |
SKIM_MAX_PRICE_USD | no | 0.01 | Hard cap on per-call price in USD. The wallet refuses to sign for anything above this. Skim is currently $0.002/call, well under the default cap — leave it alone unless tuning. |
SKIM_API_URL | no | https://skim402.com | Override the API base URL. For self-hosting or local development. |
your agent ──► skim-mcp ──► POST https://skim402.com/api/v1/read
▲ │
│ ▼
│ 402 Payment Required
│ (x402 challenge)
│ │
▼ │
x402-fetch signs EIP-3009 ◄────────────┘
USDC transfer authorization
│
▼
retry POST with X-PAYMENT header
│
▼
Skim verifies + settles via Coinbase CDP facilitator
│
▼
200 OK + clean Markdown
End-to-end latency is typically 1.5–2 seconds including settlement. Your private key never leaves your machine — it only signs authorizations locally.
SKIM_MAX_PRICE_USD cap catches accidental price escalations on the server side.skim-mcp only talks to skim402.com (or whatever you set as SKIM_API_URL). No analytics, no error reporting, no phone-home."No tool named read_url shows up in Claude/Cursor."
Restart the client fully (quit, don't just reload the window). MCP servers are spawned at client startup. If still missing, run npx skim-mcp directly in a terminal — if you get a stack trace, it's likely Node < 18.
"402 Payment Required loops forever."
Your wallet is out of USDC on Base mainnet (or you set SKIM_API_URL to a server expecting payment on a different network). Check the balance on BaseScan, top up if needed.
"insufficient funds for gas" Counter-intuitive but: x402 USDC transfers are gasless from your wallet's perspective (the facilitator pays gas, you only sign the authorization). If you see this error, you almost certainly funded the wrong wallet or the wrong network — verify the address in your config matches the one holding the USDC.
"USDC is on Ethereum, not Base." This is the most common funding mistake. USDC on Ethereum mainnet does not work — Skim only accepts USDC on Base. See https://skim402.com/wallet for the bridging walkthrough.
MIT
SKIM_WALLET_PRIVATE_KEY*secretBase-network wallet private key (0x-prefixed, 64 hex chars). Fund the wallet with a small amount of USDC on Base to pay $0.002 per call. Create one at https://app.coinbase.com or any Base-compatible wallet.
SKIM_MAX_PRICE_USDOptional cap on per-call price in USD (default 0.01). Requests that would cost more than this are rejected without payment.