Cover image
Try Now
2025-04-01

Model Context Protocol server implementation for Perplexity API

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

MCP Perplexity Server

A Model Context Protocol (MCP) server implementation for the Perplexity API.

Features

  • Supports both Ask and Search modes
  • Simple configuration via environment variables
  • Direct integration with MCP clients

Installation

You can use this server directly from GitHub in your MCP configuration:

{
  "perplexity-ask": {
    "command": "npx",
    "args": [
      "-y",
      "github:lostmind008/mcp-perplexity-server"
    ],
    "env": {
      "PERPLEXITY_API_KEY": "your-api-key",
      "MCP_SERVER_PORT": "3000",
      "MCP_MODE": "ask"
    }
  },
  "perplexity-search": {
    "command": "npx",
    "args": [
      "-y",
      "github:lostmind008/mcp-perplexity-server"
    ],
    "env": {
      "PERPLEXITY_API_KEY": "your-api-key",
      "MCP_SERVER_PORT": "3001",
      "MCP_MODE": "search"
    }
  }
}

Environment Variables

  • PERPLEXITY_API_KEY: Your Perplexity API key (required)
  • MCP_SERVER_PORT: Port for the MCP server (default: 3000)
  • MCP_MODE: Server mode - 'ask' or 'search' (default: 'ask')

Usage

Once configured, you can use this server with any MCP client by specifying the appropriate server name:

perplexity-ask "What is the capital of France?"
perplexity-search "Best programming languages 2025"

License

MIT

相关推荐

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

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

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

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

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

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

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://reddgr.com
  • Delivers concise Python code and interprets non-English comments

  • ariofarmani
  • Test repository for GitHub MCP server functionality

  • 1Panel-dev
  • 💬 MaxKB is an open-source AI assistant for enterprise. It seamlessly integrates RAG pipelines, supports robust workflows, and provides MCP tool-use capabilities.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

  • GLips
  • MCP server to provide Figma layout information to AI coding agents like Cursor

    Reviews

    2 (1)
    Avatar
    user_7FhKq4Pn
    2025-04-16

    I have been using the mcp-perplexity-server developed by lostmind008 and I am truly impressed. This server has significantly optimized my computational tasks with its robust performance. The clear documentation and seamless integration make it an invaluable tool for anyone working in this field. Highly recommended for professionals seeking efficiency and reliability.