perplexity-mcp-server

perplexity-mcp-server

3.4

If you are the rightful owner of perplexity-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

An MCP server providing tools to interact with the Perplexity AI API, built using the mcp-ts-template.

The Perplexity MCP Server is a robust server implementation that allows AI agents to interact with the Perplexity AI API using the Model Context Protocol (MCP). It is designed to facilitate search-augmented queries, enabling AI systems to leverage Perplexity's capabilities for enhanced information retrieval and synthesis. The server is built with TypeScript, ensuring strong type safety and includes comprehensive utilities for logging, error handling, and security. It features a modular architecture based on the mcp-ts-template, which allows for easy extension and maintenance. The server includes a Perplexity Search Tool that performs web searches and synthesizes answers using an LLM, with options to filter results by recency and domain. The server is designed with security in mind, incorporating input validation and sanitization to prevent injection attacks.

Features

  • Core Utilities: Includes logging, error handling, ID generation, rate limiting, and request context management.
  • Type Safety: Strong typing with TypeScript for consistent interfaces and error handling.
  • Error Handling: Robust system with pattern-based classification and standardized reporting.
  • Security: Basic security features like input sanitization and sensitive data redaction.
  • Perplexity Tool: A ready-to-use tool for interacting with the Perplexity Search API.

Tools

  1. perplexity_search

    Enables interaction with the Perplexity Search API for search-augmented queries.