PublicWWW
com.publicwwwv1.0.1更新于 Oct 9, 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

