Perplexity MCP Server

Adds Perplexity AI as a tool provider for Claude Desktop.

Perplexity Intelligent MCP Server

An intelligent Perplexity research MCP server for Claude Desktop with automatic model selection, multi-model synthesis, and persistent research history.

Features

  • Intelligent Model Selection: Auto-picks the right Perplexity model based on your query
  • Research History: Saves all research to ~/Documents/Perplexity Research/
  • Multi-Model Synthesis: Combines multiple models for comprehensive research
  • Search History: Search past research to avoid duplicate queries
  • Built-in Citations: Every response includes sources and references

Quick Setup

Prerequisites

Configure Claude Desktop

Open ~/Library/Application Support/Claude/claude_desktop_config.json and add:

{
  "mcpServers": {
    "perplexity-research": {
      "command": "npx",
      "args": ["-y", "@familyitguy/perplexity-mcp"],
      "env": {
        "PERPLEXITY_API_KEY": "your-api-key-here"
      }
    }
  }
}

Replace your-api-key-here with your Perplexity API key.

Restart Claude Desktop

Quit completely (Cmd+Q) and reopen. You're done!

Available Tools

research

Intelligent Perplexity search with auto-logging.

Use: "Research the current state of AI in healthcare"

deep_research

Multi-model synthesis for comprehensive research.

Use: "Do a deep research on renewable energy trends"

search_research

Search past research for existing findings.

Use: "Search my research for React performance"

list_research_threads

List all saved research threads.

read_research_thread

Read a specific past research thread.

list_models

Show available Perplexity models and when to use each.

Models

ModelBest For
sonarSimple factual lookups, current events
sonar-proMulti-source research, fact-checking
sonar-reasoning-proWhy/how questions, complex analysis (default)
sonar-deep-researchExhaustive research, comprehensive reports

Research Storage

All research is automatically saved to:

~/Documents/Perplexity Research/
├── topic-name-2025-01-15.md
├── another-topic-2025-01-16.md
└── ...

You can browse your research history in Finder anytime.

Environment Variables

VariableDescriptionDefault
PERPLEXITY_API_KEYYour Perplexity API keyRequired
PERPLEXITY_RESEARCH_DIRCustom research directory~/Documents/Perplexity Research/

License

MIT

Máy chủ liên quan

NotebookLM Web Importer

Nhập trang web và video YouTube vào NotebookLM chỉ với một cú nhấp. Được tin dùng bởi hơn 200.000 người dùng.

Cài đặt tiện ích Chrome