Perplexity MCP
MCP server by teoobarca Verified · gh:teoobarca
Perplexity MCP gives AI assistants Perplexity search and deep research through existing Perplexity session cookies, with no API keys. It adds a multi-account token pool, a local admin dashboard and Telegram alerts for developers with Perplexity Pro accounts.
Install Perplexity MCP
Built from the published package, never by AI.
claude mcp add perplexity-mcp -- uvx perplexity-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"perplexity-mcp": {
"args": [
"perplexity-mcp"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"perplexity-mcp": {
"args": [
"perplexity-mcp"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"perplexity-mcp": {
"args": [
"perplexity-mcp"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add perplexity-mcp -- uvx perplexity-mcp{
"mcpServers": {
"perplexity-mcp": {
"args": [
"perplexity-mcp"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add perplexity-mcp uvx perplexity-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the perplexity-mcp block.
About
Perplexity MCP is an MCP server that gives an AI assistant two tools: perplexity_ask for answers with citations and perplexity_research for longer deep research reports. It uses session cookies from a Perplexity login instead of the paid Sonar API, so the source states there are no API keys and no per-query fees. It runs over stdio and is installed with uv.
Several accounts can be added to a token pool that rotates round-robin, backs off on failures and falls back from Pro to auto and anonymous sessions. A local admin dashboard at localhost:8123/admin/ shows token states and quotas, runs zero-cost health checks and can send Telegram alerts. The source suggests it suits people who have Perplexity Pro accounts and want Perplexity inside their coding or chat assistant.
Written from the project's README and checked against it.
Tools it gives your assistant
perplexity_askAnswers natural language questions with web, scholar or social sources and supports model selection.perplexity_researchRuns a deep research agent that returns extensive reports with 10-30+ citations.
What you need
- A Perplexity account
- A Perplexity Pro plan for Pro access
- Python with uv installed
- An MCP client such as Claude Code, Cursor, Windsurf or VS Code
- Optional Telegram bot token and chat ID for alerts
Try asking
- Ask Perplexity which Postgres index suits JSON search, with sources.
- Run a deep research report on EU battery recycling rules with citations.
- Search scholar sources on transformer model pruning and summarize them.
Good to know
- Unofficial. It uses Perplexity's web interface and may break if that interface changes.
- Relies on cookie-based session tokens, which the source says last about 30 days.
- Deep research queries can take 2 to 5 minutes.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Perplexity MCP
All alternatives →Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.
VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.
Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.
Compare with Oh My Posh Validator, Sim or Omnara
Perplexity MCP: common questions
Does Perplexity MCP need a Perplexity API key?
No. The source says it uses session cookies from a Perplexity login instead of the paid Sonar API, so no API keys are needed.
Can I use more than one Perplexity account?
Yes. Multiple accounts can be added to a token pool that rotates round-robin with automatic failover.
Does it work without a Pro account?
By default it uses anonymous sessions, which are rate limited. Pro access requires adding session tokens from a signed-in account.
How do I install Perplexity MCP?
In Claude Code run claude mcp add perplexity-mcp -- uvx perplexity-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Perplexity MCP the official server?
Perplexity MCP is published by gh:teoobarca from its verified domain in the official MCP Registry.
Is Perplexity MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Perplexity MCP safe to use?
It scores 48 of 100. Grades: maintenance D, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Perplexity MCP?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does Perplexity MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
