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.
<a href="https://glama.ai/mcp/servers/jmwpwn6uqh"><img width="380" height="200" src="https://glama.ai/mcp/servers/jmwpwn6uqh/badge" alt="advance perplexity mcp server" /></a>
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
Just restart the IDE and ask the llm
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!