2,500+ MCP servers ready to use
Vinkius

Perplexity AI MCP Server for CrewAI 14 tools — connect in under 2 minutes

Built by Vinkius GDPR 14 Tools Framework

Connect your CrewAI agents to Perplexity AI through Vinkius, pass the Edge URL in the `mcps` parameter and every Perplexity AI tool is auto-discovered at runtime. No credentials to manage, no infrastructure to maintain.

Vinkius supports streamable HTTP and SSE.

python
from crewai import Agent, Task, Crew

agent = Agent(
    role="Perplexity AI Specialist",
    goal="Help users interact with Perplexity AI effectively",
    backstory=(
        "You are an expert at leveraging Perplexity AI tools "
        "for automation and data analysis."
    ),
    # Your Vinkius token. get it at cloud.vinkius.com
    mcps=["https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"],
)

task = Task(
    description=(
        "Explore all available tools in Perplexity AI "
        "and summarize their capabilities."
    ),
    agent=agent,
    expected_output=(
        "A detailed summary of 14 available tools "
        "and what they can do."
    ),
)

crew = Crew(agents=[agent], tasks=[task])
result = crew.kickoff()
print(result)
Perplexity AI
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

About Perplexity AI MCP Server

Connect your Perplexity AI API key to any AI agent and harness the power of real-time web search with AI-generated answers, citations, and related questions through natural conversation.

When paired with CrewAI, Perplexity AI becomes a first-class tool in your multi-agent workflows. Each agent in the crew can call Perplexity AI tools autonomously, one agent queries data, another analyzes results, a third compiles reports, all orchestrated through Vinkius with zero configuration overhead.

What you can do

  • Answer Questions — Ask any question and get grounded answers with real-time web search and source citations
  • Deep Research — Perform exhaustive research on complex topics with comprehensive reports and thorough citations
  • Logical Reasoning — Solve complex problems requiring step-by-step analysis and chain-of-thought reasoning
  • Domain-Filtered Search — Restrict search results to specific domains for academic, technical, or trusted-source queries
  • Recency Filtering — Get answers based on recent information only (hour, day, week, month, or year)
  • Multi-Turn Conversations — Maintain context across multiple questions for iterative research sessions
  • Structured Output — Get responses in JSON format following a defined schema for programmatic integration
  • Visual Results — Include relevant images and related questions in search results

The Perplexity AI MCP Server exposes 14 tools through the Vinkius. Connect it to CrewAI in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.

How to Connect Perplexity AI to CrewAI via MCP

Follow these steps to integrate the Perplexity AI MCP Server with CrewAI.

01

Install CrewAI

Run pip install crewai

02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token from cloud.vinkius.com

03

Customize the agent

Adjust the role, goal, and backstory to fit your use case

04

Run the crew

Run python crew.py. CrewAI auto-discovers 14 tools from Perplexity AI

Why Use CrewAI with the Perplexity AI MCP Server

CrewAI Multi-Agent Orchestration Framework provides unique advantages when paired with Perplexity AI through the Model Context Protocol.

01

Multi-agent collaboration lets you decompose complex workflows into specialized roles, one agent researches, another analyzes, a third generates reports, each with access to MCP tools

02

CrewAI's native MCP integration requires zero adapter code: pass Vinkius Edge URL directly in the `mcps` parameter and agents auto-discover every available tool at runtime

03

Built-in task delegation and shared memory mean agents can pass context between steps without manual state management, enabling multi-hop reasoning across tool calls

04

Sequential and hierarchical crew patterns map naturally to real-world workflows: enumerate subdomains → analyze DNS history → check WHOIS records → compile findings into actionable reports

Perplexity AI + CrewAI Use Cases

Practical scenarios where CrewAI combined with the Perplexity AI MCP Server delivers measurable value.

01

Automated multi-step research: a reconnaissance agent queries Perplexity AI for raw data, then a second analyst agent cross-references findings and flags anomalies. all without human handoff

02

Scheduled intelligence reports: set up a crew that periodically queries Perplexity AI, analyzes trends over time, and generates executive briefings in markdown or PDF format

03

Multi-source enrichment pipelines: chain Perplexity AI tools with other MCP servers in the same crew, letting agents correlate data across multiple providers in a single workflow

04

Compliance and audit automation: a compliance agent queries Perplexity AI against predefined policy rules, generates deviation reports, and routes findings to the appropriate team

Perplexity AI MCP Tools for CrewAI (14)

These 14 tools become available when you connect Perplexity AI to CrewAI via MCP:

01

chat_completion

The Sonar model searches the web, synthesizes information, and provides a concise answer. This is the basic query tool for factual questions, summaries, and general knowledge. Use this for quick lookups where you need accurate, up-to-date information. Ask Perplexity AI a question and get a grounded, cited answer

02

chat_with_citations

Each claim or fact in the response is linked to its original source. This is essential for research, fact-checking, and academic work where sources matter. The response includes a citations array with URLs of all referenced sources. Ask Perplexity AI and get answers with source citations

03

chat_with_domain_filter

Provide domains as a comma-separated list (e.g., "arxiv.org,nih.gov,github.com"). Only sources from the specified domains will be used in generating the answer. Use this for domain-specific research, academic papers, or trusted sources only. Citations are automatically included to verify sources. Ask Perplexity AI restricting search to specific domains

04

chat_with_history

