Perplexity AI MCP Server

Perplexity AI MCP Server

提供了一种标准化的方法,将 Perplexity AI 的各项功能(如聊天、搜索和文档访问)集成到基于 MCP 的系统中。

远程shell执行
AI集成系统
高级AI推理
访问服务器

Tools

chat_perplexity

Maintains ongoing conversations with Perplexity AI. Creates new chats or continues existing ones with full history context.

search

Perform a general search query to get comprehensive information on any topic

get_documentation

Get documentation and usage examples for a specific technology, library, or API

find_apis

Find and evaluate APIs that could be integrated into a project

check_deprecated_code

Check if code or dependencies might be using deprecated features

README

Perplexity AI MCP 服务器

此仓库包含模型上下文协议 (MCP) 服务器的源代码,该服务器提供对 Perplexity AI API 的访问。此服务器允许用户通过各种工具与 Perplexity AI 交互,包括聊天、搜索和检索文档。

目的

此服务器简化了将 Perplexity AI 集成到基于 MCP 的系统中的过程。它提供了一种方便且标准化的方式来访问 Perplexity AI 的功能。

设置

  1. 安装 Node.js 和 npm: 确保您的系统上已安装 Node.js 和 npm。
  2. 克隆仓库: 将此仓库克隆到您的本地计算机。
  3. 安装依赖项: 导航到项目目录并运行 npm install
  4. 配置 API 密钥:PERPLEXITY_API_KEY 环境变量设置为您的 Perplexity API 密钥。
  5. 运行服务器: 运行 npm start 以启动服务器。

用法

该服务器公开了可以通过 MCP 系统访问的多个工具。有关如何使用这些工具的详细信息,请参阅 MCP 文档。

使用的技术

  • TypeScript
  • @modelcontextprotocol/sdk
  • axios

已知问题

  • Perplexity API 可能不太可靠。包含错误处理以优雅地处理 API 故障。

贡献

欢迎贡献!请提出 issue 或提交 pull request。

推荐服务器

Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
mcp-server-qdrant

mcp-server-qdrant

这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。

官方
精选
AIO-MCP Server

AIO-MCP Server

🚀 集成了 AI 搜索、RAG 和多服务(GitLab/Jira/Confluence/YouTube)的一体化 MCP 服务器,旨在增强 AI 驱动的开发工作流程。来自 Folk。

精选
本地
https://github.com/Streen9/react-mcp

https://github.com/Streen9/react-mcp

react-mcp 与 Claude Desktop 集成,能够根据用户提示创建和修改 React 应用程序。

精选
本地
MCP Atlassian

MCP Atlassian

适用于 Atlassian Cloud 产品(Confluence 和 Jira)的 Model Context Protocol (MCP) 服务器。此集成专为 Atlassian Cloud 实例设计,不支持 Atlassian Server 或 Data Center 部署。

精选
any-chat-completions-mcp

any-chat-completions-mcp

将 Claude 与任何 OpenAI SDK 兼容的聊天完成 API 集成 - OpenAI、Perplexity、Groq、xAI、PyroPrompts 等。

精选
Exa MCP Server

Exa MCP Server

一个模型上下文协议服务器,它使像 Claude 这样的人工智能助手能够以安全和受控的方式,使用 Exa AI 搜索 API 执行实时网络搜索。

精选
MySQL MCP Server

MySQL MCP Server

允许人工智能助手通过受控界面列出表格、读取数据和执行 SQL 查询,从而使数据库探索和分析更安全、更有条理。

精选