Skip to main content
Glama
spragginsdesigns

Perplexity MCP Server

Perplexity MCP Server

This is a simple MCP server that allows you to search the web using Perplexity AI.

MCP Review Certified: https://mcpreview.com/mcp-servers/spragginsdesigns/perplexity-mcp-server

Related MCP server: Tavily MCP Server

Installation

Prerequisites

Steps for Windows

  1. Clone the repository:

git clone [repository-url]
cd perplexity-mcp-server
  1. Install dependencies:

npm install
  1. Create environment file:

    • Create a new file named .env in the root directory

    • Add your Perplexity AI API key:

    PERPLEXITY_API_KEY=your_api_key_here

Usage on Windows

Development Mode

npm run dev

Production Mode

  1. Build the project:

npm run build
  1. Start the server:

npm start

To avoid environment variable issues on Windows, use the included batch file:

  1. Build the project first:

npm run build
  1. Run the batch file:

.\run-perplexity-server.bat

Alternatively, double-click the run-perplexity-server.bat file in Windows Explorer.

For detailed instructions, see the Windows Setup Guide.

Troubleshooting Windows Issues

Common Issues

  1. Permission Errors

    • Run Command Prompt or PowerShell as Administrator

    • Check file permissions in the project directory

  2. Environment Variables

    • Ensure .env file is in the root directory

    • No spaces around the = sign in .env file

    • Restart terminal after making changes to environment variables

    • Use the provided batch file to avoid environment variable issues

  3. Node.js Issues

    • Verify Node.js installation: node --version

    • Ensure npm is installed: npm --version

Error Messages

If you see Error: ENOENT: no such file or directory, ensure:

  • All paths use correct Windows-style separators

  • You're in the correct directory

  • Required files exist

Project Structure

perplexity-mcp-server/
├── src/
│   └── index.ts          # Main server implementation
├── dist/                 # Compiled output
├── .env                  # Environment variables
├── package.json          # Project configuration
├── run-perplexity-server.bat # Windows batch file
└── tsconfig.json         # TypeScript configuration

API Usage

The server provides a single tool perplexity_search for web searches:

{
  "name": "perplexity_search",
  "arguments": {
    "query": "your search query here"
  }
}

License

MIT

Available Tools

1 tool

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 1 tool update
    • First observedperplexity_search

TDQS

B3.2/5.0
Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool has a clear and distinct purpose, making it impossible for an agent to misselect between multiple options.

Naming Consistency5/5

A single tool inherently has perfect naming consistency, as there are no other tools to compare it against for patterns. The name 'perplexity_search' follows a clear verb_noun format, but consistency cannot be assessed across a set of one.

Tool Count2/5

A single tool is generally too few for most server purposes, as it limits functionality and flexibility. For a web search server, this minimal scope might suffice for basic queries, but it feels thin and lacks auxiliary operations like filtering or advanced search options.

Completeness3/5

The server's purpose appears to be web search, and the single tool covers the core action of searching. However, there are notable gaps, such as no tools for refining searches, handling different search types (e.g., news, images), or managing search history, which could lead to agent workarounds or limitations.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    This server enables AI systems to integrate with Tavily's search and data extraction tools, providing real-time web information access and domain-specific searches.
    4
    20,899
    2,370
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    A Type 3 DAuth MCP server for Perplexity AI API that provides web search, chat, embeddings, and content moderation using Perplexity's search-focused AI models.
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/spragginsdesigns/perplexity-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server