
jsonallen/perplexity-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Perplexity AI의 API를 사용하여 웹 검색 기능을 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다.
개요
Perplexity AI의 API를 이용한 웹 검색 기능을 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. Anthropic Claude 데스크톱 클라이언트와 호환됩니다. "지난 주간 Anthropic에서 새로운 소식을 찾기 위해 웹을 검색하세요"와 같은 프롬프트를 사용할 수 있습니다. - perplexity_search_web: Perplexity AI를 이용한 웹 검색 - 검색어에 필요한 "query" 인수 - 기간별로 결과를 필터링하는 선택적 "최근" 인수: - 'day': 최근 24시간 - 'week': 최근 7일 - 'month': 최근 30일(기본값) - 'year': 최근 365일 - Perplexity API를 사용하여 웹 검색 수행 - perplexity_search_web: Perplexity AI를 이용한 웹 검색 - "query"를 필수 문자열 인수로 받아들임 - 선택적 "최근" 매개변수를 필터링(일/주/월/연도) - Perplexity API에서 검색 결과를 반환함 Smithery를 통해 Claude Desktop용 Perplexity MCP를 자동으로 설치하려면: 다음 환경 변수가 claude_desktop_config.json에 필요합니다.
개요(AI 번역)
Perplexity AI의 API를 이용한 웹 검색 기능을 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. Anthropic Claude 데스크톱 클라이언트와 호환됩니다.
예시
"지난 주간 Anthropic에서 새로운 소식을 찾기 위해 웹을 검색하세요"와 같은 프롬프트를 사용할 수 있습니다.
글라마 점수
구성 요소
프롬프트
서버는 단 하나의 프롬프트를 제공합니다:
- perplexity_search_web: Perplexity AI를 이용한 웹 검색
- 검색 쿼리에 필요한 “query” 인자
- 선택적으로 ‘최근성’ 주인수 적용:
- ‘일’: 지난 24시간
- ‘주간’: 마지막 7일
- ‘월’: 마지막 30일 (기본값)
- ‘연도’: 지난 365일
- Perplexity의 API를 사용하여 웹 검색 수행
도구
서버는 하나의 도구를 구현합니다:
- perplexity_search_web: Perplexity AI를 이용한 웹 검색
- "query"를 필수 문자열 인수로 받아들입니다
- 결과를 필터링하는 선택적 “최신성” 매개변수(일/주/월/연도)
- Perplexity API에서 검색 결과를 반환함
설치
Smithery를 통해 설치 중
Smithery를 통해 Claude Desktop용 Perplexity MCP를 자동으로 설치하려면:
UV 필요 (빠른 파이썬 패키지 및 프로젝트 매니저)
UV가 설치되어 있지 않다면요.
또는
환경 변수
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
perplexity-mcp MCP server
A Model Context Protocol (MCP) server that provides web search functionality using Perplexity AI’s API. Works with the Anthropic Claude desktop client.
Example
Let’s you use prompts like, “Search the web to find out what’s new at Anthropic in the past week.”
Glama Scores
Components
Prompts
The server provides a single prompt:
- perplexity_search_web: Search the web using Perplexity AI
- Required “query” argument for the search query
- Optional “recency” argument to filter results by time period:
- ‘day’: last 24 hours
- ‘week’: last 7 days
- ‘month’: last 30 days (default)
- ‘year’: last 365 days
- Uses Perplexity’s API to perform web searches
Tools
The server implements one tool:
- perplexity_search_web: Search the web using Perplexity AI
- Takes “query” as a required string argument
- Optional “recency” parameter to filter results (day/week/month/year)
- Returns search results from Perplexity’s API
Installation
Installing via Smithery
To install Perplexity MCP for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install perplexity-mcp --client claude
Requires UV (Fast Python package and project manager)
If uv isn’t installed.
# Using Homebrew on macOS
brew install uv
or
# 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"
Environment Variables
The following environment variable is required in your claude_desktop_config.json. You can obtain an API key from Perplexity
PERPLEXITY_API_KEY: Your Perplexity AI API key
Optional environment variables:
-
PERPLEXITY_MODEL: The Perplexity model to use (defaults to “sonar” if not specified)Available models:
sonar-deep-research: 128k context - Enhanced research capabilitiessonar-reasoning-pro: 128k context - Advanced reasoning with professional focussonar-reasoning: 128k context - Enhanced reasoning capabilitiessonar-pro: 200k context - Professional grade modelsonar: 128k context - Default modelr1-1776: 128k context - Alternative architecture
And updated list of models is avaiable (here)[https://docs.perplexity.ai/guides/model-cards]
Cursor & Claude Desktop Installation
Add this tool as a mcp server by editing the Cursor/Claude config file.
"perplexity-mcp": {
"env": {
설치
uvx perplexity-mcp