Skip to main content
Glama

Perplexity AI MCP Server

by mkusaka

Perplexity AI MCP 서버

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

특징

  • Perplexity AI 모델을 사용하여 검색
  • 모든 공식 Sonar 모델 지원
  • 구성 가능한 결과 수
  • 자세한 오류 처리 및 로깅
  • MCP Inspector 호환

사용 가능한 모델

  • 소나-리즈닝-프로(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. 새로운 풀 리퀘스트 만들기

You must be authenticated.

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

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.

다중 모델과 결과 구성을 지원하여 고급 검색 기능을 제공하기 위해 Perplexity AI의 API를 통합한 MCP 서버입니다.

  1. 특징
    1. 사용 가능한 모델
      1. 설치
        1. 구성
          1. API 키
        2. 용법
          1. 직접 실행
          2. 개발
          3. MCP Inspector로 테스트
        3. 도구 참조
          1. 퍼플렉시티\_검색
        4. 개발
          1. 프로젝트 구조
          2. 벌채 반출
        5. 특허
          1. 기여하다

            Related MCP Servers

            • A
              security
              F
              license
              A
              quality
              This server allows users to perform web searches using Perplexity AI, providing a tool for retrieving search results through a simple API interface.
              Last updated -
              1
              2
              TypeScript
            • A
              security
              F
              license
              A
              quality
              This server provides access to the Perplexity AI API, enabling interaction through chatting, searching, and documentation retrieval within MCP-based systems.
              Last updated -
              5
              2
              JavaScript
            • A
              security
              F
              license
              A
              quality
              Provides a standardized way to integrate Perplexity AI's features like chat, search, and documentation access into MCP-based systems.
              Last updated -
              5
              JavaScript
            • -
              security
              F
              license
              -
              quality
              Allows Claude or other MCP-compatible AI assistants to search the web and get up-to-date information using the Perplexity API, with features for filtering results by time period.
              Last updated -
              8
              Python
              • Apple

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/mkusaka/mcp-server-perplexity'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server