Setup Instructions
March 11, 2025 ยท View on GitHub
For this example we will add perplexity search capabilities to claude!
For windows specific instructions please look here
- Install MCP locally
cd personal_mcp_agents url -LsSf https://astral.sh/uv/install.sh | sh # Create virtual environment and activate it uv venv source .venv/bin/activate # Install dependencies uv add "mcp[cli]" httpx requests uv init search mv search.py search/ - Edit -
~/Library/Application\ Support/Claude/claude_desktop_config.json. - Add the relevant MCP agent (for this example we will integrate the perplexity search agent with claude). Change to your username and put ABSOLUTE PATHS here -
{
"mcpServers": {
"search": {
"command": "/Users/username/.local/bin/uv",
"args": [
"--directory",
"path/to/personal_mcp_agents/search",
"run",
"search.py"
]
}
}
}
- Go to perplexity.ai and generate your API key. Paste your API key in search.py
- Open the claude desktop application.
