Skip to main content
Glama
freelancernasimofficial

NasCoder Perplexity MCP Ultra-Pro

NasCoder Perplexity MCP - Ultra Pro 2.0

🧠 FIXED 2025 EDITION - Advanced Perplexity AI integration with correct API models and comprehensive features.

Features

Correct 2025 Perplexity API models

  • sonar-pro - Advanced reasoning and search

  • sonar - Standard search model

  • sonar-deep-research - Deep research capabilities

  • sonar-reasoning-pro - Advanced reasoning

  • sonar-reasoning - Standard reasoning

  • r1-1776 - Specialized model

Advanced Capabilities

  • Intelligent caching system

  • Rate limiting protection

  • Real-time analytics

  • Advanced search parameters

  • Response formatting options

  • Error handling and retry logic

Related MCP server: Perplexity MCP Server

Installation

npm install nascoder-perplexity-mcp

Environment Setup

Set your Perplexity API key:

export PERPLEXITY_API_KEY="YOUR_API_KEY_HERE"

Usage

Basic Usage

// Start the MCP server
node index.js

// Or use with npx
npx nascoder-perplexity-mcp

With MCP Clients

The MCP server integrates seamlessly with various MCP clients. Once configured, you can use it with:

# Ask a question using Perplexity AI
# Use specific models for different tasks
# Get analytics and performance metrics

Available Tools

1. perplexity_ask_pro

Advanced AI-powered search and research with multiple models.

{
  "messages": [{"role": "user", "content": "What is quantum computing?"}],
  "model": "sonar-pro",
  "options": {
    "maxTokens": 2000,
    "temperature": 0.2,
    "searchMode": "academic",
    "returnImages": true
  }
}

2. perplexity_models

List all available Perplexity models with descriptions.

3. perplexity_analytics

Get detailed performance metrics and usage statistics.

4. perplexity_cache_clear

Clear the response cache to force fresh API calls.

MCP Configuration

Add to your MCP client configuration:

{
  "mcpServers": {
    "nascoder-perplexity": {
      "command": "npx",
      "args": ["nascoder-perplexity-mcp"],
      "env": {
        "PERPLEXITY_API_KEY": "YOUR_API_KEY_HERE"
      },
      "timeout": 30000,
      "disabled": false
    }
  }
}

Security

  • ✅ No hardcoded API keys

  • ✅ Environment variable validation

  • ✅ Secure credential handling

  • ✅ Rate limiting protection

Testing

Run real functional tests:

node test-tools.js

Support

Built with ❤️ by NasCoder (@freelancernasimofficial)

Available Tools

4 tools
perplexity_analyticsB

Get detailed analytics and performance metrics for the Perplexity MCP server

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool 'gets' analytics and metrics, implying a read-only operation, but doesn't disclose any behavioral traits such as authentication requirements, rate limits, data freshness, or potential side effects (e.g., if it triggers data collection). The description is too vague to inform the agent about how the tool behaves beyond its basic purpose.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence: 'Get detailed analytics and performance metrics for the Perplexity MCP server.' It is front-loaded with the core purpose, uses clear language, and contains no redundant or unnecessary information. Every word earns its place by specifying what is retrieved and for what scope.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (0 parameters, no output schema, no annotations), the description is minimally complete. It states what the tool does but lacks details on usage guidelines, behavioral transparency, or output expectations. While it covers the basic purpose adequately, it doesn't provide enough context for an agent to fully understand when and how to use this tool effectively, especially compared to siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters, and the schema description coverage is 100% (since there are no parameters to describe). In such cases, the baseline score is 4, as there are no parameters for the description to compensate for or add meaning beyond the schema. The description doesn't need to discuss parameters, and it appropriately avoids doing so.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Get detailed analytics and performance metrics for the Perplexity MCP server.' It uses a specific verb ('Get') and identifies the resource ('analytics and performance metrics') with a clear scope ('for the Perplexity MCP server'). However, it doesn't explicitly differentiate from sibling tools like perplexity_ask_pro or perplexity_models, which might also provide some metrics or data.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention any prerequisites, context for usage, or exclusions. For example, it doesn't clarify if this is for monitoring server health, debugging, or general reporting, or how it differs from perplexity_ask_pro which might handle queries. This lack of guidance leaves the agent with minimal context for tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

perplexity_ask_proC

Ultra-Pro Perplexity API with CORRECT 2025 models, full structured responses, caching, and advanced features. Supports search, research, reasoning, and offline models with proper parameters.

