251
All tools

Search the web

Returns ranked web results for a query, each with its title, URL, snippet and dates, optionally limited to domains or a date range.

Updated Sep 27, 2026

search-web.md

Search the web

Returns ranked web results for a query, each with its title, URL, snippet and dates, optionally limited to domains or a date range.

Set up

Use the first option your agent supports.

MCP (official, remote)

Add this server to your agent's MCP settings, then sign in when asked.

{ "mcpServers": { "perplexity": { "url": "https://api.perplexity.ai/mcp" } } }

Call the MCP tool perplexity_search.

Server URL: https://api.perplexity.ai/mcp

CLI (official)

Install the command, then confirm it runs.

curl -fsSL https://github.com/perplexityai/perplexity-cli/releases/latest/download/install.sh | sh
pplx --version

Run pplx search web.

Set $PERPLEXITY_API_KEY in your environment first (get a key: https://console.perplexity.ai/project/keys).

API (official)

Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.

Rules

  • Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
  • Never print API keys.

Ways in

RouteSourceCallRequiredDocs
MCPOfficial · remoteperplexity_searchOAuthDocs
CLIOfficialpplx search webAPI key in $PERPLEXITY_API_KEYDocs
APIOfficialPOST /searchAPI key in $PERPLEXITY_API_KEYDocs

Workflows using Search the web

No workflows yet
No published workflow uses Search the web yet.