# Perplexity (Sonar) MCP - Tools, Setup and Examples | FlyMy.AI

> Perplexity (Sonar) MCP for Claude, Cursor and Codex. AI search, with 8 actions. Your API key. See setup, examples and pricing.

Page: https://flymy.ai/mcp/perplexity/

MCP / GEO

# Perplexity (Sonar) MCP: AI search

AI web search with cited answers. Connect it to Claude, Codex, Cursor or any MCP client through one FlyMy.AI MCP.

[Connect Perplexity (Sonar)](https://flymy.ai/mcp/perplexity/#connect) [What it can do](https://flymy.ai/mcp/perplexity/#actions)

Your own API key, 8 actions, GEO

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## Use Perplexity (Sonar) MCP in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

```
Read https://flymy.ai/skill.md and https://flymy.ai/mcp/perplexity.md. Help me connect Perplexity (Sonar) MCP to this assistant. Then help me run this task: Use Perplexity (Sonar) to chat completion. Ask me for the required inputs first and show the result.
```

[Open FlyMy.AI](https://app.flymy.ai/new-agent) [Download brief](https://flymy.ai/mcp/perplexity.md)

## What Perplexity (Sonar) MCP can do

8 actions in the FlyMy.AI catalog, the most used first. Your agent finds them through search_tools and calls the one the task needs.

| Action | What it does |
|---|---|
| [#](https://flymy.ai/mcp/perplexity/#method-perplexity_chat_completion) `perplexity_chat_completion` | Ask Perplexity Sonar a web-grounded question. |
| [#](https://flymy.ai/mcp/perplexity/#method-perplexity_contextualized_embeddings) `perplexity_contextualized_embeddings` | Generate contextualized chunk embeddings input is a nested array where each inner array holds one document's chunks in source order (<=512 documents, <=16000 total chunks); chunks share... |
| [#](https://flymy.ai/mcp/perplexity/#method-perplexity_create_agent_response) `perplexity_create_agent_response` | Run an agentic workflow on Perplexity's managed runtime Orchestrates retrieval, tool execution and reasoning. |
| [#](https://flymy.ai/mcp/perplexity/#method-perplexity_create_async_chat_completion) `perplexity_create_async_chat_completion` | Submit a long-running question to run asynchronously Same fields as perplexity_chat_completion plus an optional idempotency_key. |
| [#](https://flymy.ai/mcp/perplexity/#method-perplexity_embeddings) `perplexity_embeddings` | Generate text embeddings for semantic search / RAG input is a string or list of strings (<=512 texts, <=32K tokens each); pick a model (pplx-embed-v1-0.6b or pplx-embed-v1-4b). |
| [#](https://flymy.ai/mcp/perplexity/#method-perplexity_get_async_chat_completion) `perplexity_get_async_chat_completion` | Get the status/result of an async chat completion status is CREATED \| IN_PROGRESS \| COMPLETED \| FAILED; the answer is in `response` once COMPLETED. |
| [#](https://flymy.ai/mcp/perplexity/#method-perplexity_list_async_chat_completions) `perplexity_list_async_chat_completions` | List the authenticated user's async chat completion jobs |
| [#](https://flymy.ai/mcp/perplexity/#method-perplexity_search) `perplexity_search` | Run a raw web search. |

## Ask your agent

Requests to paste as they are. Each one runs on the actions named under it.

**“Use Perplexity (Sonar) to chat completion. Ask me for the required inputs first and show the result.”** uses `perplexity_chat_completion`

**“Use Perplexity (Sonar) to contextualized embeddings. Ask me for the required inputs first and show the result.”** uses `perplexity_contextualized_embeddings`

**“Use Perplexity (Sonar) to create agent response. Ask me for the required inputs first and show the result.”** uses `perplexity_create_agent_response`

## Connect Perplexity (Sonar) in a minute

One MCP for every integration. Add it once, then every MCP in the catalog is a request away.

1. 01 ### Add FlyMy.AI Add the FlyMy.AI MCP to your assistant with one of the commands below and sign in. No key to copy.
2. 02 ### Add your Perplexity API key Paste it into the Perplexity (Sonar) [connection settings](https://app.flymy.ai/mcp-configs#perplexity) once; it stays with FlyMy.AI, never in a prompt or a chat.
  - **Perplexity API key** - Bearer API key from Perplexity API settings (starts with pplx-). [Create key ->](https://www.perplexity.ai/settings/api)
3. 03 ### Ask Paste a request from this page. Every run shows what it cost.

Claude Code

```
claude mcp add --transport http flymyai https://mcp-agents.flymy.ai/mcp
```

Then run /mcp in Claude Code and sign in.

Codex

```
codex mcp add flymy --url https://mcp-agents.flymy.ai/mcp
```

Then run codex mcp login flymy to sign in.

claude.ai and Claude Desktop

```
https://mcp-agents.flymy.ai/mcp
```

Settings, Connectors, Add custom connector: paste this URL.

## Pay per run

FlyMy.AI bills the run: the model and the tool's seconds. Calls go to your own Perplexity (Sonar) account, under its plan and limits. No seats and no minimum.

[See usage pricing →](https://flymy.ai/pricing/)

## More GEO MCPs

AI search and answer engines: what AI assistants find, answer and cite.

### Web search

Web search on the agent's chosen engine

1 action / no key

Link: https://flymy.ai/mcp/web-search/

### Exa

Neural web search: find pages, articles, news, similar links, research

42 actions / your API key

Link: https://flymy.ai/mcp/exa/

### Linkup

Linkup is a search engine that allows you to search the web for relevant results

2 actions / your API key

Link: https://flymy.ai/mcp/linkup/

### Metaphor

Metaphor is a neural search engine that enables developers to perform contextually relevant searches by understanding how people describe and share content...

1 action / your API key

Link: https://flymy.ai/mcp/metaphor/

### Openperplex

Openperplex API provides powerful, global search capabilities and web content analysis for AI applications

8 actions / your API key

Link: https://flymy.ai/mcp/openperplex/

### Parallel

Parallel offers a Task API for automated, structured web research, transforming natural language queries into precise, schema-compliant outputs

5 actions / your API key

Link: https://flymy.ai/mcp/parallel/

## Go to the source

[Perplexity (Sonar) in the docs →](https://docs.flymy.ai/mcp/perplexity), [Perplexity (Sonar) connection settings →](https://app.flymy.ai/mcp-configs#perplexity), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog), [Usage pricing →](https://flymy.ai/pricing/)

From the FlyMy.AI platform catalog of 2026-11-03: name, description, actions and setup as the platform lists them. Examples are requests to paste, not recorded runs.

---

For agents: the FlyMyAI operating guide (sign up, connect, run models, tools and agents) is https://flymy.ai/skill.md, and https://flymy.ai/llms.txt lists the other pages and the documentation.
