# PublicWWW [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/publicwww-com/publicwww-mcp  
**GitHub Stars:** 2  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/publicwww

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

## Tools
Capabilities this server exposes over MCP:

- **search** — Find websites whose page source (HTML, JavaScript, CSS) contains a string: a library name, a script url, a tracking or widget id, a meta tag, any code fragment. Results are ranked by site popularity. Look a technology up by its ready-made query on the examples pages (read_docs: the Technologies pages listed in its table of contents), not by its name. Query syntax: quote an exact phrase ("angular.min.js"); inside quotes punctuation only separates words: "jquery-ui.min.js" finds the words jquery, ui, min, js in that order; several words must all appear; a leading minus excludes a word (-wordpress); | means OR; site:de limits to a top-level domain, site:example.com lists the pages of one site, -site:com or -site:example.com (up to 10) leaves them out; depth:all searches inner pages too (by default only home pages, one per site) - then total counts pages, and sites counts the distinct websites among them (a lower bound when sites_exact is false; without depth: there is no sites). Websites about a topic or like a given one, most similar first instead of by popularity: like:"a few words" - websites about that topic, in any language, by meaning rather than the exact words (site:de keeps only that domain zone); like:example.com - websites about the same thing as that one (it compares home pages: when a shop or landing page has too little text there, the search finds nothing - describe the topic in words instead); with words, like: orders their results. like: is the topic of a site, not its code: websites that share code with given ones are found by build_signatures on a cluster of them. With like:, total counts everything the filters let through: read the first rows rather than total. rank is the place by popularity, 1 being the most popular, an estimate with no guarantees. More operators are in read_docs. Searches count against the account's daily allowance. At most 10 calls a minute of search and the cluster tools, shared with the REST API; account and read_docs do not count. On too_many_requests wait retry_after seconds. Ask for a small number of rows first.
- **account** — The account behind the token: the current time (now, UTC), plan, searches used today and left, rate limit, result limits, extraction points left for today (clusters.extract_points_left). Spends nothing. In clusters, max is how many clusters the account can keep and max_size how many websites one can hold.
- **read_docs** — PublicWWW's own documentation and price list, in Markdown: query syntax and operators, websites about a topic (like:), regular expressions (snipexp:), country domains, ready-made example queries, clusters and extraction, the REST API, this MCP server, site languages, plans and prices with what each plan opens. Without page or pages - the table of contents, every page with the headings inside it. Read every page that may matter at once: several ids in pages. Use it for any question about how PublicWWW works or what it costs. Spends nothing.
- **list_clusters** — The account's clusters - saved lists of websites - newest first: id, name, number of domains, creation time. An account keeps at most 100. Spends nothing.
- **get_cluster** — A page of the domains in one cluster. Spends nothing.
- **create_cluster** — Save a list of websites as a cluster, to extract data from them or combine with other clusters. From a search: pass 'query' (PublicWWW syntax, as in the search tool) - the cluster takes the results up to the plan's limit, and it costs one search. With like: that is the plan's maximum, so pass limit. From a list: pass 'domains' - names or urls; only sites in the index are kept (a www. name missing from the index is looked up without the www), nothing is spent; if none is in the index, no cluster is created. 'dropped' in the answer counts what was left out: not_a_domain, duplicate, not_in_index, over_limit; 'not_in_index' lists the names the index does not have (the first 100). The plan caps the size of a cluster. To keep only some of a cluster's sites, make a new one from those domains: it costs nothing.
- **combine_clusters** — A new cluster from existing ones: 'and' - domains in every cluster, 'or' - in any of them, 'diff' - the first cluster minus the second (exactly two, order matters): clusters [7, 3] keeps the domains of 7 that are not in 3. Spends nothing.
- **extract_from_cluster** — Pull values out of the page source of every website in a cluster: organization names, contacts, social profiles, addresses, languages, registration numbers, analytics and tag ids - anything a regular expression can match. Easiest: fields - name (organization name and kind of business from schema.org markup); social (social profile links, regional networks too (VK, Weibo, Naver...)); email (email addresses: mailto: links, schema.org, addresses hidden by Cloudflare); phone (phone numbers: tel: links and schema.org); messengers (messenger links: WhatsApp, Telegram, Viber, LINE, KakaoTalk, WeChat, Messenger, Signal, Zalo, Threema); address (postal address from schema.org markup and map coordinates (embedded maps, geo tags)); apps (app store links: Google Play, App Store, AppGallery, Microsoft Store, RuStore, Galaxy Store, Chrome Web Store, Firefox Add-ons); languages (languages of the pages, ISO 639 codes (html lang, hreflang)); registration (company registration and tax numbers: VAT, HRB, SIREN/SIRET, KvK, CNPJ, ABN, ИНН/ОГРН, ICP and more). Single networks by name - presets: email, phone, whatsapp, telegram, viber, line, facebook, instagram, x, linkedin, youtube, tiktok, pinterest, threads, bluesky, discord, github, google_play, app_store. Or write regex: PCRE in slashes, the first capture group is the value (with no group, the whole match), e.g. /data-site-id="([0-9]+)"/i. Up to 10 presets and expressions, one column each; fields add their columns. Works through the cluster in parts of up to 100 domains: call again with offset = next_offset until it is null. Costs extraction points: a website found in the index costs 1 point if anything was found, 0.1 if nothing; the account tool shows the daily allowance. It reads every indexed page of a website, not only the home page. Every call is paid for, a repeat of the same websites too: keep the answer and go on from next_offset. The REST API gives the same as a file (format=csv). A worked example, from a niche to contacts: the read_docs page clusters/example-contacts.
- **build_signatures** — Find signatures that lead to more websites like the ones in a cluster: their common platform, theme, plugin, tracker, network or owner. Each result is a ready search - pass its search (the query in double quotes) to the search tool to find more such websites. Best on a cluster made by one search or of one network; a mixed cluster may give none. Sorted best first; take the one with the highest in_cluster - how many of the websites looked at have the code (coverage: "4 of 5", in_all: every one of them), websites - rough count in the whole index (null when rarer than websites_max; the search gives the exact number), technology - its name when the code belongs to a technology we know. Spends nothing.
- **rename_cluster** — Give a cluster a new name. Spends nothing.
- **delete_cluster** — Delete a cluster for good. It cannot be undone - confirm with the user first.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "publicwww": {
    "url": "https://api.publicwww.com/mcp"
  }
}
```

## Documentation

## What PublicWWW does

PublicWWW exposes the PublicWWW web-source search service through a remote MCP endpoint. An assistant can look for exact strings, combinations of terms, exclusions, domains, country-code top-level domains, or code fragments in indexed HTML, JavaScript, and CSS. Results are ranked by estimated site popularity and can include snippets.

The service also supports semantic searches with `like:`. These searches find websites about a topic or similar to a specified site rather than looking only for matching source text. Code similarity is handled separately through signature building, which identifies common platforms, themes, plugins, trackers, networks, or ownership patterns in a cluster.

## How it works

The remote endpoint is available at `https://api.publicwww.com/mcp` and uses streamable HTTP with JSON responses and no sessions. Clients can authenticate through OAuth where supported, or send a PublicWWW token as a bearer token. Token-based setups use the `PUBLICWWW_TOKEN` environment variable.

