Skip to content

wysh3/perplexity-mcp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

advance perplexity mcp server

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

  1. Clone or download this repository:
git clone https://github.com/wysh3/perplexity-mcp-server.git
cd perplexity-mcp-server
  1. Install dependencies:
npm install
  1. 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!

About

MCP web search using perplexity without any API KEYS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published