Skip to main content
Glama
mkusaka

Perplexity AI MCP Server

by mkusaka

Perplexity AI MCP 서버

Perplexity AI의 API를 통합한 MCP 서버 구현으로, 다양한 모델 옵션을 통해 고급 검색 기능을 제공합니다.

특징

  • Perplexity AI 모델을 사용하여 검색

  • 모든 공식 Sonar 모델 지원

  • 구성 가능한 결과 수

  • 자세한 오류 처리 및 로깅

  • MCP Inspector 호환

Related MCP server: PPX-MCP

사용 가능한 모델

  • 소나-리즈닝-프로(127k 컨텍스트)

  • 소나 추론(127k 컨텍스트)

  • 소나프로(20만 컨텍스트)

  • 소나(127k 컨텍스트)

설치

지엑스피1

구성

API 키

  1. Perplexity AI 계정 에 가입하세요

  2. 대시보드에서 API 키를 받으세요

  3. 환경 변수를 설정합니다.

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 에 기록됩니다.

특허

MIT

기여하다

  1. 저장소를 포크하세요

  2. 기능 브랜치를 생성하세요

  3. 변경 사항을 커밋하세요

  4. 지점으로 밀어 넣기

  5. 새로운 풀 리퀘스트 만들기

Available Tools

1 tool

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev1.0.0
    • First observedperplexity_search

TDQS

B3.1/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly defined as searching using Perplexity AI's models, making it distinct by default.

Naming Consistency5/5

The single tool name 'perplexity_search' follows a clear and consistent verb_noun pattern (search as the verb, perplexity as a modifier). With only one tool, naming consistency is inherently perfect as there are no other tools to compare against.

Tool Count2/5

A single tool is generally too few for most server purposes, as it limits functionality and flexibility. For a search-focused server, additional tools like filtering, citation management, or model selection might be expected to provide a more complete experience.

Completeness2/5

The server's domain appears to be search using Perplexity AI, but with only one search tool, there are significant gaps. Missing operations could include advanced search parameters, result refinement, citation handling, or integration with other Perplexity features, making the surface incomplete for typical search workflows.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    An 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.
    4
    29 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables AI agents to perform search-augmented queries and deep multi-source research using the Perplexity API.
    59 npm
    25
    Apache 2.0