MCP-servers
@rascal-3
This is "a" version focued on enabling to web browsing from Claude app of model context procol projects.
Overview
What is MCP-servers?
MCP-servers is a collection focused on enabling web browsing from the Claude app using the Model Context Protocol. It includes the Perplexity Ask MCP server, which integrates the Sonar API to provide Claude with real-time, web-wide research capabilities.
How to use MCP-servers?
Clone the repository, navigate to servers/src/perplexity-ask, and install dependencies. Obtain a Sonar API key, set it as the PERPLEXITY_API_KEY environment variable, and configure Claude Desktop by adding the perplexity-ask server to claude_desktop_config.json using Docker or npx. Build the Docker image if using Docker, and test by looking for the hammer icon in Claude.
Key features of MCP-servers
- Integrates Sonar API for real-time web searches.
- Provides the
perplexity_asktool for conversational queries. - Supports Docker and npx deployment methods.
- Requires a
PERPLEXITY_API_KEYenvironment variable. - Allows modification of search parameters via
index.ts. - Licensed under the MIT License.
Use cases of MCP-servers
- Enable Claude to perform live web searches for up-to-date information.
- Research any topic by asking Claude to use Perplexity.
- Integrate web browsing capabilities into Claude desktop workflows.
- Customize search parameters for specialized queries.
FAQ from MCP-servers
What is the Sonar API and how do I get an API key?
The Sonar API is used for live web searches. You need to sign up for a Sonar API account, follow setup instructions, and generate an API key from the developer dashboard. Set it as the PERPLEXITY_API_KEY environment variable.
What are the configuration options for Claude Desktop?
You can add the perplexity-ask server to claude_desktop_config.json using either Docker (with the image mcp/perplexity-ask) or npx (using server-perplexity-ask). Both require the PERPLEXITY_API_KEY environment variable.
How can I customize the search parameters?
You can modify any search parameter in the API call directly in the index.ts script. Refer to the official Perplexity API documentation for available parameters.
What if I encounter issues during setup?
Refer to the Claude troubleshooting guide at modelcontextprotocol.io/docs/tools/debugging, contact Perplexity support at [email protected], or file a bug on GitHub.
What license is this server under?
This MCP server is licensed under the MIT License.