Skip to main content
Glama
Perplexity Answer Reader MCP Server

Perplexity Answer Reader MCP Server

Perplexity Answer Reader MCP Server

npm version license

An MCP server for the Mamba Labs Perplexity Answer Reader actor on Apify. Perplexity answers and their cited sources, on your own key.

What's Inside

Related MCP server: Perplexity MCP Server

What it does

Give questions and your own Perplexity API key. The actor asks each question through Perplexity's Agent API with web search on and returns one row per answer: the answer text, every source Perplexity found with which ones the answer cites, the cited domains in order, and the searches it ran. Name a brand and each row also says whether the answer names it, cites its domain, and at what position. You pay Perplexity directly and this actor per completed answer.

All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:

{
  "mcpServers": {
    "mamba-perplexity-answer-reader": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-perplexity-answer-reader"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}

Restart the client. The ask_perplexity_with_sources tool appears.

Prerequisites

Example prompts

  • "Ask Perplexity these 10 buyer questions on my key and tell me which answers cite hubspot.com."

  • "Ask the same question 5 times and list every domain Perplexity cites."

  • "What sources does Perplexity use to answer questions about project management tools?"

Tool

ask_perplexity_with_sources. One tool. Example arguments:

{
  "prompts": [
    "What is the best CRM for a 10 person sales team?"
  ],
  "brand": "HubSpot|hubspot.com"
}

Inputs

Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.

Input

Type

Required

Description

prompts

array

no

The questions to ask Perplexity, one per line. Each is sent as written. As text, one prompt per line; a comma does not split a prompt.

api_key

string

no

Your own Perplexity API key, from console.perplexity.ai. It is sent only to api.perplexity.ai and is never stored, logged, or written to a row. With no key, the run checks up to 3 prompts for free and asks nothing.

effort

string

no

Perplexity's Agent API effort level: fast (default; quick answers with numbered citations), low, medium, or high. Higher levels search more and cost more on your Perplexity bill. Ignored when you name a model.

model

string

no

Optional. An Agent API model ID, for example perplexity/sonar or openai/gpt-5.6-sol. When set, the actor asks that model with Perplexity's web search tool on instead of using an effort level.

brand

string

no

Optional. A brand name, a domain, or both as Name/domain.com. Each row then says whether the answer names the brand and cites its domain, and at what position.

competitors

array

no

Optional. Competitor names or Name/domain.com, one per line. Used for the brand mention rank and the competitors named column.

samples_per_prompt

number

no

How many times to ask each prompt, 1 to 5 (default 1). Answers change between calls, so more samples give a steadier read. Each sample is one Perplexity call and one charged answer.

search_domain_filter

array

no

Optional. Domains for Perplexity's web search to use, or to skip with a leading minus, for example -pinterest.com. Up to 20.

search_recency_filter

string

no

Optional. Limit web search results to the last hour, day, week, month, or year.

country

string

no

Optional. Two letter country code, for example US or DE. Perplexity uses it as the searcher's location.

concurrency

number

no

How many prompts to ask at the same time, 1 to 10 (default 3). Lower it if your Perplexity account hits its rate limit.

max_charge_usd

string

no

Optional. The run stops before a charge that would pass this amount. Summary rows are always returned. It does not cap your Perplexity bill.

Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

Event

Free plan

Bronze

Silver

Gold

answer-row, one completed answer with its sources

$0.01

$0.0095

$0.009

$0.0085

apify-actor-start, per run start

$0.002

$0.002

$0.002

$0.002

Refused, failed, and unfinished answers, check rows with no key, and refused input are free. Mamba Labs pays the platform costs of the run. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.

Full actor documentation

apify.com/mambalabs/perplexity-answer-reader

License

MIT. See LICENSE.

Available Tools

1 tool
ask_perplexity_with_sourcesAsk Perplexity on your own key, with sourcesA
Read-only

Give questions and your own Perplexity API key. Returns one row per answer with the answer text, every search result with which ones the answer cites, the cited domains, the searches Perplexity ran, and, if you name a brand, whether the answer names and cites it and at what position. With no key it writes up to 3 free check rows and asks nothing. Pay per event on Apify: 0.01 USD per completed answer, plus your Perplexity bill.

Inputs: brand, model, effort, api_key, +8 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 1 tool

    Disambiguation4/5

    With only one tool there is no risk of misselecting between alternatives, so the surface is trivially unambiguous. However, the single tool multiplexes several distinct modes (paid answer, free check rows with no key, optional brand-mention analysis), which blurs what the tool actually does in any given call.

    Naming Consistency4/5

    The name ask_perplexity_with_sources is clear snake_case verb_noun form and, being the only tool, cannot conflict with anything. The 'with_sources' suffix describes the return shape rather than the action, which makes the name slightly less action-oriented than ideal.

    Tool Count3/5

    A single tool is defensible for a narrow Perplexity-wrapper service, and it is not padded with redundant endpoints. Still, one tool carrying answer generation, source/citation extraction, search-query reporting, and brand-position checking feels thin and overloaded for the scope implied by the description.

    Completeness3/5

    The core operation — ask a question, get answer plus sources and citations — is fully covered, including a no-key trial path. Gaps remain: no way to continue a conversation or ask follow-ups, no batch/multi-question call, and no retrieval of earlier answers, which agents doing iterative research would need.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides AI-powered search, research, and reasoning capabilities through integration with Perplexity.ai, offering three specialized tools: general conversational AI, deep research with citations, and advanced reasoning.
      2
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Integrates Perplexity AI's chat capabilities with real-time web search, enabling users to ask questions and receive AI-powered answers with up-to-date information and citations from verified web sources.
      1
      1
      -
    • A
      license
      A
      quality
      D
      maintenance
      Provides AI-powered research capabilities through Perplexity's web interface, enabling web search, deep research, chat, and documentation retrieval without API keys.
      8
      GPL 3.0