ParametersJSON Schema
NameRequiredDescriptionDefault
messagesYesArray of conversation messages
modelNoPerplexity model to use (2025 correct models only)sonar-pro
formatNoResponse format typefull
optionsNoAdvanced options for the API call

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions 'caching' and 'full structured responses,' which hints at performance and output format, but lacks critical details like rate limits, authentication requirements, error handling, or whether this is a read-only or mutating operation. For a complex API tool with multiple parameters, this is insufficient behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads key features (CORRECT 2025 models, structured responses, caching, advanced features) and ends with supported capabilities. It avoids redundancy, though it could be slightly more structured by separating features from use cases.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (4 parameters with nested objects, no output schema, and no annotations), the description is inadequate. It doesn't explain return values, error conditions, or how the 'advanced features' map to the options parameter. For a sophisticated API tool, more context is needed to guide effective use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description adds minimal value beyond the schema by vaguely referencing 'proper parameters' and 'advanced features,' but doesn't explain parameter interactions, default behaviors, or practical usage examples. This meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states this is an 'Ultra-Pro Perplexity API' that 'supports search, research, reasoning, and offline models with proper parameters,' which specifies the verb (API interaction) and resource (Perplexity models). However, it doesn't explicitly differentiate from sibling tools like perplexity_analytics or perplexity_models, which likely serve different purposes (analytics vs. model queries vs. this general API tool).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description mentions 'advanced features' and lists supported capabilities (search, research, reasoning, offline models), but provides no explicit guidance on when to use this tool versus alternatives like perplexity_analytics or perplexity_models. There's no mention of prerequisites, exclusions, or specific contexts where this tool is preferred over others.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

perplexity_cache_clearB

Clear the response cache to force fresh API calls

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool clears a cache to force fresh API calls, which implies a mutation operation, but doesn't disclose potential side effects (e.g., performance impact, data loss), permissions required, or rate limits. This leaves significant gaps in understanding the tool's behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without any wasted words. It's front-loaded and appropriately sized for a simple tool with no parameters.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (0 parameters, no output schema, no annotations), the description is adequate but incomplete. It explains what the tool does but lacks details on behavioral aspects like side effects or usage context, which are important for a cache-clearing operation that could impact system performance.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description appropriately doesn't discuss parameters, focusing instead on the tool's purpose. This meets the baseline for tools with no parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Clear') and the target resource ('response cache'), with the purpose being to 'force fresh API calls'. It's specific about what the tool does, though it doesn't explicitly differentiate from sibling tools like perplexity_analytics or perplexity_models, which appear to be unrelated operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when fresh API calls are needed, but provides no explicit guidance on when to use this tool versus alternatives or any prerequisites. There's no mention of when-not-to-use scenarios or how it relates to sibling tools, leaving the agent to infer context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

perplexity_modelsB

List available Perplexity models with descriptions (2025 correct models)

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It mentions 'List' and 'descriptions', implying a read-only operation, but doesn't disclose behavioral traits like whether it requires authentication, has rate limits, returns structured data, or handles errors. The '(2025 correct models)' hints at up-to-date information but lacks operational details.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose ('List available Perplexity models with descriptions') and adds a clarifying note ('2025 correct models'). Every word earns its place, with no redundancy or waste, making it highly concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity (0 parameters, no output schema, no annotations), the description is adequate but has gaps. It covers the basic purpose but lacks behavioral context (e.g., read-only nature, response format) and usage guidelines. Without annotations or output schema, more detail on what the list includes would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters, with schema description coverage at 100%. The description doesn't need to add parameter semantics, as there are none to document. Baseline for 0 parameters is 4, as the description appropriately focuses on the tool's purpose without unnecessary parameter details.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'List available Perplexity models with descriptions'. It specifies the verb ('List'), resource ('Perplexity models'), and scope ('with descriptions'), though it doesn't explicitly differentiate from sibling tools like perplexity_analytics or perplexity_ask_pro. The '(2025 correct models)' adds temporal accuracy but doesn't enhance core purpose clarity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools (e.g., perplexity_ask_pro for querying models) or suggest scenarios where listing models is appropriate, such as before selecting one for a task. Usage is implied by the purpose but not explicitly stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 4 tool updates
    • First observedperplexity_analytics
    • First observedperplexity_ask_pro
    • First observedperplexity_cache_clear
    • First observedperplexity_models

TDQS

A3.5/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: analytics for metrics, ask_pro for querying, cache_clear for cache management, and models for listing models. There is no overlap in functionality, making it easy for an agent to select the correct tool without confusion.

Naming Consistency5/5

All tool names follow a consistent 'perplexity_' prefix with descriptive suffixes (analytics, ask_pro, cache_clear, models), using snake_case uniformly. This predictable pattern enhances readability and agent usability.

Tool Count5/5

With 4 tools, the server is well-scoped for its purpose of interacting with Perplexity MCP services. Each tool serves a distinct and necessary function, avoiding bloat while covering core operations like querying, analytics, cache management, and model listing.

Completeness4/5

The tool set covers key aspects of the Perplexity MCP domain, including querying (ask_pro), analytics, cache management, and model discovery. A minor gap might be the lack of tools for configuration updates or error handling, but agents can likely work around this with the provided tools.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    An MCP server integrating Perplexity AI's API to offer advanced search capabilities with support for multiple models and result configuration.
    1
    1,014
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that enables Claude to perform web searches using Perplexity's API with intelligent model selection based on query intent and support for domain and recency filtering.
    6
    4
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A comprehensive MCP server that provides intelligent access to Perplexity AI's search and reasoning models with automatic model selection, conversation management, and project-aware storage. Supports real-time search, deep research, chat sessions, and async operations for complex queries.
    29
    3
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/freelancernasimofficial/nascoder-perplexity-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server