Perplexity MCP Server
Perplexity MCP 服务器
使用 Perplexity 的 API 提供网络搜索功能的 MCP 服务器。
先决条件
Node.js(v14 或更高版本)
Perplexity API 密钥(在https://www.perplexity.ai/settings/api获取)
克劳德桌面应用程序
Related MCP server: Perplexity Web Search MCP Server
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Perplexity Server:
npx -y @smithery/cli install @jaacob/perplexity-mcp --client claude手动安装
克隆此存储库:
git clone https://github.com/jaacob/perplexity-mcp cd perplexity-mcp安装依赖项:
npm install构建服务器:
npm run build
配置
从https://www.perplexity.ai/settings/api获取您的 Perplexity API 密钥
将服务器添加到 Claude 的配置文件中,地址为
~/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"
}
}
}
}将/absolute/path/to替换为您克隆存储库的实际路径。
可用型号
您可以通过设置PERPLEXITY_MODEL环境变量来指定要使用的模型。可用选项:
sonar-reasoning-pro- 推理能力最强的模型sonar-reasoning- 增强推理能力sonar-pro响应时间更快sonar默认模型(如果未指定模型则使用)
如需了解最新的模型定价和供货情况,请访问: https://docs.perplexity.ai/guides/pricing
用法
配置服务器并重启 Claude 后,你就可以简单地让 Claude 搜索信息了。例如:
“关于SpaceX有什么最新消息吗?”
“搜索芝加哥最好的餐厅”
“查找有关爵士乐历史的信息”
Claude 会自动使用 Perplexity 搜索工具来查找并返回相关信息。
如果出于某种原因它决定不这样做,您可以通过在提示前加上“搜索网络”来强制执行此问题。
发展
修改服务器:
编辑
src/index.ts使用
npm run build重建重新启动 Claude 以加载更改
执照
麻省理工学院
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseBqualityFmaintenanceA server facilitating web search functionality by utilizing Perplexity AI's API, designed to integrate with the Claude desktop client for enhanced search queries.1307MIT
- Flicense-qualityDmaintenanceAllows Claude or other MCP-compatible AI assistants to search the web and get up-to-date information using the Perplexity API, with features for filtering results by time period.8
- Alicense-qualityDmaintenanceIntegrates the Sonar API to provide Claude with real-time web-wide research capabilities. Enables conversational web searches through Perplexity's AI-powered search engine for up-to-date information retrieval.1,748MIT
- Alicense-qualityDmaintenanceExposes Perplexity AI's search capabilities to Claude, enabling real-time web search and information retrieval within the assistant. The project is currently in active development with plans to support Perplexity Spaces and multi-source data synthesis.Apache 2.0
Related MCP Connectors
Web search, news, page retrieval, sitemaps, and trending topics through Search1API.
The best web search for your AI Agent
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jaacob/perplexity-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server