You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ac3b8fd
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,7 +153,7 @@ The server will be accessible at `http://localhost:8080/mcp`
153
153
## Available Tools
154
154
155
155
### **perplexity_search**
156
-
Direct web search using the Perplexity Search API. Returns ranked search results with metadata, perfect for finding current information. Supports recency filters (`search_recency_filter`) and domain restrictions (`search_domain_filter`).
156
+
Direct web search using the Perplexity Search API. Returns ranked search results with metadata, perfect for finding current information. Supports recency filters (`search_recency_filter`), domain restrictions (`search_domain_filter`), and [Fast Search](https://docs.perplexity.ai/docs/search/fast-search) (`search_type: "fast"`) for lower latency and cost.
157
157
158
158
### **perplexity_ask**
159
159
General-purpose conversational AI with real-time web search, backed by the Agent API `fast` preset. Great for quick questions and everyday searches.
@@ -547,7 +550,7 @@ export function createPerplexityServer(serviceOrigin?: string, serverOptions?: P
547
550
{
548
551
instructions:
549
552
"Perplexity AI server for web-grounded search, research, and reasoning, backed by the Perplexity Agent API. "+
550
-
"Use perplexity_search for finding URLs, facts, and recent news. Supports recency filters and domain restrictions. "+
553
+
"Use perplexity_search for finding URLs, facts, and recent news. Supports recency filters, domain restrictions, and fast search. "+
551
554
"Use perplexity_ask for quick AI-answered questions with citations. Supports recency filters, domain restrictions, and search context size control. "+
552
555
"Use perplexity_research for in-depth multi-source investigation (slow, can take minutes). "+
553
556
"Use perplexity_reason for complex analysis requiring step-by-step logic. Supports recency filters, domain restrictions, and search context size control. "+
@@ -727,6 +730,8 @@ export function createPerplexityServer(serviceOrigin?: string, serverOptions?: P
727
730
.describe("ISO 3166-1 alpha-2 country code for regional results (e.g., 'US', 'GB')"),
728
731
search_recency_filter: searchRecencyFilterField,
729
732
search_domain_filter: searchDomainFilterField,
733
+
search_type: z.enum(["web","fast"]).optional()
734
+
.describe("Search backend. 'web' (default) is the standard web search. 'fast' is lower latency and lower cost; prefer it for routine lookups inside agent loops, and keep 'web' for rare or ambiguous questions."),
730
735
};
731
736
732
737
constsearchOutputSchema={
@@ -740,7 +745,7 @@ export function createPerplexityServer(serviceOrigin?: string, serverOptions?: P
740
745
description: "Search the web and return a ranked list of results with titles, URLs, snippets, and dates. "+
0 commit comments