
Perplexity AI
STDIOMCP server integrating Perplexity AI for advanced search with multiple models
MCP server integrating Perplexity AI for advanced search with multiple models
An MCP server implementation that integrates Perplexity AI's API, providing advanced search capabilities with multiple model options.
pnpm install pnpm build
export PERPLEXITY_API_KEY=your_api_key_here
node dist/index.js # or if you made it executable ./dist/index.js
pnpm dev
pnpm inspect
Performs a search using Perplexity AI's models.
Parameters:
query
(string, required): The search querymodel
(string, optional): Model to use (default: "sonar")
count
(number, optional): Number of results (1-10, default: 5)src/perplexity/
├── index.ts # Main server implementation
├── lib/
│ └── logger.ts # Logging configuration
└── adr.md # Architectural decisions
Logs are written to perplexity-mcp.log
in the project root directory.
MIT