Provide messages as a JSON array of {role: "user"|"assistant"|"system", content: "text"} objects. This enables follow-up questions where the model understands previous context. Use this for complex queries that build on previous answers or require contextual understanding. Example: [{ "role": "user", "content": "What is quantum computing?" }, { "role": "assistant", "content": "Quantum computing uses quantum bits..." }, { "role": "user", "content": "How does it differ from classical computing?" }] Ask Perplexity AI with multi-turn conversation history

05

chat_with_images

The response includes an images array with URLs to related images found during the search. Use this for visual topics, product searches, or when you need images to accompany the answer. Ask Perplexity AI and get relevant images with the answer

06

chat_with_recency_filter

Available recency filters: "hour", "day", "week", "month", "year". This ensures the answer is based on recent information only. Use this for news, recent events, or time-sensitive queries where outdated info is not useful. Ask Perplexity AI with results filtered by time recency

07

chat_with_related_questions

The response includes a related_questions array with suggested questions for further exploration. Use this for research, learning, and discovering related topics you might want to explore. Ask Perplexity AI and get related follow-up questions

08

deep_research

This model performs extensive web searches and generates detailed reports with thorough citations. It takes longer than regular queries but provides much more depth and breadth. Use this for complex topics, literature reviews, competitive analysis, or thorough investigations. Maximum tokens default to 4096 for comprehensive responses. Perform deep research with exhaustive web search and comprehensive report

09

follow_up

Provide the conversation history as a JSON array of messages and the follow-up question. This maintains context from previous turns in the conversation. Use this for multi-turn research sessions where each question builds on previous answers. Ask a follow-up question in an ongoing conversation with Perplexity AI

10

list_models

Use this to discover what models are available before choosing which one to use for your queries. List all available Perplexity AI models

11

reasoning

This model excels at multi-step reasoning, mathematical problems, code analysis, and chain-of-thought tasks. Use this for problems requiring step-by-step analysis, mathematical proofs, code reviews, or logical deductions. Citations are included where external information is referenced. Ask Perplexity AI for complex logical reasoning and step-by-step analysis

12

search_query

This combines all search features: cited sources, relevant images, and follow-up questions. Use this when you want the fullest possible search result with all supplementary information. The response includes content, citations array, images array, and related_questions array. Perform a comprehensive web search with citations, images, and related questions

13

structured_query

The model will return the answer as JSON matching your schema definition. Provide the JSON schema as a string. This is useful for programmatic data extraction, API integrations, and when you need consistent, parseable responses. Example schema: { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "number" } } } Ask Perplexity AI and get a structured JSON response following a schema

14

system_prompt_query

The system prompt defines how the model should respond (e.g., "You are a medical expert...", "Answer in bullet points..."). Use this for specialized queries, role-playing, formatting requirements, or domain-specific expertise. Example system prompt: "You are a senior software architect. Explain concepts with code examples." Ask Perplexity AI with a custom system prompt to set behavior and context

Example Prompts for Perplexity AI in CrewAI

Ready-to-use prompts you can give your CrewAI agent to start working with Perplexity AI immediately.

01

"What are the latest developments in quantum computing as of this week?"

02

"Do deep research on the competitive landscape of electric vehicle manufacturers in Southeast Asia, including market share, pricing strategies, and government incentives."

03

"Search for news about AI regulation in the European Union from the last month, restricted to europa.eu and reuters.com domains."

Troubleshooting Perplexity AI MCP Server with CrewAI

Common issues when connecting Perplexity AI to CrewAI through the Vinkius, and how to resolve them.

01

MCP tools not discovered

Ensure the Edge URL is correct. CrewAI connects lazily when the crew starts. check console output.
02

Agent not using tools

Make the task description specific. Instead of "do something", say "Use the available tools to list contacts".
03

Timeout errors

CrewAI has a 10s connection timeout by default. Ensure your network can reach the Edge URL.
04

Rate limiting or 429 errors

Vinkius enforces per-token rate limits. Check your subscription tier and request quota in the dashboard. Upgrade if you need higher throughput.

Perplexity AI + CrewAI FAQ

Common questions about integrating Perplexity AI MCP Server with CrewAI.

01

How does CrewAI discover and connect to MCP tools?

CrewAI connects to MCP servers lazily. when the crew starts, each agent resolves its MCP URLs and fetches the tool catalog via the standard tools/list method. This means tools are always fresh and reflect the server's current capabilities. No tool schemas need to be hardcoded.
02

Can different agents in the same crew use different MCP servers?

Yes. Each agent has its own mcps list, so you can assign specific servers to specific roles. For example, a reconnaissance agent might use a domain intelligence server while an analysis agent uses a vulnerability database server.
03

What happens when an MCP tool call fails during a crew run?

CrewAI wraps tool failures as context for the agent. The LLM receives the error message and can decide to retry with different parameters, fall back to a different tool, or mark the task as partially complete. This resilience is critical for production workflows.
04

Can CrewAI agents call multiple MCP tools in parallel?

CrewAI agents execute tool calls sequentially within a single reasoning step. However, you can run multiple agents in parallel using process=Process.parallel, each calling different MCP tools concurrently. This is ideal for workflows where separate data sources need to be queried simultaneously.
05

Can I run CrewAI crews on a schedule (cron)?

Yes. CrewAI crews are standard Python scripts, so you can invoke them via cron, Airflow, Celery, or any task scheduler. The crew.kickoff() method runs synchronously by default, making it straightforward to integrate into existing pipelines.

Connect Perplexity AI to CrewAI

Get your token, paste the configuration, and start using 14 tools in under 2 minutes. No API key management needed.