PublicWWW

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