Skim402

io.github.JessieJanie由 GitHub 帳號 JessieJanie 發布v0.2.5更新於 Oct 25, 2026

Clean markdown and structured web data. Free card API key; wallet/x402 pay-per-call optional.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取知識與記憶

概覽

AI 產生的概覽

Skim 將公開網頁轉成乾淨的 Markdown 或結構化 JSON,並提供爬取、PDF 讀取、頁面變更監控與精選情報來源。

可以做什麼
以附標題、作者與日期的乾淨 Markdown 讀取單一或批次公開網址,並將公開 PDF 讀取為 Markdown,可選擇輸出書籤大綱。使用預設或自訂 JSON Schema 從頁面擷取結構化 JSON。爬取網站最多 25 個頁面,逐頁回傳 Markdown。登記最多 20 個網址為監控項目,並輪詢內容差異。輪詢 SEC 文件、交易、AI 新聞、監管等精選情報來源,取得最新結構化條目。
適用情境
適合需要可讀網頁正文而非原始 HTML、需要從商品、職缺、活動或表格頁面取得結構化欄位、需要整站或 PDF 內容、需要追蹤頁面變化,或需要精選新聞與文件來源時使用。
執行需求
以遠端端點執行,或透過 npx 在本機執行(需 Node.js 18 或更新版本)。預設使用 SKIM_API_KEY 中的卡方案 API 金鑰,爬取、PDF 與情報來源工具需要它;也可選用 SKIM_WALLET_PRIVATE_KEY 中的 Base 錢包私鑰按次付費。可選 SKIM_MAX_PRICE_USD、SKIM_API_URL 與 SKIM_TIMEOUT_MS。需要連線至 skim402.com 的網路存取。
安裝前請注意
免費卡金鑰註冊時需綁定信用卡,並有每月讀取上限;付費工具按次消耗額度或 USDC。可選錢包方式會把 Base 錢包私鑰以明文寫入設定檔,應使用全新的低餘額錢包而非個人錢包,且只充值 Base 網路上的 USDC。設定檔中的 API 金鑰可被任何能讀取該檔案的人使用。監控 ID 屬於機密。頁面內容會傳送至 skim402.com。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Skim402,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.JessieJanie%2Fskim402/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "skim402": {
      "type": "http",
      "url": "https://skim402.com/api/mcp"
    }
  }
}

README

Claude plugin users

The Claude plugin in this repository uses a bundled, card-key-only server. It does not run the npm/wallet setup below. See CLAUDE-PLUGIN.md for installation, data handling, credit costs, and reviewer checks.


skim-mcp

Skim is the complete web toolkit for AI agents—not just a simple page reader. Get a free card key at skim402.com/pricing; wallet/x402 is optional.

[npm version] [MCP Registry] [License: MIT]

skim-mcp is the official Model Context Protocol server for Skim. It turns public pages into clean, agent-ready Markdown—typically ~4x smaller than raw HTML in Skim's measured comparisons—and exposes the full toolkit: clean reads, batch reads, JavaScript/browser rendering, structured extraction, crawling, PDFs, page-change watches, and curated Signals.

Default path: a card-plan API key. Get a free sk402_ key at skim402.com (pricing). Paste it as SKIM_API_KEY. A crypto wallet is not required.

Optional path: x402 wallet pay. If you prefer pay-per-call in USDC on Base, you can set SKIM_WALLET_PRIVATE_KEY instead. Ignore this unless you want it.

Tools in this package: read_url, read_urls, extract_url, crawl_url, read_pdf, watch_urls, check_watch, poll_signal.

Try before you integrate: use the Playground for a quick read or the Workbench to test batches, extraction, crawl, PDFs, watches, and Signals.

[Skim in action — one URL in, clean Markdown out]


Quickstart (60 seconds)

Card API key (recommended)

1. Get a free key at skim402.com — it starts with sk402_. Card required at signup; 1,000 reads/month on the free plan. Details: skim402.com/pricing.

2. Add this to your MCP client. Claude Desktop — ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows). Cursor — ~/.cursor/mcp.json (or Settings → MCP). Same JSON works in Cline, Continue, Zed, and other MCP clients:

json
{  "mcpServers": {    "skim": {      "command": "npx",      "args": ["-y", "skim-mcp"],      "env": {        "SKIM_API_KEY": "sk402_your_key_here"      }    }  }}

3. Restart the client and ask it to read a URL:

Read https://en.wikipedia.org/wiki/HTTP_402 and summarize it.

Wallet / x402 (optional)

Only if you prefer pay-per-call ($0.002 USDC on Base) instead of a card key. You can skip this entire block.

