PublicWWW

com.publicwwwv1.0.1更新於 Oct 8, 2026

Search the source code (HTML, JavaScript, CSS) of hundreds of millions of websites.

已驗證Streamable HTTP可網頁執行Developer ToolsWeb Search & Scraping

概覽

AI 產生的概覽

讓助理搜尋數億個網站的頁面原始碼,找出指令碼、函式庫、追蹤 ID 與小工具。

功能
PublicWWW 提供遠端 MCP 伺服器,內含兩個唯讀工具:search 用來查詢已索引網站的 HTML、JavaScript 與 CSS 原始碼,account 用來查看目前方案與今日剩餘搜尋次數。查詢支援精確文字、多詞、或條件、排除、site: 篩選,以及 depth:all 以包含內頁。結果可包含列數、分頁與片段。
適用情境
適合用來找出哪些網站載入了某個指令碼、使用了某個函式庫,或帶有某個追蹤 ID 或小工具,也適合在繼續查詢前查看剩餘搜尋額度。
執行需求
遠端 streamable HTTP 端點 與 Claude Code 透過 OAuth 登入;其他用戶端使用在 PublicWWW 個人資料頁簽發的 bearer token,並透過 PUBLICWWW_TOKEN 環境變數提供。需要 PublicWWW 帳號,免費帳號在其限制內可用。
安裝前請注意
bearer token 屬於憑證:請保存在 PUBLICWWW_TOKEN 中,避免在共用設定或日誌中外洩。工具為唯讀,不會修改資料,但搜尋會傳送到 PublicWWW 的服務並消耗帳號額度。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

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

README

PublicWWW MCP server

Search the source code (HTML, JavaScript, CSS) of hundreds of millions of websites from an AI assistant: which sites load a script, use a library, carry a tracking id or a widget. PublicWWW runs a remote MCP server:

https://api.publicwww.com/mcp

Two read-only tools: search (query, rows, page, snippets) and account (plan and searches left today). Every account can use it, a free one included - see limits.

Sign in

  • OAuth - Claude, ChatGPT and Claude Code send you to PublicWWW to press Allow. Nothing to copy.
  • A token - other clients send Authorization: Bearer <token>. Issue one on your profile page and keep it in the PUBLICWWW_TOKEN environment variable.

Install

ClientHow
Claude (web, desktop)Customize → Connectors → Add custom connector, URL above - guide
ChatGPTPlugins → Add → Add custom MCP server, OAuth - guide
Claude Codethe plugin below, or claude mcp add --transport http publicwww https://api.publicwww.com/mcp
Cursor[Install MCP Server]
VS Code[Install in VS Code]
Gemini CLIgemini extensions install https://github.com/publicwww-com/publicwww-mcp
Codex CLIcodex mcp add publicwww --url https://api.publicwww.com/mcp --bearer-token-env-var PUBLICWWW_TOKEN
Anything elsea config file from clients/

The Cursor button reads the token from PUBLICWWW_TOKEN; VS Code asks for it once and keeps it in its secret storage.

Claude Code plugin

The MCP server (sign in with OAuth) and a skill that teaches the query syntax:

/plugin marketplace add publicwww-com/publicwww-mcp/plugin install publicwww@publicwww

Then run /mcp, pick publicwww and choose Authenticate.

Gemini CLI extension

sh
gemini extensions install https://github.com/publicwww-com/publicwww-mcp

It asks for the token once and keeps it in the system keychain.

Agent skill

skills/publicwww-search is a skill in the open Agent Skills format: how to write PublicWWW queries and use the two tools. Copy the folder into your agent's skills directory (for example .agents/skills/ or ~/.claude/skills/).

Query syntax, briefly

QueryFinds
"angular.min.js"that exact text in the page source
bootstrap jqueryboth, anywhere on the page
jquery (slick | swiper)jquery and either of the two
"amcharts.js" -bootstrapthe first without the second
site:de bootstraponly .de sites
depth:all "math.min.js"inner pages too, not only home pages

More: query syntax.

Calling it directly

examples/mcp-curl.sh lists the tools, reads the account and runs a search with plain curl. Streamable HTTP, JSON answers, no sessions - see for developers.

For scripts the REST API is the simpler road - the same search and token, with CSV and NDJSON. Small clients: Python, JavaScript, PHP, Go, Ruby.

Documentation

publicwww.com/docs/mcp

License

MIT

來源:README.md,提交 b3c5b8e

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v1.0.1最新Oct 8, 2026