Search syntax includes quoted phrases, required terms, exclusions with a leading minus, `|` for alternatives, `site:` filters, and `depth:all` for searching inner pages instead of only one home page per site. PublicWWW also documents additional operators, technology queries, regular expressions, country domains, plans, and cluster workflows through `read_docs`.

## Setup and configuration

Add the remote URL to an MCP client, then authenticate with OAuth or provide a token issued from the PublicWWW profile page. Claude Desktop, Claude Code, Cursor, VS Code, Gemini CLI, and Codex CLI have documented connection paths. The repository also includes client configuration examples and a Claude Code plugin that teaches the query syntax.

For direct testing, the project includes a curl example that lists tools, reads account information, and performs a search. Scripts that need CSV or NDJSON output can use the PublicWWW REST API instead; it provides the same search, cluster, and token model.

## Tools and capabilities

- `search` finds source-code matches and supports query, row count, page, and snippet options.
- `account` reports the plan, daily search and extraction usage, rate limit, result limits, and cluster allowances without spending quota.
- `read_docs` returns PublicWWW documentation and pricing in Markdown, including the table of contents and selected pages.
- Cluster tools create saved domain lists from searches or supplied domains, list and inspect them, rename or delete them, and combine them with intersection, union, or difference operations.
- `extract_from_cluster` processes clusters in batches of up to 100 domains using presets for email, phone, messaging, social, video, app-store, and developer-profile values, or up to 10 custom PCRE expressions.
- `build_signatures` produces follow-up searches based on code patterns shared by sites in a cluster.

## Limitations and notes

Search and cluster operations are limited to 10 calls per minute, shared with the REST API. Searches consume the account’s daily search allowance, while extraction consumes extraction points. Cluster creation from a search also costs one search; creation from a supplied domain list and cluster combination do not.

Extraction reads every indexed page for each website, not just the home page, and repeated extraction calls are charged again. Continue paginated extraction with the returned offset and retain earlier results. A cluster account can store up to 100 clusters, subject to plan-specific size limits. Some tools require a paid plan, and results such as popularity rank and site counts are estimates or lower bounds in certain searches.

_Full upstream README: https://allmcps.com/mcp/publicwww/readme_

