Sonar Pro Search MCP Server
Provides tools to perform intelligent web search, conversational Q&A, deep research, and complex reasoning using Perplexity Sonar Pro via OpenRouter, with automatic citations.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
🌐 Sonar Pro Search MCP Server
Professional MCP server for intelligent web search using Perplexity Sonar Pro through OpenRouter
Overview
Sonar Pro Search MCP Server is a production-ready Model Context Protocol server that provides Claude with advanced web search capabilities through Perplexity's Sonar Pro API (via OpenRouter).
Key Features
✅ Real-time Information - Access to current web data
✅ Intelligent Search - AI-powered search with automatic citations
✅ 4 Specialized Tools - From quick search to deep research
✅ Docker Ready - Easy installation and deployment
✅ Production Quality - Error handling, limits, logging
✅ Well Documented - Complete documentation in Polish and English
Related MCP server: Perplexity Search MCP Server
Quick Start
Requirements
Docker Desktop installed and running
OpenRouter API key (free tier available)
Claude Desktop (for integration)
3 Steps to Launch
# 1. Setup - check environment and create .env
./sonar_docker.sh setup
# 2. Build - build Docker image
./sonar_docker.sh build
# 3. Start - run server
./sonar_docker.sh startThat's it! 🎉 Server is ready to use.
Available Tools
1. sonar_search - Basic Web Search
Quick, standard, or detailed search with citations.
2. sonar_ask - Conversational Q&A
Ask questions with optional context for personalized answers.
3. sonar_research - Deep Research
Comprehensive research with up to 6000 tokens and focus areas.
4. sonar_reason - Complex Reasoning
Step-by-step analysis for technical decisions and complex problems.
Configuration
Get API Key
Visit: https://openrouter.ai/keys
Login (GitHub/Google)
Create key
Copy key (starts with
sk-or-v1-...)
Configure Environment
# Copy example
cp .env.example .env
# Edit and add your key
nano .envClaude Desktop Setup
macOS:
nano ~/Library/Application\ Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonAdd configuration:
{
"mcpServers": {
"sonar-pro-search": {
"command": "docker",
"args": [
"exec",
"-i",
"sonar-mcp-server",
"python",
"sonar_mcp_server.py"
],
"env": {}
}
}
}Restart Claude Desktop.
Management Commands
# Server status
./sonar_docker.sh status
# View logs
./sonar_docker.sh logs
# Restart
./sonar_docker.sh restart
# Test health
./sonar_docker.sh test
# Help
./sonar_docker.sh helpDocumentation
README_PL.md - Complete Polish documentation
DOCKER_QUICK_START_PL.md - 5-minute quick start (Polish)
OpenRouter Docs: https://openrouter.ai/docs
MCP Docs: https://modelcontextprotocol.io/
Troubleshooting
Server Won't Start
# Check logs
./sonar_docker.sh logs
# Verify Docker is running
docker psAPI Key Error
Edit .env and verify your OpenRouter API key:
./sonar_docker.sh configRate Limit (429)
Wait a few minutes
Consider upgrading OpenRouter plan
Use lower
max_tokens
Claude Doesn't See Tools
Check server status:
./sonar_docker.sh statusVerify configuration in
claude_desktop_config.jsonRestart Claude Desktop completely
Costs
Free Tier:
10 requests/minute
Perfect for testing and personal use
Paid Plans:
~$0.001-0.003 per request
Higher rate limits
Security
✅ Never commit .env file
✅ Use .env.example as template
✅ Rotate keys regularly
✅ Monitor usage on OpenRouter dashboard
License
MIT License - See LICENSE for details
Support
OpenRouter Support: https://openrouter.ai/
MCP Documentation: https://modelcontextprotocol.io/
Docker Help: https://docs.docker.com/
Ready to search the web! 🚀🌐✨
For complete documentation in Polish, see README_PL.md
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Enable AI assistants to perform web searches using Perplexity's Sonar Pro.
Real-time web search, reasoning, and research through Perplexity's API
Agent personas for Claude. 16 tools, 13 personas, 3 workflows. Zero extra API cost. Free.
Perplexity Sonar answers with numbered citations in bulk, plus brand, competitor and change checks
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceIntegrates the Sonar API to provide Claude with real-time web-wide research capabilities. Enables conversational web searches through Perplexity's AI-powered search engine for up-to-date information retrieval.MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables real-time web search with source citations by leveraging Perplexity AI's Sonar models through SAP AI Core. It integrates with Claude Code to provide deep analysis, reasoning, and up-to-date information from the web.2-
- AlicenseNot gradedqualityDmaintenanceExposes Perplexity AI's search capabilities to Claude, enabling real-time web search and information retrieval within the assistant. The project is currently in active development with plans to support Perplexity Spaces and multi-source data synthesis.Apache 2.0
- AlicenseAqualityDmaintenanceIntegrates Perplexity AI's search and research capabilities into Claude Code, enabling web-grounded answers, deep research, code review, and more with real-time citations.94MIT