Bring Web Search
to LlamaIndex
Create your Vinkius account to connect Perplexity AI to LlamaIndex and start using all 14 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the 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.
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
How it works
- Subscribe to this server
- Enter your Perplexity API key from your account settings
- Start researching, asking questions, and getting cited answers from Claude, Cursor, or any MCP-compatible client
No more switching between search engines and reading through pages of results. Your AI acts as a dedicated research assistant with real-time web access.
Who is this for?
- Researchers — perform comprehensive literature reviews, deep research on topics, and get cited answers instantly
- Analysts — filter searches to trusted domains, get recent data, and perform complex reasoning with structured outputs
- Students — ask questions with citations for academic work, get related questions for further study, and understand complex topics
- Developers — get structured JSON responses, code analysis, and reasoning for technical problem-solving
Built-in capabilities (14)
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
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
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
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
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
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
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
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
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
Use this to discover what models are available before choosing which one to use for your queries. List all available Perplexity AI models
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
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
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
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
Why LlamaIndex?
LlamaIndex agents combine Perplexity AI tool responses with indexed documents for comprehensive, grounded answers. Connect 14 tools through Vinkius and query live data alongside vector stores and SQL databases in a single turn. ideal for hybrid search, data enrichment, and analytical workflows.
- —
Data-first architecture: LlamaIndex agents combine Perplexity AI tool responses with indexed documents for comprehensive, grounded answers
- —
Query pipeline framework lets you chain Perplexity AI tool calls with transformations, filters, and re-rankers in a typed pipeline
- —
Multi-source reasoning: agents can query Perplexity AI, a vector store, and a SQL database in a single turn and synthesize results
- —
Observability integrations show exactly what Perplexity AI tools were called, what data was returned, and how it influenced the final answer
Perplexity AI in LlamaIndex
Why run Perplexity AI with Vinkius?
The Perplexity AI connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 14 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect Perplexity AI using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Perplexity AI and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Perplexity AI to LlamaIndex through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
Perplexity AI for LlamaIndex
Every request between LlamaIndex and Perplexity AI is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
How do I get a Perplexity API key?
Log in to your Perplexity AI account, go to Settings > API, and generate a new API key. Copy the key (it starts with pplx-) immediately. Paste it into the API key field below. This key authenticates all requests to https://api.perplexity.ai.
What's the difference between Sonar, Sonar Pro, Deep Research, and Reasoning Pro models?
Sonar is the fastest model for quick factual answers and basic synthesis. Sonar Pro handles complex queries better with more thorough analysis and follow-up support. Sonar Deep Research performs exhaustive web searches and generates comprehensive reports with thorough citations — best for research papers and deep investigations. Sonar Reasoning Pro excels at logical reasoning, multi-step analysis, mathematical problems, and chain-of-thought tasks.
Can I restrict search results to specific domains or time periods?
Yes! Use chat_with_domain_filter to restrict search to specific domains (e.g., arxiv.org, nih.gov, github.com). Use chat_with_recency_filter to get results only from the last hour, day, week, month, or year. You can also combine both for domain-specific recent information. Citations are automatically included to verify sources.
How does Perplexity AI differ from regular search engines?
Unlike regular search engines that return a list of links, Perplexity AI reads the web in real-time, synthesizes information from multiple sources, and provides a direct, concise answer with citations. It's like having a research assistant that reads dozens of pages and summarizes the key findings with source links. You get answers, not just links.
How does LlamaIndex connect to MCP servers?
Use the MCP client adapter to create a connection. LlamaIndex discovers all tools and wraps them as query engine tools compatible with any LlamaIndex agent.
Can I combine MCP tools with vector stores?
Yes. LlamaIndex agents can query Perplexity AI tools and vector store indexes in the same turn, combining real-time and embedded data for grounded responses.
Does LlamaIndex support async MCP calls?
Yes. LlamaIndex's async agent framework supports concurrent MCP tool calls for high-throughput data processing pipelines.
BasicMCPClient not found
Install: pip install llama-index-tools-mcp
Explore More MCP Servers
View all →
Coassemble
8 toolsManage online training and LMS via Coassemble — track courses, monitor enrolments, and manage student groups directly from any AI agent.

AgentFire
10 toolsBuild high-converting real estate websites, manage property listings, and capture leads for your brokerage with ease.

Road511
8 toolsAccess real-time US and Canada traffic data via Road511 — track incidents, monitor cameras, check road conditions, and analyze trends from any AI agent.

AfterLogic Aurora
5 toolsEmail and webmail management — manage folders, messages, and accounts via AI.
