# MCP Server

The same search, for AI assistants and agents. PublicWWW runs a remote MCP (Model Context Protocol) server: connect it to an assistant once, and the assistant can search page source for you, save the sites it finds as clusters and pull data out of their pages, and check what is left of your quota.

Server URL `https://api.publicwww.com/mcp`

## What the assistant can do

`search` runs a query in the [usual syntax](https://publicwww.com/docs/query-syntax/) and returns the sites, with fragments of their source if asked; `account` tells your plan and how many searches are left today; `read_docs` reads this documentation and the price list; eight more work with [clusters](https://publicwww.com/docs/clusters/) - saved lists of sites the assistant can build, combine, extract data from and find shared signatures in. Ask in plain words - the assistant writes the query:

- "Which sites load angular.min.js? Show the first 20."
- "Find sites that load both Bootstrap and Google Tag Manager, and show me the code around the match."
- "Save the sites that load static.hotjar.com as a cluster and get their contact emails."
- "How many PublicWWW searches do I have left today?"
- "What does the Business plan include, and how is it different from Pro?"

More on the arguments and the answers - [Tools](https://publicwww.com/docs/mcp/tools/).

## Connecting your client

Add a remote MCP server with the URL above, then sign in. Assistants that can do it send you to PublicWWW to press Allow; the rest take a token from your profile in a header - see [Signing in](https://publicwww.com/docs/mcp/connecting/).

- [**Claude** On the web, in the desktop app and in Claude Code. Signs in with OAuth; Claude Code also takes a token.](https://publicwww.com/docs/mcp/claude/)
- [**ChatGPT** Added as a custom MCP server under Plugins. Signs in with OAuth.](https://publicwww.com/docs/mcp/chatgpt/)
- [**Code editors and CLI agents** VS Code, Cursor, Gemini CLI, Codex CLI, DeepSeek Harness and others. A token in a header; Codex CLI and Goose can also use OAuth.](https://publicwww.com/docs/mcp/editors/)
- [**Your own code** The protocol as we serve it, and a call with curl. A token or OAuth.](https://publicwww.com/docs/mcp/developers/)

Automation platforms call the same tools as steps of a workflow - see [n8n, Make and Zapier](https://publicwww.com/docs/mcp/automation/).

Plugins, ready-made configuration files and an agent skill: [github.com/publicwww-com/publicwww-mcp](https://github.com/publicwww-com/publicwww-mcp).

## Who can use it

Accounts with a paid plan. Without signing in, an assistant sees the tools and can read this documentation and the prices; a free account also gets `account`, which shows the plan, and every other call answers `plan_required`. Searches come from the plan's daily allowance, shared with the API and the website - see [Limits and errors](https://publicwww.com/docs/mcp/limits/) and the [pricing page](https://publicwww.com/prices.html).

Source: https://publicwww.com/docs/mcp/
