Perplexity AI MCP 服务器
集成 Perplexity AI 的 API 的 MCP 服务器实现,提供具有多种模型选项的高级搜索功能。
特征
使用 Perplexity AI 的模型进行搜索
支持所有官方 Sonar 型号
可配置结果计数
详细的错误处理和日志记录
兼容 MCP Inspector
可用型号
sonar-reasoning-pro(127k 上下文)
sonar-reasoning(127k 上下文)
sonar-pro(200k 上下文)
声纳(127k 上下文)
安装
配置
API 密钥
从仪表板获取您的 API 密钥
设置环境变量:
用法
直接执行
发展
使用 MCP Inspector 进行测试
工具参考
困惑度搜索
使用 Perplexity AI 的模型执行搜索。
参数:
query(字符串,必需):搜索查询model(字符串,可选):要使用的模型(默认值:“sonar”)可用选项:sonar-reasoning-pro、sonar-reasoning、sonar-pro、sonar
count(数字,可选):结果数量(1-10,默认值:5)
发展
项目结构
日志记录
日志写入项目根目录中的perplexity-mcp.log 。
执照
麻省理工学院
贡献
分叉存储库
创建你的功能分支
提交你的更改
推送到分支
创建新的 Pull 请求
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.
MCP 服务器集成了 Perplexity AI 的 API,提供高级搜索功能,支持多种模型和结果配置。
Related Resources
Related MCP Servers
- Asecurity-licenseAqualityThis server allows users to perform web searches using Perplexity AI, providing a tool for retrieving search results through a simple API interface.Last updated -12883
 - -security-license-qualityMCP Server for the Perplexity API.Last updated -62MIT License
 - -security-license-qualityThis server provides access to the Perplexity AI API, enabling interaction through chatting, searching, and documentation retrieval within MCP-based systems.
 - Asecurity-licenseAqualityAn MCP server that enables Claude to perform web searches using Perplexity's API with intelligent model selection based on query intent and support for domain and recency filtering.Last updated -3MIT License