How to add Perplexity MCP to Claude Code
Unproofread notes
Below is the command to add the Perplexity API to Claude Code:
claude mcp add perplexity -e PERPLEXITY_API_KEY={perplexity_api_here} -- npx -y perplexity-mcp
You have to replace {perplexity_api_here}
with the API from Perplexity and then run the command. When you run the command, it modifies the ~/.claude.json
file to add the MCP globally.
And I learned about this from this GitHub repo and this page on Anthropic docs.
Comment via email