Perplexity MCP Server

MIT License
94
  • Apple

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.

Integrations

  • Enables web search functionality using Perplexity AI's API, allowing users to search the web with customizable recency filters (day, week, month, year) to find timely information.

perplexity-mcp MCP 서버

Perplexity AI의 API를 사용하여 웹 검색 기능을 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. Anthropic Claude 데스크톱 클라이언트와 호환됩니다.

"지난주 Anthropic에서 무슨 새로운 소식이 있었는지 웹에서 검색해 보세요"와 같은 프롬프트를 사용해 보세요.

글라마 스코어

구성 요소

프롬프트

서버는 단일 프롬프트를 제공합니다.

  • perplexity_search_web: Perplexity AI를 사용하여 웹 검색
    • 검색 쿼리에 대한 필수 "쿼리" 인수
    • 기간별로 결과를 필터링하기 위한 선택적 "최근성" 인수:
      • 'day': 지난 24시간
      • '주': 지난 7일
      • 'month': 지난 30일(기본값)
      • '년': 지난 365일
    • Perplexity의 API를 사용하여 웹 검색을 수행합니다.

도구

서버는 하나의 도구를 구현합니다.

  • perplexity_search_web: Perplexity AI를 사용하여 웹 검색
    • "쿼리"를 필수 문자열 인수로 사용합니다.
    • 결과를 필터링하기 위한 선택적 "최근성" 매개변수(일/주/월/년)
    • Perplexity API에서 검색 결과를 반환합니다.

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop에 Perplexity MCP를 자동으로 설치하려면:

지엑스피1

UV (Fast Python 패키지 및 프로젝트 관리자)가 필요합니다.

uv가 설치되어 있지 않으면

# Using Homebrew on macOS brew install uv

또는

# On macOS and Linux. curl -LsSf https://astral.sh/uv/install.sh | sh # On Windows. powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

환경 변수

claude_desktop_config.json 파일에 다음 환경 변수가 필요합니다. Perplexity 에서 API 키를 받을 수 있습니다.

  • PERPLEXITY_API_KEY : Perplexity AI API 키

선택적 환경 변수:

  • PERPLEXITY_MODEL : 사용할 Perplexity 모델(지정하지 않으면 기본값은 "sonar")사용 가능한 모델:
    • sonar-deep-research : 128k 컨텍스트 - 향상된 연구 기능
    • sonar-reasoning-pro : 128k 컨텍스트 - 전문가 중심의 고급 추론
    • sonar-reasoning : 128k 컨텍스트 - 향상된 추론 기능
    • sonar-pro : 200k 컨텍스트 - 전문가급 모델
    • sonar : 128k 컨텍스트 - 기본 모델
    • r1-1776 : 128k 컨텍스트 - 대체 아키텍처

업데이트된 모델 목록은 여기에서 확인할 수 있습니다.[ https://docs.perplexity.ai/guides/model-cards ]

커서 및 클로드 데스크톱 설치

Cursor/Claude 구성 파일을 편집하여 이 도구를 mcp 서버로 추가합니다.

"perplexity-mcp": { "env": { "PERPLEXITY_API_KEY": "XXXXXXXXXXXXXXXXXXXX", "PERPLEXITY_MODEL": "sonar" }, "command": "uvx", "args": [ "perplexity-mcp" ] }

커서

  • MacOS의 경우: /Users/your-username/.cursor/mcp.json
  • Windows의 경우: C:\Users\your-username\.cursor\mcp.json

모든 것이 올바르게 작동한다면 이제 커서에서 도구를 호출할 수 있어야 합니다.

클로드 데스크탑

  • MacOS의 경우: ~/Library/Application\ Support/Claude/claude_desktop_config.json
  • Windows의 경우: %APPDATA%/Claude/claude_desktop_config.json

서버가 작동하는지 확인하려면 Claude 클라이언트를 열고 "지난주 OpenAI 관련 뉴스를 웹에서 검색해 보세요"와 같은 프롬프트를 사용하세요. 도구 사용을 확인하는 알림 상자가 열립니다. "이 채팅 허용"을 클릭하세요.

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Perplexity AI의 API를 활용하여 웹 검색 기능을 용이하게 하는 서버로, Claude 데스크톱 클라이언트와 통합되어 향상된 검색 쿼리를 제공하도록 설계되었습니다.

  1. Example
    1. Glama Scores
      1. Components
        1. Prompts
        2. Tools
      2. Installation
        1. Installing via Smithery
        2. Requires UV (Fast Python package and project manager)
        3. Environment Variables
        4. Cursor & Claude Desktop Installation
      ID: ebg0za4hn9