Perplexity MCP Server
Connector for Perplexity API, to enable real-time, web-wide research.
MCP Info
| Attribute | Details |
|---|---|
| Docker Image | mcp/perplexity-ask |
| Author | perplexityai |
| Repository | https://github.com/ppl-ai/modelcontextprotocol |
Image Building Info
| Attribute | Details |
|---|---|
| Dockerfile | https://github.com/ppl-ai/modelcontextprotocol/blob/f0a927c250e04b389ff5c34f6a2a85ad625668e8/perplexity-ask/Dockerfile |
| Commit | f0a927c250e04b389ff5c34f6a2a85ad625668e8 |
| Docker Image built by | Docker Inc. |
| Docker Scout Health Score | Docker Scout Health Score |
| Verify Signature | COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/perplexity-ask --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub |
| Licence | MIT License |
Available Tools (3)
| Tools provided by this Server | Short Description |
|---|---|
perplexity_ask |
Engages in a conversation using the Sonar API. |
perplexity_reason |
Performs reasoning tasks using the Perplexity API. |
perplexity_research |
Performs deep research using the Perplexity API. |
Tools Details
Tool: perplexity_ask
Engages in a conversation using the Sonar API. Accepts an array of messages (each with a role and content) and returns a ask completion response from the Perplexity model.
| Parameters | Type | Description |
|---|---|---|
messages |
array |
Array of conversation messages |
Tool: perplexity_reason
Performs reasoning tasks using the Perplexity API. Accepts an array of messages (each with a role and content) and returns a well-reasoned response using the sonar-reasoning-pro model.
| Parameters | Type | Description |
|---|---|---|
messages |
array |
Array of conversation messages |
Tool: perplexity_research
Performs deep research using the Perplexity API. Accepts an array of messages (each with a role and content) and returns a comprehensive research response with citations.
| Parameters | Type | Description |
|---|---|---|
messages |
array |
Array of conversation messages |
Use this MCP Server
{
"mcpServers": {
"perplexity-ask": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PERPLEXITY_API_KEY",
"mcp/perplexity-ask"
],
"env": {
"PERPLEXITY_API_KEY": "YOUR_PERPLEXITY_API_KEY"
}
}
}
}