Link Preview Cache API

io.github.cmondillo由 GitHub 帳號 cmondillo 發布v1.0.0更新於 Nov 1, 2026

Same link preview data as link-preview-api, ~1/3 the price via a shared cache.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取金融

概覽

AI 產生的概覽

遠端 MCP 工具,抓取公開網址的 Open Graph 與 meta 中繼資料,依次以 Base 上的 USDC 付費,資料來自共用快取。

可以做什麼
  • 抓取公開網址的連結預覽中繼資料:Open Graph 標籤、標題、描述與圖片。
  • 回傳與價格較高的 link-preview 服務相同的預覽資料,由共用快取提供,價格約為其三分之一。
  • 內嵌付款流程:呼叫先回傳 HTTP 402 報價,代理支付幾美分 USDC 後自動回傳結果。
適用情境
適合助理需要快速取得公開網址的連結預覽或頁面中繼資料,且工作流程能以 USDC 自動支付小額單次費用的情境。在可接受快取結果時,比全價連結預覽服務更便宜。
執行需求
遠端 streamable HTTP 端點;未宣告本機安裝、帳號、API 金鑰或標頭。需要能在 Base 主網支付 USDC 的錢包,因為每次呼叫透過 x402 付款流程花費 0.003 USDC。需要能存取該端點及付款網路。
安裝前請注意
每次呼叫都會花真錢:在 Base 主網上每次預覽 0.003 USDC,由代理自動支付。付款需要有錢包餘額並簽署 x402 付款,應控制消費上限並妥善保管錢包金鑰。被預覽的網址會傳送給第三方服務,且結果來自共用快取,可能已過期。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "link-preview-cache-api": {
      "type": "http",
      "url": "https://link-preview-cache-api.onrender.com/mcp"
    }
  }
}

README

tools

A portfolio of small, single-purpose paid services sold directly to AI agents — no human checkout flow, no dashboard login, no subscription. An agent calls the API, gets an HTTP 402 Payment Required quote, pays a few cents in USDC, and gets its answer. Fully automatic on both sides.

Each service lives in its own self-contained folder under projects/ and follows the same pattern:

  • One narrow problem, solved well. No platforms, no suites — a single job an agent needs done.
  • x402 for payment. HTTP-native, stablecoin micropayments, no merchant account or KYC required on the seller side — just a wallet address. This is the emerging standard for agent-to-API payments (backed by Coinbase, adopted by AWS Bedrock AgentCore, Cloudflare, and others as of 2026).
  • Discoverable by agents, not just humans — each API declares an x402 Bazaar discovery schema so agents can find and call it without a human ever reading the docs.
  • A sample automation client included with every project, showing an agent discovering, paying for, and consuming the service end-to-end.
  • Where it adds real reach, also sold as an MCP tool (api/app/mcp_server.py) — the same product, the same price, a second interface for coding agents that discover tools over MCP rather than raw HTTP.

Projects

ProjectWhat it sellsStatus
link-preview-apiPay-per-call URL metadata (Open Graph/title/description/image) extractionLive on Base mainnet, earning real USDC: https://link-preview-api-z4nf.onrender.com
content-moderation-apiPay-per-call profanity/explicit-content detection with redaction, sold over both HTTP and MCPLive on Base mainnet, earning real USDC: https://content-moderation-api-hhy1.onrender.com
link-preview-cache-apiSame product as link-preview-api, ~⅓ the price — backed by a shared cache. First instance of a general "x402 cache" patternLive on Base mainnet, earning real USDC: https://link-preview-cache-api.onrender.com

Repo conventions

  • Every project is fully self-contained in projects/<project-slug>/: its own code, tests, Dockerfile, deploy config, and README. Nothing product-specific is shared between projects.
  • Every project ships with:
    • api/ — the paid service itself
    • automation-client/ — a sample agent that pays for and consumes it
    • deploy/ — ready-to-use deploy configs (Render/Fly/etc.)
    • README.md — the business case, architecture, and exact steps to take it from "runs on my machine" to "earning money"
    • LISTING.md — the marketplace/directory listing copy, ready to publish
  • New projects get added the same way: a clean new folder, same skeleton, linked in the table above.
  • One deliberate exception to "nothing shared": scripts/ holds portfolio-level publishing tooling — not product code, reused across every project the same way (e.g. submitting a new tool to x402-list.com's API). See PUBLISHING.md for the full playbook: what's genuinely automatic, what's scripted, and what stays a deliberate manual step and why.

來源:README.md,提交 876f8ce

工具

1

preview_url

Fetch Open Graph / meta metadata for a public URL. Costs $0.003 USDC on Base.

輸入參數url必填

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 90%

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

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

    請在儲存庫或註冊中心條目中宣告授權條款。