Perplexity Search MCP
by arjunkmrm
A simple Model Context Protocol (MCP) server for Perplexity's web search using the sonar or sonar-pro models. It provides a tool for AI assistants to perform web searches powered by Perplexity's API.
View on GitHub
Last updated: N/A
Perplexity Search MCP
A simple Model Context Protocol (MCP) server for Perplexity's web search with sonar or sonar-pro.
Features
- Provides a
searchtool for AI assistants to perform web searches - Uses Perplexity's chat completions API with the sonar/sonar-pro models
Tool: search
The server provides a search tool with the following input parameters:
query(required): The search query to performsearch_recency_filter(optional): Filter search results by recency (options: month, week, day, hour). If not specified, no time filtering is applied.
Configuration
Environment Variables
PERPLEXITY_API_KEY: Your Perplexity API key (required)
Response Format
The response from the search tool includes:
content: The search results contentcitations: Array of citations for the information
License
MIT