Perplexity MCP Server
The Perplexity MCP Server provides AI-powered research capabilities through browser automation of Perplexity's web interface, offering intelligent web research, persistent conversations, and developer tooling without API key requirements.
Key Capabilities:
Intelligent Web Research: Perform deep searches and get detailed summaries on any topic without API limitations
Persistent Conversations: Maintain context across multi-turn interactions with local SQLite chat storage
Content Extraction: Parse clean article text from URLs, handle dynamic JavaScript pages, and automatically parse GitHub repositories
Developer Tooling: Retrieve technical documentation, discover and compare APIs, and analyze code for deprecated patterns
Enhanced Privacy: All processing and conversation history handled locally for greater data privacy
Available Tools:
search: Configurable research queriesget_documentation: Technical documentation with examplesfind_apis: API discovery for development needscheck_deprecated_code: Code analysis for technical debtextract_url_content: Web content parsing with GitHub integrationchat_perplexity: Context-aware persistent conversations
Technical Advantages: Keyless operation, cost-free usage, local data processing, and SQLite-based history storage.
Provides AI-powered research capabilities through Perplexity's infrastructure without using any API key. Enables web searches, documentation retrieval, API discovery, code analysis, and persistent chat functionality using Perplexity AI.
Offers TypeScript-first implementation as a core feature of the MCP server.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Perplexity MCP Server research the latest advancements in quantum computing and summarize key breakthroughs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Perplexity MCP Zerver
A minimalist research server implementing the Model Context Protocol (MCP) to deliver AI-powered research capabilities through Perplexity's web interface.
Research Capabilities
Intelligent Web Research: Search and summarize content without API limits
Persistent Conversations: Maintain context with local SQLite chat storage
Content Extraction: Clean article extraction with GitHub repository parsing
Developer Tooling: Documentation retrieval, API discovery, code analysis
Keyless Operation: Browser automation replaces API key requirements
Related MCP server: Perplexity AI MCP Server
Available Tools
Search (search)
Perform research queries with configurable depth
Returns raw text results
Get Documentation (get_documentation)
Retrieve technical documentation with examples
Returns structured documentation
Find APIs (find_apis)
Discover relevant APIs for development needs
Returns API listings and descriptions
Check Deprecated Code (check_deprecated_code)
Analyze code snippets for outdated patterns
Returns analysis report
Extract URL Content (extract_url_content)
Parse web content with automatic GitHub handling
Returns structured content metadata
Chat (chat_perplexity)
Persistent conversations with context history
Returns conversation state in JSON format
Getting Started
Prerequisites
Bun runtime
Node.js 18+ (for TypeScript compilation)
Installation
git clone https://github.com/wysh3/perplexity-mcp-zerver.git
cd perplexity-mcp-zerver
bun install
bun run buildConfiguration
Add to your MCP configuration file:
{
"mcpServers": {
"perplexity-server": {
"command": "bun",
"args": ["/absolute/path/to/build/main.js"],
"timeout": 300
}
}
}Usage
Initiate commands through your MCP client:
"Use perplexity to research quantum computing advancements"
"Ask perplexity-server for React 18 documentation"
"Begin conversation with perplexity about neural networks"
🔐 Pro Account Support (Optional)
Use your Perplexity Pro subscription for access to better models (GPT-5.1, Claude Sonnet 4.5) and higher limits.
One-Time Setup
bun run build
bun run loginA browser window will open. Log in using email (recommended for best compatibility), then close the browser. Your session is now saved!
Note: Google/SSO login may work but email login is more reliable with the browser automation.
Environment Variables
Variable | Default | Description |
|
| Browser profile directory |
|
| Set to |
Technical Comparison
Feature | This Implementation | Traditional APIs |
Authentication | None required | API keys |
Cost | Free | Usage-based |
Data Privacy | Local processing | Remote servers |
GitHub Integration | Native support | Limited |
History Persistence | SQLite storage | Session-based |
Troubleshooting
Server Connection Issues
Verify absolute path in configuration
Confirm Node.js installation with
node -vEnsure build completed successfully
Content Extraction
GitHub paths must use full repository URLs
Adjust link recursion depth in source configuration
Origins & License
based on - DaInfernalCoder/perplexity-researcher-mcp
refactored from - sm-moshi/docshunter
Licensed under GNU GPL v3.0 - View License
This project interfaces with Perplexity via browser automation. Use responsibly and ethically. Stability depends on Perplexity's website consistency. Educational use only.
Available Tools
6 toolschat_perplexityB
Automatically call this tool for interactive, conversational queries. This tool leverages Perplexitys web search capabilities to provide real-time information and maintains conversation history using an optional chat ID for contextual follow-ups.
Inputs: message (required), chat_id. Returns: Describes the structure of the JSON object returned within the response text fi…
check_deprecated_codeA
Automatically call this tool when reviewing legacy code, planning upgrades, or encountering warnings with real time web access. Helps identify technical debt. Example: During code reviews or before upgrading dependencies.
Inputs: code (required), technology. Returns: response
extract_url_contentA
Uses browser automation (Puppeteer) and Mozilla's Readability library to extract the main article text content from a given URL. Handles dynamic JavaScript rendering and includes fallback logic. For GitHub repository URLs, it attempts to fetch structured content via gitingest.com. Performs a pre-check for non-HTML content types and checks HTTP status after navigation. Ideal for getting clean text from articles/blog posts. Note: May struggle to isolate only core content on complex homepages or dashboards, potentially including UI elements.
Inputs: url (required), depth. Returns: Returns a JSON object with extraction status and content for the URL(s) explore…
find_apisB
Automatically call this tool when needing external services or real time current data (like API info, latest versions, etc.) from web. Compares options based on requirements. Example: When building a shopping site, ask "Find product image APIs with free tiers".
Inputs: requirement (required), context. Returns: response
get_documentationA
Automatically call this tool when working with unfamiliar APIs/libraries, needing usage examples, or checking version specifics as this can access web. Example: When adding a payment gateway, ask "Get Stripe API documentation for creating charges".
Inputs: query (required), context. Returns: response
searchB
Performs a web search using Perplexity AI based on the provided query and desired detail level. Useful for general knowledge questions, finding information, or getting different perspectives.
Inputs: query (required), detail_level, stream. Returns: response
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
The tools have distinct primary purposes (e.g., chat, code review, content extraction, API discovery, documentation lookup, general search), but there is some functional overlap. For instance, 'chat_perplexity' and 'search' both perform web searches, and 'find_apis' and 'get_documentation' both relate to API information, which could cause confusion for an agent in selecting the most appropriate tool for a given task.
Most tool names follow a consistent verb_noun pattern (e.g., 'extract_url_content', 'find_apis', 'get_documentation', 'check_deprecated_code'), which aids readability. However, 'chat_perplexity' deviates slightly by using a noun_verb structure, and 'search' is a standalone verb without a noun, creating minor inconsistencies in the naming convention.
With 6 tools, the count is well-scoped for a server focused on web-based information retrieval and code assistance. Each tool appears to serve a specific function within this domain, avoiding bloat while covering key areas like conversation, search, content extraction, and technical support, making the set manageable and purposeful.
The tool set covers a broad range of web interaction and code-related tasks, including conversational search, content extraction, API discovery, documentation access, and code review. A minor gap exists in lacking explicit tools for updating or managing retrieved information (e.g., saving or organizing results), but agents can likely work around this using the provided tools effectively for most workflows.
Maintenance
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
An MCP server that gives your AI access to the source code and docs of all public github repos
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP Server for the Perplexity API.24 PyPI66MIT
- AlicenseBqualityDmaintenanceAn MCP server integrating Perplexity AI's API to offer advanced search capabilities with support for multiple models and result configuration.11MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI agents to perform search-augmented queries and deep multi-source research using the Perplexity API.26Apache 2.0
- AlicenseAqualityDmaintenanceAn MCP server that enables AI assistants to query Perplexity AI for web-grounded answers with citations and advanced search filters.3MIT
Appeared in Searches
- Official MCP server that runs locally without an API key or paid plan
- Search functionality without API key requirement
- A server for finding the cheapest flights for a specified date range
- Using a search engine to find evidence to answer a question
- A server for delivering personalized latest news updates