MCP Perplexity Proxy Server
A Node.js proxy server that forwards OpenAI-compatible or MCP native requests to the Perplexity AI Sonar model and supports streaming.
rating : 2 points
downloads : 6
What is the MCP Perplexity Proxy Server?
This is a middleware server that allows developers to access the Perplexity AI Sonar model through an OpenAI-compatible API or the MCP native API. It simplifies the AI model integration process, especially suitable for application scenarios that require streaming responses.How to use the MCP Perplexity Proxy Server?
You can quickly deploy a local service via Docker and then send requests using the standard OpenAI API format or the MCP native API format.Use Cases
Suitable for development environments that need to quickly integrate the capabilities of Perplexity AI, especially when using development tools such as Cursor, CLine, or RooCode.Main Features
OpenAI API CompatibilityFully compatible with OpenAI's /v1/chat/completions interface, facilitating the migration of existing applications
MCP Native Streaming InterfaceProvides an /mcp-stream endpoint optimized for streaming
One-Click Docker DeploymentEnables rapid local deployment via docker-compose
Swagger UI SupportBuilt-in API documentation interface for easy testing and debugging
Advantages and Limitations
Advantages
Seamlessly integrate with existing OpenAI ecosystem tools
Support streaming to enhance the response experience
Local deployment ensures data privacy
Simplify the process of accessing Perplexity AI models
Limitations
Requires local server resources to run
Only supports the Sonar model series of Perplexity AI
The streaming interface requires special handling
How to Use
Start the Service
Start the proxy service using Docker Compose
Configure the Client
Configure the API endpoint in tools such as CLine/Cursor/RooCode
Send a Request
Send a request using the OpenAI-compatible format or the MCP native format
Usage Examples
Code ExplanationAsk the AI for explanations of programming concepts or code snippets
Development Tool IntegrationUse it as an AI assistant tool in IDEs such as Cursor
Streaming Chat ApplicationBuild a chat application that needs to display AI responses in real-time
Frequently Asked Questions
Why is this proxy service needed?
How are API keys handled?
Which Sonar models are supported?
How to monitor the service status?
Related Resources
Perplexity AI Official Documentation
Official technical documentation of Perplexity AI
OpenAI API Reference
Official reference documentation of the OpenAI API
GitHub Repository
Project source code and issue tracking
Docker Documentation
Official Docker documentation
Featured MCP Services

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
830
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
88
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
142
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
567
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
285
4.5 points