Provides access to Perplexity AI through two tools: lookup for quick fact-checking and research queries, and answer for in-depth research with recommendations and comparisons
Perplexity Agent MCP
An opinionated Model Context Protocol server that seamlessly integrates Perplexity AI's Sonar models into AI coding assistants like Claude Code. It provides two specialized, purpose-built tools—lookup
for instant fact-checking of API syntax and documentation details, and answer
for comprehensive research with actionable recommendations—delivering clean, focused responses without internal reasoning.
Setup
First, install and link the server:
Then add it to your Claude config file (~/.claude.json
or ~/.config/claude/config.json
):
Restart Claude Code after saving, and you're ready to go.
How it works
The server provides two tools:
- lookup: Gets quick facts from documentation (like API syntax or config keys)
- answer: Does deeper research to compare options and make recommendations
Both tools return clean, focused answers without any internal reasoning clutter. The server picks the right AI model for each job—fast for lookups, thorough for research.
Requirements
- Node.js v24 or newer
- A Perplexity API key
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables coding assistants to access Perplexity AI for quick fact-checking and in-depth research. Provides two tools: lookup for fast documentation queries and answer for comprehensive research with recommendations.
Related MCP Servers
- AsecurityAlicenseAqualityEnables intelligent code analysis and debugging through the Perplexity AI's API, offering detailed error analysis, pattern detection, and comprehensive solutions, with integration support for the Claude desktop client.Last updated -27011MIT License
- -securityFlicense-qualityProvides AI-powered assistance for coding problems using Google's Gemini AI, combined with Perplexity insights and Stack Overflow references, facilitating contextual analysis and automatic response archiving for improved troubleshooting.Last updated -13
- -securityAlicense-qualityProvides access to Perplexity AI models through two tools: ask\_perplexity for expert programming assistance and chat\_perplexity for maintaining ongoing conversations with context preservation.Last updated -MIT License
- -securityAlicense-qualityA powerful research assistant that integrates with Cline and Claude Desktop to leverage Perplexity AI for intelligent search, documentation retrieval, API discovery, and code modernization assistance while coding.Last updated -3MIT License