Labsco
MCP SERVER

Perplexity

by RossH121

Search the live web through Perplexity and get a written answer with its sources — or the ranked links raw, when you want to do the reading yourself.

Web Search Engines
Summary
An agent can do web research without you choosing a model each time.

It reads the query and picks between quick lookup, general search, reasoning and deep research, and it tells you which it used and why. The filters you set once — this domain only, this week only — stay on for the searches that follow.

What it is

A front end for the Perplexity API. It picks a Sonar model from the wording of the query, keeps domain and recency filters between calls, and exposes the search, agent and embedding endpoints as separate tools.

What you get
  • A synthesised answer with cited sources, the model chosen from the query and overridable by hand
  • Ranked web results with no model in the loop, for URL discovery and source lists
  • Academic and SEC search modes, publication and last-updated date windows, and language restrictions
  • Long research submitted as a job and polled, for work that outruns a synchronous call
  • A domain allowlist or blocklist and a recency window that persist across later searches, plus calls to read and clear them
  • An agentic loop with built-in web search and URL fetch, and text embeddings, through the same server
Requirements

Node.js v20 or higher, a Perplexity API key, and a local build — clone, npm install, npm run build, then point your client at build/index.js. Calls are billed by Perplexity at its own rates.