Perplexity MCP Server
퍼플렉시티 MCP 제버 📋
API 키가 필요 없이 Perplexity 웹사이트와 상호 작용하여 AI 기반 연구 기능을 제공하는 연구 수준 모델 컨텍스트 프로토콜(MCP) 서버 구현입니다.
특징
🔍 Perplexity의 웹 인터페이스를 통한 웹 검색 통합.
💬 대화 맥락을 위한 지속적인 채팅 기록.
📄 문서 검색, API 찾기, 코드 분석을 위한 도구입니다.
🚫 API 키가 필요하지 않습니다(웹 상호작용에 의존).
🛠️ TypeScript를 우선으로 구현했습니다.
🌐 브라우저 자동화를 위해 Puppeteer를 사용합니다.
Related MCP server: Perplexity AI MCP Server
도구
1. 검색( search )
Perplexity.ai에서 검색 쿼리를 수행합니다. brief , normal 또는 detailed ' 응답을 지원합니다. 원시 텍스트 출력을 반환합니다.
2. 문서 가져오기( get_documentation )
Perplexity에 기술/라이브러리에 대한 문서와 예시를 제공해 달라고 요청합니다. 선택적으로 특정 맥락에 초점을 맞춥니다. 원시 텍스트 출력을 반환합니다.
3. API 찾기( find_apis )
Perplexity에 요구 사항과 컨텍스트를 기반으로 API를 찾고 평가하도록 요청합니다. 원시 텍스트 출력을 반환합니다.
4. 더 이상 사용되지 않는 코드 확인( check_deprecated_code )
Perplexity에 특정 기술 컨텍스트 내에서 더 이상 사용되지 않는 기능에 대한 코드 조각을 분석하도록 요청합니다. 원시 텍스트 출력을 반환합니다.
5. URL 콘텐츠 추출( extract_url_content )
브라우저 자동화와 Mozilla의 Readability를 사용하여 URL에서 주요 기사 텍스트 콘텐츠를 추출합니다. gitingest.com을 통해 GitHub 저장소를 처리합니다. 최대 깊이까지 재귀적 링크 탐색을 지원합니다. 콘텐츠와 메타데이터가 포함된 구조화된 JSON을 반환합니다.
6. 채팅( chat_perplexity )
Perplexity AI와 지속적인 대화를 유지합니다. 채팅 기록은 프로젝트 디렉터리 내 chat_history.db 에 로컬로 저장됩니다. chat_id 와 response 포함하는 문자열화된 JSON 객체를 반환합니다.
설치
readme를 복사해서 붙여넣기만 하면 AI가 나머지를 알아서 처리해 줍니다.
이 저장소를 복제하거나 다운로드하세요:
지엑스피1
종속성 설치:
npm install서버를 빌드하세요:
npm run build중요 : Node.js가 설치되어 있는지 확인하세요. Puppeteer는 설치 중에 필요한 경우 호환되는 브라우저 버전을 다운로드합니다. 프로젝트를 빌드하고 구성한 후 IDE/애플리케이션을 다시 시작하면 변경 사항이 적용됩니다.
구성
MCP 구성 파일에 서버를 추가합니다(예: VS Code 확장 프로그램의 경우 cline_mcp_settings.json , 데스크톱 앱의 경우 claude_desktop_config.json ).
중요: /path/to/perplexity-mcp-zerver/build/index.js 시스템에 빌드된 index.js 파일의 절대 경로 로 바꾸세요.
Cline/RooCode 확장에 대한 예:
{
"mcpServers": {
"perplexity-server": {
"command": "node",
"args": [
"/full/path/to/your/perplexity-mcp-zerver/build/index.js" // <-- Replace this path! (in case of windows for ex: "C:\\Users\\$USER\\Documents\\Cline\\MCP\\perplexity-mcp-zerver\\build\\index.js"
],
"env": {},
"disabled": false,
"alwaysAllow": [],
"autoApprove": [],
"timeout": 300
}
}
}Claude Desktop의 예:
{
"mcpServers": {
"perplexity-server": {
"command": "node",
"args": [
"/full/path/to/your/perplexity-mcp-zerver/build/index.js" // <-- Replace this path!
],
"env": {},
"disabled": false,
"alwaysAllow": []
}
}
}용법
MCP 설정 파일에서 서버가 올바르게 구성되었는지 확인하세요.
IDE(Cline/RooCode 확장 기능이 있는 VS Code 등) 또는 Claude Desktop 애플리케이션을 다시 시작합니다.
MCP 클라이언트는 자동으로 서버에 연결되어야 합니다.
이제 연결된 AI 비서(예: Claude)에게 다음과 같은 도구를 사용하도록 요청할 수 있습니다.
"퍼플렉시티 서버 검색을 사용하여 AI에 대한 최신 뉴스를 찾아보세요."
"React hooks에 대해 perplexity-server get_documentation에 문의하세요."
"양자 컴퓨팅에 관해 perplexity-server와 채팅을 시작하세요."
크레딧
DaInfernalCoder에게 감사드립니다:
특허
이 프로젝트는 GNU General Public License v3.0에 따라 라이선스가 부여되었습니다. 자세한 내용은 LICENSE.md 파일을 참조하세요.
부인 성명
이 프로젝트는 웹 자동화(Puppeteer)를 통해 Perplexity 웹사이트와 상호 작용합니다. 교육 및 연구 목적으로만 사용됩니다. 웹 스크래핑 및 자동화는 대상 웹사이트의 서비스 약관에 위배될 수 있습니다. 저자는 무단 자동화 또는 서비스 약관 위반을 지지하거나 권장하지 않습니다. 책임감 있고 윤리적으로 사용하십시오. 이 서버의 안정성은 Perplexity 웹사이트 구조의 일관성 유지에 달려 있습니다.
Available Tools
6 toolschat_perplexityB
Automatically call this tool for interactive, conversational queries. This tool leverages Perplexitys web search capabilities to provide real-time information and maintains conversation history using an optional chat ID for contextual follow-ups.
Inputs: message (required), chat_id. Returns: Describes the structure of the JSON object returned within the response text fi…
check_deprecated_codeA
Automatically call this tool when reviewing legacy code, planning upgrades, or encountering warnings with real time web access. Helps identify technical debt. Example: During code reviews or before upgrading dependencies.
Inputs: code (required), technology. Returns: response
extract_url_contentA
Uses browser automation (Puppeteer) and Mozilla's Readability library to extract the main article text content from a given URL. Handles dynamic JavaScript rendering and includes fallback logic. For GitHub repository URLs, it attempts to fetch structured content via gitingest.com. Performs a pre-check for non-HTML content types and checks HTTP status after navigation. Ideal for getting clean text from articles/blog posts. Note: May struggle to isolate only core content on complex homepages or dashboards, potentially including UI elements.
Inputs: url (required), depth. Returns: Returns a JSON object with extraction status and content for the URL(s) explore…
find_apisB
Automatically call this tool when needing external services or real time current data (like API info, latest versions, etc.) from web. Compares options based on requirements. Example: When building a shopping site, ask "Find product image APIs with free tiers".
Inputs: requirement (required), context. Returns: response
get_documentationA
Automatically call this tool when working with unfamiliar APIs/libraries, needing usage examples, or checking version specifics as this can access web. Example: When adding a payment gateway, ask "Get Stripe API documentation for creating charges".
Inputs: query (required), context. Returns: response
searchB
Performs a web search using Perplexity AI based on the provided query and desired detail level. Useful for general knowledge questions, finding information, or getting different perspectives.
Inputs: query (required), detail_level, stream. Returns: response
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
The tools have distinct primary purposes (e.g., chat, code review, content extraction, API discovery, documentation lookup, general search), but there is some functional overlap. For instance, 'chat_perplexity' and 'search' both perform web searches, and 'find_apis' and 'get_documentation' both relate to API information, which could cause confusion for an agent in selecting the most appropriate tool for a given task.
Most tool names follow a consistent verb_noun pattern (e.g., 'extract_url_content', 'find_apis', 'get_documentation', 'check_deprecated_code'), which aids readability. However, 'chat_perplexity' deviates slightly by using a noun_verb structure, and 'search' is a standalone verb without a noun, creating minor inconsistencies in the naming convention.
With 6 tools, the count is well-scoped for a server focused on web-based information retrieval and code assistance. Each tool appears to serve a specific function within this domain, avoiding bloat while covering key areas like conversation, search, content extraction, and technical support, making the set manageable and purposeful.
The tool set covers a broad range of web interaction and code-related tasks, including conversational search, content extraction, API discovery, documentation access, and code review. A minor gap exists in lacking explicit tools for updating or managing retrieved information (e.g., saving or organizing results), but agents can likely work around this using the provided tools effectively for most workflows.
Maintenance
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
An MCP server that gives your AI access to the source code and docs of all public github repos
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP Server for the Perplexity API.24 PyPI66MIT
- AlicenseBqualityDmaintenanceAn MCP server integrating Perplexity AI's API to offer advanced search capabilities with support for multiple models and result configuration.11MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI agents to perform search-augmented queries and deep multi-source research using the Perplexity API.26Apache 2.0
- AlicenseAqualityDmaintenanceAn MCP server that enables AI assistants to query Perplexity AI for web-grounded answers with citations and advanced search filters.3MIT
Appeared in Searches
- Official MCP server that runs locally without an API key or paid plan
- Search functionality without API key requirement
- A server for finding the cheapest flights for a specified date range
- Using a search engine to find evidence to answer a question
- A server for delivering personalized latest news updates