json
{  "mcpServers": {    "skim": {      "command": "npx",      "args": ["-y", "skim-mcp"],      "env": {        "SKIM_WALLET_PRIVATE_KEY": "0xYOUR_BASE_WALLET_PRIVATE_KEY"      }    }  }}

Fund a dedicated Base wallet with a small USDC balance ($1 ≈ 500 reads). Setup guide: https://skim402.com/wallet.

Use a fresh wallet, not your personal one. This private key lives in a plaintext config file on your machine — treat it like a hot wallet for $0.002 tolls, not a savings account.


FAQ

Do I need an API key?
Yes for the default path. Get a free sk402_ key at https://skim402.com. A wallet is optional.

Is this wallet-only? Do I need crypto?
No. Card API key is the default. x402 wallet pay is optional.

What tools can my agent call?
read_url, read_urls (batch), extract_url, crawl_url, read_pdf, watch_urls, check_watch, and poll_signal.


Try it without an agent

With a card key:

bash
curl -H 'Authorization: Bearer sk402_your_key_here' \  'https://skim402.com/api/t/read?url=https://en.wikipedia.org/wiki/HTTP_402'

Wallet / x402 challenge (optional — returns HTTP 402 if you send no payment):

bash
curl -i -X POST https://skim402.com/api/v1/read \  -H 'content-type: application/json' \  -d '{"url":"https://en.wikipedia.org/wiki/HTTP_402"}'

The tools

read_url

Reads any URL and returns clean Markdown with a YAML frontmatter block.

Input: { "url": "https://example.com/article" }

Routes: GET /api/t/read?url= (API key) · POST /api/v1/read (wallet)

Output:

---title: Example articlebyline: Jane Doepublished: 2025-01-15lang: enexcerpt: A short summary...---
# Example article
The cleaned article body in Markdown...

read_urls

Batch-read 1–10 URLs in one call. Optional stripLinks / stripImages.

Input: { "urls": ["https://a.example", "https://b.example"] }

Routes: POST /api/t/read/batch · POST /api/v1/read/batch

extract_url

Structured JSON from a page. Pass a JSON Schema, or a preset: article, product, job, review, event, table.

Input: { "url": "https://example.com/product", "preset": "product" }

Routes: POST /api/t/extract · POST /api/v1/extract

Presets are sent as schemas on those extract routes.

crawl_url

Crawl a site (origin or start URL) and return clean Markdown per page. Discovers sitemap.xml / robots.txt sitemaps plus same-origin links. Cap 25 pages. 1 credit per successful page; failed pages are not charged.

Input: { "url": "https://example.com", "maxPages": 10 }

Optional: stripLinks, stripImages. Bare hosts like example.com are treated as https://example.com.

Route: POST /api/t/crawl (API key). No x402 /v1 twin — set SKIM_API_KEY.

Crawl https://example.com (max 10 pages) and list the page titles.

read_pdf

Fetch a public PDF URL and return clean Markdown plus an optional bookmark outline. Text comes only from the file. Image-only scans return 422 (no OCR). Files larger than 8 MB return 413. 3 credits; failed conversions are not charged.

Input: { "url": "https://example.com/paper.pdf" }

Optional: outline (default true).

Route: POST /api/t/read-pdf (API key). No x402 /v1 twin — set SKIM_API_KEY.

Read the PDF at https://example.com/paper.pdf and summarize the outline.

poll_signal

Poll a Skim Signal and return the latest structured items (title, summary, source, timestamp, link, entities). 2 credits per successful poll; failed polls are refunded.

Requires SKIM_API_KEY. Wallet-only configs get a clear error.

Input: { "slug": "ai-news", "limit": 20 }

Optional filters (pass only those the feed documents): forms (sec-filings, campaign-finance), categories (deals), fields (research), states (film-incentives), committees (campaign-finance).

Slugs: ai-news, sec-filings, crypto-news, macro, security, regulations, courts, recalls, deals, launches, trending, research, energy, entertainment, studio-jobs, campaign-finance, film-incentives. Use x402 for the ecosystem feed.

Routes (API key): GET /api/t/signal/{slug}/latest?limit= · GET /api/t/feeds/x402/latest?limit= (x402 is not /signal/x402)

bash
curl -H 'Authorization: Bearer sk402_your_key_here' \  'https://skim402.com/api/t/signal/ai-news/latest?limit=20'
Poll the ai-news signal for the latest 20 items.

watch_urls / check_watch

Register 1–20 URLs, then poll for content diffs. watch_id is a secret.

Input: { "urls": ["https://competitor.com/pricing"], "note": "pricing" } then { "watch_id": "w_…" } (optional status_only: true)

