# Perplexity Ask

**Type:** Official

**Source Type:** Repository

**Source:** [GitHub](https://github.com/ppl-ai/modelcontextprotocol/tree/main/perplexity-ask)

**Description:** Perplexity Ask MCP server provides AI assistants with access to Perplexity's AI-powered search and research capabilities. It enables intelligent web searches, source-cited answers, and comprehensive research queries for enhanced information discovery.

**Configuration Parameters:**

* **The base URL for the Perplexity API.** \* - Service instance URL. Default: `https://api.perplexity.ai/sonar`
* **The API key for Perplexity.** \* - API key for authentication

**Setup Steps:**

1. Log in to your Perplexity account
2. Navigate to Account Settings → API Keys
3. Generate a new API token or key
4. Copy the token for configuration
5. Ensure your account has appropriate permissions for Perplexity API access

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.natoma.ai/apps/perplexity-ask.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
