- Perplexity MCP Server
Perplexity MCP Server
Perplexity MCP Server
A research level Model Context Protocol (MCP) server implementation providing AI-powered research capabilities through Perplexity's infrastructure without using any API key.
Features
- 🔍 Web search integration via Perplexity
- 🔑 Use without any API Key
- 🛠️ TypeScript-first implementation
- 📦 Modular tool architecture
Tools
1. Search (search)
Perform comprehensive web searches with adjustable detail levels.
2. Get Documentation (get_documentation)
Retrieve up-to-date documentation and code examples with contextual guidance.
3. Find APIs (find_apis)
Discover and evaluate APIs based on technical requirements and compliance needs.
4. Check Deprecated Code (check_deprecated_code)
Analyze code for outdated patterns and provide migration guidance.
5. Chat (chat_perplexity)
Maintains ongoing conversations with Perplexity AI using a persistent chat history.
Installation
- Clone or download this repository:
git clone https://github.com/wysh3/perplexity-mcp-server.git
cd perplexity-mcp-server
- Install dependencies:
npm install
- Build the server:
npm run build
Important: Please restart your IDE after building the project for changes to take effect.
Configuration
Add the server to your MCP configuration:
For Cline/RooCode Extension:
{
"mcpServers": {
"perplexity-server": {
"command": "node",
"args": [
"/path/to/perplexity-mcp-server/build/index.js"
],
"env": {},
"disabled": false,
"alwaysAllow": ["search"]
}
}
}
For Claude Desktop:
{
"mcpServers": {
"web-search": {
"command": "node",
"args": ["/path/to/web-search/build/index.js"],
"env": {}
}
}
}
Usage
# Start the server
npm start
Credits
Thanks DaInfernalCoder:
Disclaimer
This project is intended for educational and research purposes only. The author does not endorse or encourage any unauthorized automation of web services. Use responsibly!