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

66 lines (65 loc) 1.81 kB
{ "name": "perplexity-mcp-server", "version": "1.2.1", "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": { "@hono/node-server": "^1.17.1", "@modelcontextprotocol/sdk": "^1.16.0", "@types/node": "^24.0.15", "@types/sanitize-html": "^2.16.0", "@types/validator": "13.15.2", "axios": "^1.10.0", "chrono-node": "^2.8.3", "dotenv": "^16.4.7", "hono": "^4.8.5", "ignore": "^7.0.5", "jose": "^6.0.12", "node-cron": "^4.2.1", "openai": "^5.10.1", "partial-json": "^0.1.7", "sanitize-html": "^2.17.0", "tiktoken": "^1.0.21", "ts-node": "^10.9.2", "typescript": "^5.8.3", "validator": "13.15.15", "winston": "^3.17.0", "zod": "^3.25.74" }, "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" }