PublicWWW
com.publicwwwv1.0.1更新於 Oct 8, 2026
Search the source code (HTML, JavaScript, CSS) of hundreds of millions of websites.
概覽
讓助理搜尋數億個網站的頁面原始碼,找出指令碼、函式庫、追蹤 ID 與小工具。
- 功能
- PublicWWW 提供遠端 MCP 伺服器,內含兩個唯讀工具:search 用來查詢已索引網站的 HTML、JavaScript 與 CSS 原始碼,account 用來查看目前方案與今日剩餘搜尋次數。查詢支援精確文字、多詞、或條件、排除、site: 篩選,以及 depth:all 以包含內頁。結果可包含列數、分頁與片段。
- 適用情境
- 適合用來找出哪些網站載入了某個指令碼、使用了某個函式庫,或帶有某個追蹤 ID 或小工具,也適合在繼續查詢前查看剩餘搜尋額度。
- 執行需求
- 遠端 streamable HTTP 端點 與 Claude Code 透過 OAuth 登入;其他用戶端使用在 PublicWWW 個人資料頁簽發的 bearer token,並透過 PUBLICWWW_TOKEN 環境變數提供。需要 PublicWWW 帳號,免費帳號在其限制內可用。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 PublicWWW,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
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:
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 thePUBLICWWW_TOKENenvironment variable.
Install
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:
Then run /mcp, pick publicwww and choose Authenticate.
Gemini CLI extension
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
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
License
MIT
來源:README.md,提交 b3c5b8e
工具
0版本歷史
1- v1.0.1最新Oct 8, 2026


