perplexity-mcp-server
Verified Safeby alephtex
Overview
Integrates Perplexity AI for web search capabilities into a Model Context Protocol (MCP) client.
Installation
python server.pyEnvironment Variables
- PERPLEXITY_API_KEY
Security Notes
The server correctly retrieves the Perplexity API key from an environment variable, preventing hardcoding. It uses `httpx` for making API requests, which is a standard and secure library. Input `query` is passed directly to the Perplexity API, relying on the external service for content handling. There are no 'eval' or similar dangerous patterns, nor direct file system access beyond script execution. Error handling is present for API key absence and network issues. Overall, the code appears safe for its intended purpose.
Similar Servers
mcp-omnisearch
Provides a unified interface for various search, AI response, content processing, and enhancement tools via Model Context Protocol (MCP).
opensearch-mcp-server-py
Enables AI assistants and LLMs to interact with OpenSearch clusters by providing a standardized Model Context Protocol (MCP) interface through built-in and dynamic tools.
mcp-server
A Model Context Protocol (MCP) server that integrates with SerpApi to provide comprehensive search engine results and data extraction to an LLM.
perplexity-mcp-zerver
This server provides AI-powered research capabilities by automating interactions with Perplexity.ai's web interface, offering web search, content extraction, chat, and developer tooling without requiring API keys.