# Perplexity MCP for Claude, ChatGPT, Cursor, VS Code and Codex

SingleBrain Gateway is a hosted Model Context Protocol (MCP) server that lets Claude, ChatGPT, Cursor, VS Code and Codex ask Perplexity Sonar a question and get an answer from a live web search, with the sources it used. You need no Perplexity account. Calls cost from $0.008 each (Verified Nov 2026).

Last verified: 2026-11-17

## Facts
- Connector address: https://gateway.singlebrain.com/mcp
- Perplexity account needed: no (runs on SingleBrain's Perplexity account)
- Tools: 2, both read-only. One is free
- Price: from $0.008 per call; tokens plus Perplexity's per-request search fee
- Models: sonar (default), sonar-pro, sonar-reasoning, sonar-reasoning-pro
- Works with: claude.ai, ChatGPT, Claude Code, Codex, Cursor, VS Code

## Install
- Hosted connector (claude.ai, ChatGPT): https://gateway.singlebrain.com/mcp
- Claude Code: claude mcp add --transport http singlebrain "https://gateway.singlebrain.com/mcp?sg_template=sg-tool-web-augmented-chat" --scope user
- Codex: npx -y singlebrain start --client codex --template sg-tool-web-augmented-chat
- Cursor: npx -y singlebrain start --client cursor --template sg-tool-web-augmented-chat
- VS Code: npx -y singlebrain start --client vscode --template sg-tool-web-augmented-chat

## Tools (from price per call)
- perplexity_chat: answer from a live web search with citations; model, answer length and domain filter. From $0.008
- perplexity_list_models: models, their search fee and the default. Free

## Limits
- Sonar chat only: no separate search-results, deep research or reasoning tool
- Every request pays Perplexity's search fee on top of tokens
- Not the Perplexity Computer MCP server
- Answers can be wrong; check the cited pages

## Going direct instead
Perplexity runs its own MCP server at api.perplexity.ai/mcp (Perplexity sign-in or API key) or locally with npx -y @perplexity-ai/mcp-server. It needs a Perplexity API organization with billing, bills at standard API pricing, and offers perplexity_search, perplexity_ask, perplexity_research and perplexity_reason. Gateway needs no Perplexity account and shares one balance and one connection with your other Gateway tools.

## Works well with
exa_search finds the pages worth reading, then perplexity_chat writes the sourced answer. Workflow: https://gateway.singlebrain.com/workflows/research-brief

Page: https://gateway.singlebrain.com/perplexity-mcp
Every tool on one key: https://gateway.singlebrain.com/mcp-servers.md
MCP pricing guide: https://gateway.singlebrain.com/guides/mcp-pricing.md
Setup instructions for agents: https://gateway.singlebrain.com/llms.txt
