Mcp Server Perplexity — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Mcp Server Perplexity (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
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.
Credits: DeepWiki powered by Devin
System Architecture
Demo
messages (array): An array of conversation messages.role (string): The role of the message (e.g., system, user, assistant).content (string): The content of the message.Clone this repository:
git clone [email protected]:ppl-ai/modelcontextprotocol.gitNavigate to the perplexity-ask directory and install the necessary dependencies:
Using pnpm (recommended):
cd modelcontextprotocol/perplexity-ask && pnpm installInstalling pnpm (if not already installed):
npm install -g pnpmOr use alternative installation methods from pnpm documentation.
PERPLEXITY_API_KEY.The server supports configuring a custom base URL for the Perplexity API through the BASE_URL environment variable. This is useful for api providers like oipenrouter.
Default behavior: If not set, the server uses https://api.perplexity.ai/chat/completions
claude_desktop_config.json:{
"mcpServers": {
"perplexity-ask": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PERPLEXITY_API_KEY",
"-e",
"BASE_URL",
"mcp/perplexity-ask"
],
"env": {
"PERPLEXITY_API_KEY": "YOUR_API_KEY_HERE",
"BASE_URL": "https://api.perplexity.ai/chat/completions"
}
}
}
}{
"mcpServers": {
"perplexity-ask": {
"command": "npx",
"args": [
"-y",
"server-perplexity-ask"
],
"env": {
"PERPLEXITY_API_KEY": "YOUR_API_KEY_HERE",
"BASE_URL": "https://api.perplexity.ai/chat/completions"
}
}
}
}You can access the file using:
vim ~/Library/Application\ Support/Claude/claude_desktop_config.jsonDocker build:
docker build -t mcp/perplexity-ask:latest -f Dockerfile .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:
Claude Visual Tools
After clicking on the hammer icon, you should see the tools that come with the Filesystem MCP Server:
Available Integration
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.
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.
The Claude documentation provides an excellent troubleshooting guide you can refer to. However, you can still reach out to us at [email protected] for any additional support or file a bug.
You can also use our MCP with Cursor (or any other app that supports this). To use Sonar with Cursor, you can follow the following steps.
Cursor Settings
And click on Add new global MCP server
Add Server
This is the same configuration you would use for any other application that supports MCP.
You should then see the application being part of your available tools like this:
Cursor MCP
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.