Perplexityai MCP Server
Perplexityai MCP Server is an MCP server that adds search and knowledge tools to AI assistants such as Claude Desktop, Claude Code and Cursor. The official MCP server implementation for the Perplexity API Platform. It has 2,589 GitHub stars, is released under the MIT license and runs locally with npx -y @perplexity-ai/mcp-server.
github.com/perplexityai/modelcontextprotocol (opens in a new tab)
Data as of from the GitHub API; description from the project's repository. Report an error
- Official
- Needs API key
- AI & search
- MIT
- Maintained
Install Perplexityai MCP Server
Generated from the server's published package. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"perplexityai-mcp-server": {
"command": "npx",
"args": [
"-y",
"@perplexity-ai/mcp-server"
],
"env": {
"PERPLEXITY_API_KEY": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env PERPLEXITY_API_KEY=your-value --transport stdio perplexityai-mcp-server -- npx -y @perplexity-ai/mcp-serverCursor
{
"mcpServers": {
"perplexityai-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@perplexity-ai/mcp-server"
],
"env": {
"PERPLEXITY_API_KEY": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "perplexity_api_key",
"description": "PERPLEXITY_API_KEY",
"password": true
}
],
"servers": {
"perplexityai-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@perplexity-ai/mcp-server"
],
"env": {
"PERPLEXITY_API_KEY": "${input:perplexity_api_key}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
PERPLEXITY_API_KEYsecret | No | Shown in the README's example configuration. |
Tools (2)
Parsed from the Tools section of the README; check the repository for the current list.
medium4000
high8000
About Perplexityai MCP Server
The official MCP server implementation for the Perplexity API Platform, providing AI assistants with real-time web search, reasoning, and research capabilities through the Agent API and the Search API.
Similar MCP servers
More ai & search MCP servers
Ddgs
deedy5/ddgs
A metasearch library that aggregates results from diverse web search services.
Active · last commit Oct 23, 2026
AI & searchPythonTavily MCP
tavily-ai/tavily-mcp
MCP server for advanced web search using Tavily.
Maintained · last commit Oct 15, 2026
AI & searchTypeScriptSocraticode
giancarloerra/SocratiCode
MCP server for enterprise local codebase indexing, semantic search, and code dependency graphs.
Active · last commit Oct 23, 2026
AI & searchTypeScriptClaude Real Video
HUANGCHIHHUNGLeo/claude-real-video
Let any LLM watch a video locally — and search everything it has ever watched.
Active · last commit Oct 8, 2026
AI & searchPythonHyperresearch
jordan-gibbs/hyperresearch
Convert Claude Code or Codex into the most intelligent Deep Research Agent.
Active · last commit Oct 10, 2026
AI & searchPythonMicrosoft Learn MCP
MicrosoftDocs/mcp
Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
Maintained · last commit Sep 10, 2026
OfficialAI & searchTypeScript
How do I install the Perplexityai MCP Server MCP server?
Add the command npx -y @perplexity-ai/mcp-server to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Perplexityai MCP Server free?
The server is open source under the MIT license, so running it is free. It needs credentials (PERPLEXITY_API_KEY) for the service it connects to, which may require a paid account.
Is Perplexityai MCP Server actively maintained?
The most recent commit was on Oct 21, 2026. appsgit only lists MCP servers with a commit in the last six months.