Perplexity MCP Server
Project description
perplexity-mcp MCP server
A Model Context Protocol (MCP) server that provides web search functionality using Perplexity AI's API. Works with the Anthropic Claude desktop client.
Components
Prompts
The server provides a single prompt:
- perplexity_search_web: Search the web using Perplexity AI
- Required "query" argument for the search query
- Uses Perplexity's API to perform web searches
Tools
The server implements one tool:
- perplexity_search_web: Search the web using Perplexity AI
- Takes "query" as a required string argument
- Returns search results from Perplexity's API
Installation
Using uv (recommended)
# Install from source
uv pip install git+https://github.com/jsonallen/perplexity-mcp.git
# Or install in development mode
git clone https://github.com/jasonallen/perplexity-mcp.git
cd perplexity-mcp
uv pip install -e .
Environment Variables
The following environment variable is required in your claude_desktop_config.json. You can obtain an API key from Perplexity
PERPLEXITY_API_KEY: Your Perplexity AI API key
Claude Desktop
Add this tool as a mcp server
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
"perplexity-mcp": {
"env": {
"PERPLEXITY_API_KEY": "123456790"
},
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/perplexity-mcp",
"run",
"perplexity-mcp"
]
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file perplexity_mcp-0.1.2.tar.gz.
File metadata
- Download URL: perplexity_mcp-0.1.2.tar.gz
- Upload date:
- Size: 34.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99f53973da1521ad233ac77cea908bfafa7f26a377916e691a50d86620d1a9bf
|
|
| MD5 |
525f418cf5f535109b3ecaca0047014f
|
|
| BLAKE2b-256 |
78e8f0ee5e6f1cc8f9a3a3c8d466d2c709f134e01eb1e779f200017722ec6072
|
File details
Details for the file perplexity_mcp-0.1.2-py3-none-any.whl.
File metadata
- Download URL: perplexity_mcp-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04bb2c04e1c983a0dbc6394d8e306602d3367ef90638f0d2ab3d89f90a70e5a4
|
|
| MD5 |
741b5db18a73455c36d0e183bf937218
|
|
| BLAKE2b-256 |
7022c5fe019f8924ad1457c93db2e22cf02f4827a76d425d267afdb3c7787ffc
|