An MCP server that connects to Perplexity's Sonar API, enabling real-time web-wide research in conversational AI.
Documentation
Perplexity Ask MCP Server
An MCP server implementation that integrates the Sonar API to provide Claude with unparalleled real-time, web-wide research. Please refer to the official DeepWiki page for assistance with implementation.
High-level System Architecture
Credits: DeepWiki powered by Devin
Tools
perplexity_ask - Engage in a conversation with the Sonar API for live web searches.
Inputs:
messages (array): An array of conversation messages.
Each message must include:
role (string): The role of the message (e.g., system, user, assistant).
Let's make sure Claude for Desktop is picking up the two tools we've exposed in our perplexity-ask server. You can do this by looking for the hammer icon:
After clicking on the hammer icon, you should see the tools that come with the Filesystem MCP Server:
If you see both of these this means that the integration is active. Congratulations! This means Claude can now ask Perplexity. You can then simply use it as you would use the Perplexity web app.
Step 6: Advanced parameters
Currently, the search parameters used are the default ones. You can modify any search parameter in the API call directly in the index.ts script. For this, please refer to the official API documentation.