Content
# Perplexity MCP Server
A Python-based MCP server that integrates with Perplexity's Sonar Pro API to perform intelligent searches and research assistance.
## Features
### Search
Performs search queries using the Perplexity API to get comprehensive information on any topic.
## Prerequisites
1. **Python Requirements**:
- Python 3.x
- `uv` package manager (for virtual environment and dependency management)
2. **API Key**:
- Get your Perplexity API key from [perplexity.ai/settings/api](https://www.perplexity.ai/settings/api)
- Set the `PERPLEXITY_API_KEY` environment variable before running the server (see `start_mcp_python.sh` for details)
## Installation
1. The server uses a virtual environment managed by `uv`. The startup script will:
- Create a virtual environment if it doesn't exist
- Install required dependencies (mcp and requests)
- Set up the Perplexity API key
- Launch the MCP server
## Usage
1. **Start the Server**:
```bash
./start_mcp_python.sh
```
2. The server provides the following tool:
- `search`: Perform a search query using the Perplexity API
```python
# Example usage
query = "What are the best practices for Python exception handling?"
result = search(query)
```
## License
MIT
Connection Info
You Might Also Like
Filesystem
Node.js MCP Server for filesystem operations with dynamic access control.
Sequential Thinking
A structured MCP server for dynamic problem-solving and reflective thinking.
Fetch
Retrieve and process content from web pages by converting HTML into markdown format.
memo
Memo MCP -- save and restore conversation across agents
claude-desktop-extension-bear-notes
A local extension to manage Bear Notes within Claude conversations.
powerbi-mcp
An enterprise-grade MCP server enabling AI interaction with Power BI.