Back to Home
alephtex icon

perplexity-mcp-server

Verified Safe

by alephtex

Overview

Integrates Perplexity AI for web search capabilities into a Model Context Protocol (MCP) client.

Installation

Run Command
python server.py

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens400
Stars0
Forks0
Last Update2025-12-13

Tags

Perplexity AIWeb SearchMCP ServerAI ToolPython