Perplexity AI MCP Server
Perplexity AI MCP 服务器
集成 Perplexity AI 的 API 的 MCP 服务器实现,提供具有多种模型选项的高级搜索功能。
特征
使用 Perplexity AI 的模型进行搜索
支持所有官方 Sonar 型号
可配置结果计数
详细的错误处理和日志记录
兼容 MCP Inspector
Related MCP server: PPX-MCP
可用型号
sonar-reasoning-pro(127k 上下文)
sonar-reasoning(127k 上下文)
sonar-pro(200k 上下文)
声纳(127k 上下文)
安装
pnpm install
pnpm build配置
API 密钥
从仪表板获取您的 API 密钥
设置环境变量:
export PERPLEXITY_API_KEY=your_api_key_here用法
直接执行
node dist/index.js
# or if you made it executable
./dist/index.js发展
pnpm dev使用 MCP Inspector 进行测试
pnpm inspect工具参考
困惑度搜索
使用 Perplexity AI 的模型执行搜索。
参数:
query(字符串,必需):搜索查询model(字符串,可选):要使用的模型(默认值:“sonar”)可用选项:sonar-reasoning-pro、sonar-reasoning、sonar-pro、sonar
count(数字,可选):结果数量(1-10,默认值:5)
发展
项目结构
src/perplexity/
├── index.ts # Main server implementation
├── lib/
│ └── logger.ts # Logging configuration
└── adr.md # Architectural decisions日志记录
日志写入项目根目录中的perplexity-mcp.log 。
执照
麻省理工学院
贡献
分叉存储库
创建你的功能分支
提交你的更改
推送到分支
创建新的 Pull 请求
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
- MIT
- AlicenseAqualityDmaintenanceAn unofficial MCP server for Perplexity AI that leverages Pro subscriptions and browser cookies to enable real-time web searches and model selection without an API key. It provides tools for performing queries, listing available models, and automating the login process to manage authentication.412MIT
- AlicenseNot gradedqualityFmaintenanceAn MCP server that integrates with Poe's API to provide AI-powered search and research tools from Perplexity, Reka, Exa, and Linkup.128MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI agents to perform search-augmented queries and deep multi-source research using the Perplexity API.4225Apache 2.0
Related MCP Connectors
An MCP server that integrates with Discord to provide AI-powered features.
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
MCP server for AI dialogue using various LLM models via AceDataCloud
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/mkusaka/mcp-server-perplexity'
If you have feedback or need assistance with the MCP directory API, please join our Discord server