Perplexity MCP Server
Web search using Perplexity's API.
Perplexity MCP Server
An MCP server that provides web search capabilities using Perplexity's API.
Prerequisites
- Node.js (v14 or higher)
- A Perplexity API key (get one at https://www.perplexity.ai/settings/api)
- Claude Desktop App
Installation
Installing via Smithery
To install Perplexity Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @jaacob/perplexity-mcp --client claude
Manual Installation
-
Clone this repository:
git clone https://github.com/jaacob/perplexity-mcp cd perplexity-mcp -
Install dependencies:
npm install -
Build the server:
npm run build
Configuration
-
Get your Perplexity API key from https://www.perplexity.ai/settings/api
-
Add the server to Claude's config file at
~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"perplexity-server": {
"command": "node",
"args": [
"/absolute/path/to/perplexity-mcp/build/index.js"
],
"env": {
"PERPLEXITY_API_KEY": "your-api-key-here",
"PERPLEXITY_MODEL": "sonar"
}
}
}
}
Replace /absolute/path/to with the actual path to where you cloned the repository.
Available Models
You can specify which model to use by setting the PERPLEXITY_MODEL environment variable. Available options:
sonar-reasoning-pro- Most capable model with enhanced reasoningsonar-reasoning- Enhanced reasoning capabilitiessonar-pro- Faster response timessonar- Default model (used if no model is specified)
For up-to-date model pricing and availability, visit: https://docs.perplexity.ai/guides/pricing
Usage
After configuring the server and restarting Claude, you can simply ask Claude to search for information. For example:
- "What's the latest news about SpaceX?"
- "Search for the best restaurants in Chicago"
- "Find information about the history of jazz music"
Claude will automatically use the Perplexity search tool to find and return relevant information.
If for whatever reason it decides not to, you can force the issue by prepending your prompt with "Search the web".
Development
To modify the server:
- Edit
src/index.ts - Rebuild with
npm run build - Restart Claude to load the changes
License
MIT
相關伺服器
ClaimHit
Patent Infringement MCP Server
ContextMCP
A self-hosted MCP server that indexes documentation from various sources and serves it to AI Agents with semantic search.
Typesense MCP Server
Provides access to Typesense search capabilities, requiring a connection to a Typesense server.
secEdgarMCP
An MCP server that allows a client to fetch data from the SEC EDGAR API and pull documents into terminal rendering
Toolradar MCP
Search, compare, and get pricing for 8,600+ software tools with verified data, editorial scores, G2/Capterra ratings, and real alternatives.
BudgetFitter
BudgetFitter is a free UK deal discovery platform with a public MCP server. Search verified discount codes, look up brand intelligence, and navigate deals — no auth required.
Haloscan MCP Server
An MCP server for interacting with the Haloscan SEO API.
Azure AI Search
Search content using Azure AI Agent Service and Azure AI Search.
Veroq
Financial search & intelligence MCP server — 52 tools for verified market data, trading signals, fact-checking with evidence chains, and 1,061+ tickers. Ask anything, verify everything.
Flight Search
Search for flights using the SerpAPI Google Flights engine.