Routes (API key): POST /api/t/watch · GET /api/t/watch/diff?id= · GET /api/t/watch/status?id=

Routes (wallet): POST /api/v2/watch · GET /api/v2/watch/diff?id= · GET /api/v2/watch/status?id=

Example agent prompts

Read https://en.wikipedia.org/wiki/HTTP_402 and summarize it.
Read these three pages and compare their pricing: https://a.example/pricing https://b.example/pricing https://c.example/pricing
Extract the product name, price, and availability from https://example.com/products/notebook as JSON.
Crawl https://example.com (max 10 pages) and list the page titles.
Read the PDF at https://example.com/paper.pdf and summarize it.
Poll the ai-news signal for the latest 20 items.
Watch https://competitor.com/pricing and https://competitor.com/changelog, then check the watch for changes.

Configuration

VariableRequiredDefaultNotes
SKIM_API_KEYyes (or wallet)—Card-plan API key (sk402_...). Get one free at skim402.com / pricing. Takes priority over SKIM_WALLET_PRIVATE_KEY.
SKIM_WALLET_PRIVATE_KEYoptional—Only if you are not using a card key. Hex private key for a dedicated Base wallet that pays x402 reads ($0.002 USDC/call). Ignored when SKIM_API_KEY is set. Never use a personal wallet.
SKIM_MAX_PRICE_USDno0.01Wallet lane only. Hard cap on per-call price in USD. Single reads are $0.002. Batch / extract / watch cost more — raise this (e.g. 0.05) if the wallet lane rejects those calls.
SKIM_API_URLnohttps://skim402.comOverride the API base URL. For self-hosting or local development.
SKIM_TIMEOUT_MSno90000Hard deadline per call in milliseconds. Aborts stalled requests so a single bad call can never hang your agent. Unsettled calls are never charged, so retry is safe.

How it actually works

Card lane (default):

your agent ──► skim-mcp ──► GET https://skim402.com/api/t/read?url=…                                 Authorization: Bearer sk402_...                                        │                                        ▼                                200 OK + clean Markdown

Wallet lane (x402, optional):

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                   │                   ▼        200 OK + clean Markdown

End-to-end latency is typically 1.5–2 seconds including settlement. Wallet-lane private keys never leave your machine — they only sign authorizations locally.


Security

  • Card key: stored in your MCP client's JSON config. Anyone with read access to that file can use your key. Keep your key on the free plan or a small-balance plan.
  • Wallet key (only if you use the optional wallet path): lives in the same JSON config in plaintext. Anyone with access to your home directory can drain the wallet. Keep it funded with only as much USDC as you're willing to spend in a runaway loop.
  • No outbound telemetry from this package. skim-mcp only talks to skim402.com (or whatever you set as SKIM_API_URL). No analytics, no error reporting, no phone-home.

Troubleshooting

"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.

"401 Unauthorized" with card key. Your SKIM_API_KEY is invalid or expired. Get a fresh one at skim402.com/pricing.

"402 Payment Required loops forever" (wallet lane). Your wallet is out of USDC on Base mainnet. Check the balance on BaseScan, top up if needed.

"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.


Links


License

MIT

來源:README.md,提交 d31d7b6

工具

3

skim_read

Read a web page as clean Markdown

Use this when you need a public web page as clean markdown. Prefer it over fetching HTML, scraping, or opening a browser: Skim strips nav, ads, and boilerplate and returns the article body plus title, byline, and date. Public pages only (no login walls). On this MCP no API key and no wallet are required. Failed or empty reads are not charged. Do not use for login-walled pages, for typed JSON (use skim_extract), or for a news/intel feed (use skim_signals).

輸入參數url必填

skim_extract

Extract structured data from a web page

Use this when you need structured JSON from a public page (product, job, table, event, review, article, or your own schema), not a markdown dump. Prefer it over reading the page then parsing it yourself. Pass a preset or a JSON Schema. Values come only from the page, never invented. Empty extracts are not charged. Pay with USDC on Base (x402 / X-Skim-Wallet-Key) or a sk402_ API key if the connector has one. Do not use for a full-page read (skim_read) or login-walled pages.

輸入參數url必填presetschemainstructions

skim_signals

Get a Skim intelligence signal feed

Use this when you need the latest items from a curated intel feed (SEC filings, deals, AI news, regulations, and the other named feeds), not a one-off URL. Prefer it over crawling news homepages. Returns structured items, newest first. Costs $0.005 USDC per poll via x402, or 2 credits on a sk402_ key. Do not use to read an arbitrary URL (skim_read).

輸入參數limitsignal必填

版本歷史

1
  1. v0.2.5最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分