UNPKG

perplexity-mcp-server

Version:

A Perplexity API Model Context Protocol (MCP) server that unlocks Perplexity's search-augmented AI capabilities for LLM agents. Features robust error handling, secure input validation, and transparent reasoning with the showThinking parameter. Built with

58 lines (57 loc) 1.6 kB
{ "name": "perplexity-mcp-server", "version": "1.0.0", "description": "A Perplexity API Model Context Protocol (MCP) server that unlocks Perplexity's search-augmented AI capabilities for LLM agents. Features robust error handling, secure input validation, and transparent reasoning with the showThinking parameter. Built with type safety, modular architecture, and production-ready utilities.", "main": "dist/index.js", "files": [ "dist" ], "type": "module", "scripts": { "build": "tsc", "clean": "ts-node scripts/clean.ts", "rebuild": "npm run clean && npm run build", "tree": "ts-node --esm scripts/tree.ts", "start": "node dist/index.js" }, "dependencies": { "@modelcontextprotocol/sdk": "^1.8.0", "@types/node": "^22.13.16", "@types/sanitize-html": "^2.15.0", "@types/validator": "13.12.3", "axios": "^1.8.4", "dotenv": "^16.4.7", "sanitize-html": "^2.15.0", "ts-node": "^10.9.2", "typescript": "^5.8.2", "validator": "13.15.0", "winston": "^3.17.0", "winston-daily-rotate-file": "^5.0.0", "zod": "^3.24.2" }, "keywords": [ "typescript", "MCP", "model-context-protocol", "perplexity", "perplexity-ai", "mcp-server", "AI", "LLM", "AI-integration", "server", "search-augmented-generation", "SAG", "rate-limiting", "error-handling", "structured-logging", "input-sanitization", "type-safety", "cost-tracking", "API-client", "reasoning", "web-search" ], "author": "Casey Hand @cyanheads", "license": "Apache-2.0" }