A Model Context Protocol (MCP) server that plugs the Perplexity Sonar API into the MCP ecosystem, letting Claude (and any MCP-compatible client) perform real-time web research.
https://github.com/ppl-ai/modelcontextprotocolStop switching between Claude and web browsers. The Perplexity Ask MCP Server bridges the gap between AI conversations and live web data, giving Claude instant access to current information, breaking news, and real-time insights—all without leaving your development environment.
Every developer hits this wall: You're deep in a Claude conversation, architecting solutions or debugging complex issues, when you need current information. Framework updates, API changes, recent security vulnerabilities, or the latest best practices. Suddenly you're tab-switching, context-switching, and copy-pasting between Claude and search results.
Your flow is broken. Your productivity takes a hit.
This MCP server plugs Perplexity's industry-leading Sonar API directly into Claude's toolkit. Now when Claude needs current information, it searches the web in real-time and delivers contextualized answers—no interruption to your workflow.
You: "What are the latest security best practices for React Server Components?"
Claude: *Searches live web sources*
"Based on recent discussions from React team blogs and security advisories from the past month, here are the current security considerations..."
// Customizable search parameters
const searchConfig = {
model: "sonar-pro",
temperature: 0.1,
max_tokens: 4000,
search_domain_filter: ["docs.react.dev", "nodejs.org"]
};
# Add to Claude Desktop config
{
"mcpServers": {
"perplexity-ask": {
"command": "npx",
"args": ["-y", "server-perplexity-ask"],
"env": {
"PERPLEXITY_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
git clone https://github.com/ppl-ai/modelcontextprotocol.git
cd modelcontextprotocol/perplexity-ask
docker build -t mcp/perplexity-ask .
Every minute you spend manually researching information that Claude could fetch automatically is a minute stolen from solving real problems. This MCP server doesn't just add web search—it transforms Claude into a research-enhanced development partner that stays current with the rapidly evolving tech landscape.
Ready to eliminate research friction from your development workflow?
Install the Perplexity Ask MCP Server and experience AI-powered development with real-time web intelligence. Your future self will thank you for the productivity gains.
Compatible with Claude Desktop, Cursor, and all MCP-standard clients. Requires Perplexity API key (generous free tier available).