Perplexity Search MCP Server
Enables real-time web search capabilities using Perplexity's Sonar models, providing detailed answers with numbered source citations and search results.
Leverages SAP AI Core infrastructure to access and run Perplexity AI models through a local proxy server.
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.
Perplexity Search MCP Skill
A Claude Code skill that enables web search using Perplexity AI through SAP AI Core.
Overview
This skill provides real-time web search capabilities with source citations by leveraging Perplexity's Sonar models deployed on SAP AI Core. It works as an MCP (Model Context Protocol) server that integrates seamlessly with Claude Code.
Prerequisites
Node.js >= 18.0.0
sap-ai-proxy running locally (default: http://127.0.0.1:3030)
Perplexity model deployed in SAP AI Core (e.g.,
sonar-pro)
Installation
1. Clone and Build
git clone <repo-url> perplexity-skill
cd perplexity-skill
npm install
npm run build2. Install the Skill
npm run install-skillThis will:
Add the MCP server to
~/.claude/mcp.jsonInstall the skill definition to
~/.claude/skills/perplexity/
3. Restart Claude Code
Restart Claude Code to load the new MCP server.
Configuration
Environment Variables
Variable | Default | Description |
|
| URL of the sap-ai-proxy server |
|
| Default Perplexity model to use |
To customize, edit the env section in ~/.claude/mcp.json:
{
"mcpServers": {
"perplexity-search": {
"command": "node",
"args": ["/path/to/perplexity-skill/dist/index.js"],
"env": {
"SAP_AI_PROXY_URL": "http://127.0.0.1:3030",
"PERPLEXITY_DEFAULT_MODEL": "sonar-pro"
}
}
}
}Usage
Explicit Invocation
/perplexity What are the latest developments in AI?Natural Language
The skill automatically triggers for web search queries:
What happened in tech news today?
What's the current price of Bitcoin?Available Tools
perplexity_web_search
Full-featured web search with all configuration options.
Parameters:
query(required): The search querymodel(optional):sonar|sonar-pro|sonar-reasoningsearch_recency_filter(optional):day|week|month|yearreturn_citations(optional): boolean (default:true)
perplexity_quick_search
Simplified search for quick queries.
Parameters:
query(required): The search query
Supported Models
Model | Description |
| Fast real-time web search |
| Enhanced reasoning with citations |
| Deep analysis and reasoning |
Response Format
Responses include:
Main answer content
Source citations (numbered URLs)
Search results with titles and snippets
Example output:
**The capital of France is Paris.**
Paris has served as the capital since 1944...
---
**Sources:**
1. https://en.wikipedia.org/wiki/Paris
2. https://www.britannica.com/place/Paris
**Search Results:**
1. [Paris - Wikipedia](https://en.wikipedia.org/wiki/Paris)
Paris is the capital and largest city of France...Uninstallation
npm run uninstall-skillThen restart Claude Code.
Architecture
Claude Code → MCP Server (stdio) → sap-ai-proxy:3030 → SAP AI Core (Perplexity)Troubleshooting
"Model sonar-pro is not available"
Ensure the Perplexity model is deployed in SAP AI Core
Restart sap-ai-proxy to refresh the deployment cache
Verify with:
curl http://127.0.0.1:3030/v1/models
MCP Server Not Loading
Check
~/.claude/mcp.jsonconfigurationEnsure
dist/index.jsexists (runnpm run build)Restart Claude Code
Connection Refused
Ensure sap-ai-proxy is running:
cd /path/to/sap-ai-proxy
npm startDevelopment
# Watch mode for development
npm run dev
# Test the MCP server
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | node dist/index.jsLicense
MIT
Available Tools
2 toolsperplexity_quick_searchA
Quick web search using Perplexity AI. Use this for simple queries when you need fast, real-time information with minimal configuration.
Inputs: query (required).
perplexity_web_searchA
Search the web using Perplexity AI with real-time information and citations. Use this for comprehensive web searches that require up-to-date information, research, and source citations.
Inputs: query (required), model, search_recency_filter, return_citations.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
TDQS
Scored across 2 tools
The two tools have overlapping purposes—both perform web searches using Perplexity AI—but their descriptions help differentiate them: one is for 'simple queries' with 'fast, real-time information,' while the other is for 'comprehensive web searches' with 'citations.' However, the distinction is subtle and could still lead to confusion, as both essentially search the web with real-time data.
The tool names follow a consistent pattern: both use 'perplexity_' prefix and 'search' suffix, with descriptive adjectives ('quick' vs. 'web') to differentiate them. This clear and predictable naming convention makes it easy to understand their roles within the server.
With only two tools, the server feels under-scoped for a search domain, as it lacks operations like filtering results, saving searches, or managing search history. While the tools cover basic search functionality, the count is too low to provide a robust or complete search experience.
The server is severely incomplete for a search domain; it only offers two search variants without any supporting operations such as result pagination, query refinement, or citation management. This creates significant gaps that will limit an agent's ability to handle complex search tasks effectively.
Related MCP Connectors
Real-time web search, reasoning, and research through Perplexity's API
Enable AI assistants to perform web searches using Perplexity's Sonar Pro.
Provides AI assistants with access to Seltz's powerful Web Search capabilities.
Web search, scraping, Google Trends and data lookups. Paid per call in USDC on Base via x402.