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 分