Perplexity MCP Server

Advanced MCP tool for Perplexity and OpenRouter API integration. Supports both simple and complex queries with file attachments. Built with AI-first

Local serverstdioPython

What is the Perplexity MCP Server?

Advanced MCP tool for Perplexity and OpenRouter API integration. Supports both simple and complex queries with file attachments. Built with AI-first development

What you get

For example, let's suppose we want to find out the latest version of Python. 1. You would search on Google. 2. Then read the top two or three results directly to verify.

  • Unified API Client: — Supports both OpenRouter and Perplexity APIs with configurable models for handling simple and complex queries
  • Command-Line Interface (CLI): — Manage API key configuration and run the MCP server using Typer
  • Advanced Query Processing: — Incorporates file attachment processing, allowing you to include contextual data in your queries
  • Robust Retry Mechanism: — Utilizes Tenacity for retry logic to ensure consistent and reliable API communications
  • Customizable Logging: — Flexible logging configuration for detailed debugging and runtime monitoring

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

VariableDescriptionRequired
OPENROUTER_API_KEYCredential the server authenticates with.Yes
PERPLEXITY_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

Advanced MCP tool for Perplexity and OpenRouter API integration. Supports both simple and complex queries with file attachments. Built with AI-first development Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.