Cover image
Try Now
2025-03-05

3 years

Works with Finder

1

Github Watches

3

Github Forks

2

Github Stars

Perplexity MCP Server

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

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

Using the Windows Batch File (Recommended)

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

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Andris Teikmanis
  • Latvian GPT assistant for developing GPT applications

  • https://hubeiqiao.com
  • IT problem solver with clear, step-by-step guidance.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Navid RezaeiSarchoghaei
  • Professional Flask/SQLAlchemy code guide. Follow: https://x.com/navid_re

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • https://cantaspinar.com
  • Summarizes videos and answers related questions.

  • Khalid kalib
  • Write professional emails

  • https://tovuti.be
  • Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven

  • ANGEL LEON
  • A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.

  • apappascs
  • Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.

  • OffchainLabs
  • GO -Umsetzung des Ethereum -Beweises des Anteils

  • oatpp
  • Die Implementierung des Modellkontextprotokolls von Anthropic für OAT ++

  • huahuayu
  • Ein einheitliches API-Gateway zur Integration mehrerer Ethercan-ähnlicher Blockchain-Explorer-APIs mit Modellkontextprotokoll (MCP) für AI-Assistenten.

  • deemkeen
  • Steuern Sie Ihren MBOT2 mit einer Power Combo: MQTT+MCP+LLM

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Message Connector Protocol )服务 , 提供了与钉钉企业应用交互的 api 接口。项目基于 Go 语言开发 , 支持员工信息查询和消息发送等功能。

    Reviews

    5 (1)
    Avatar
    user_TioFgARe
    2025-04-16

    I have been using MCP Telemetry by xprilion for a while now and it has significantly improved my server monitoring capabilities. The detailed and real-time telemetry data it provides is incomparable. It’s user-friendly and the insights are incredibly helpful for optimizing server performance. Highly recommend it! Check it out here: https://mcp.so/server/mcp-telemetry/xprilion