Perplexity MCP Server
Official MCP server for the Perplexity API Platform. Provides AI agents with real-time web search, deep research, and advanced reasoning capabilities through Sonar models. Includes tools for quick web search, conversational Q&A with citations, comprehensive deep research reports, and complex analytical reasoning. Returns answers with source attribution and supports configurable timeouts for long research queries.
Connect
Add this configuration to .claude/mcp.json
{
"mcpServers": {
"perplexity": {
"command": "npx",
"args": [
"-y",
"@perplexity-ai/mcp-server"
],
"env": {
"PERPLEXITY_API_KEY": "<YOUR_PERPLEXITY_API_KEY>",
"PERPLEXITY_TIMEOUT_MS": "<YOUR_PERPLEXITY_TIMEOUT_MS>"
}
}
}
}Tools (4)
perplexity_search
Direct web search using the Perplexity Search API. Returns ranked results with metadata.
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Search query"
}
}
}perplexity_ask
Conversational AI with real-time web search using sonar-pro model. Great for quick questions.
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Question or topic to search and answer"
}
}
}perplexity_research
Deep comprehensive research using sonar-deep-research model. Ideal for thorough analysis.
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Research topic or question for in-depth analysis"
},
"strip_thinking": {
"type": "boolean",
"description": "Remove thinking tags from response to save tokens (default false)"
}
}
}perplexity_reason
Advanced reasoning and problem-solving using sonar-reasoning-pro model.
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Complex question or problem requiring analytical reasoning"
},
"strip_thinking": {
"type": "boolean",
"description": "Remove thinking tags from response to save tokens (default false)"
}
}
}Resources
This server does not expose any resources.
Prompts
This server does not expose any prompts.
Server Information
- License
- MIT
- Version
- 0.9.0
- Stars
- 2,200
- Last Updated
- April 26, 2026