by vectara
Leverage Vectara for retrieval augmented generation with AI chat bots that deliver accurate, context-aware responses and
Connects conversational AI interfaces to Vectara's RAG (Retrieval-Augmented Generation) platform for enhanced search with generated responses. Enables AI assistants to search documents and get both relevant results and AI-generated answers.
Vectara is an official MCP server published by vectara that provides AI assistants with tools and capabilities via the Model Context Protocol. Leverage Vectara for retrieval augmented generation with AI chat bots that deliver accurate, context-aware responses and It is categorized under ai ml, analytics data.
You can install Vectara in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
Apache-2.0
Vectara is released under the Apache-2.0 license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
Useful MCP listing: Vectara is the kind of server we cite when onboarding engineers to host + tool permissions.
We evaluated Vectara against two servers with overlapping tools; this profile had the clearer scope statement.
Useful MCP listing: Vectara is the kind of server we cite when onboarding engineers to host + tool permissions.
Strong directory entry: Vectara surfaces stars and publisher context so we could sanity-check maintenance before adopting.
Vectara reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
I recommend Vectara for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
We wired Vectara into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
Strong directory entry: Vectara surfaces stars and publisher context so we could sanity-check maintenance before adopting.
Vectara has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
Strong directory entry: Vectara surfaces stars and publisher context so we could sanity-check maintenance before adopting.
showing 1-10 of 60
🔌 Compatible with Claude Desktop, and any other MCP Client!
Vectara MCP is also compatible with any MCP client
The Model Context Protocol (MCP) is an open standard that enables AI systems to interact seamlessly with various data sources and tools, facilitating secure, two-way connections.
Vectara-MCP provides any agentic application with access to fast, reliable RAG with reduced hallucination, powered by Vectara's Trusted RAG platform, through the MCP protocol.
You can install the package directly from PyPI:
pip install vectara-mcp
# Start server with secure HTTP transport (DEFAULT)
python -m vectara_mcp
# Server running at http://127.0.0.1:8000 with authentication enabled
# For Claude Desktop or local development (less secure)
python -m vectara_mcp --stdio
# ⚠️ Warning: STDIO transport is less secure. Use only for local development.
# Custom host and port
python -m vectara_mcp --host 0.0.0.0 --port 8080
# SSE transport mode
python -m vectara_mcp --transport sse --path /sse
# Disable authentication (DANGEROUS - dev only)
python -m vectara_mcp --no-auth
--stdio flag# Required
export VECTARA_API_KEY="your-api-key"
# Optional
export VECTARA_AUTHORIZED_TOKENS="token1,token2" # Additional auth tokens
export VECTARA_ALLOWED_ORIGINS="http://localhost:*,https://app.example.com"
export VECTARA_TRANSPORT="http" # Default transport mode
export VECTARA_AUTH_REQUIRED="true" # Enforce authentication
When using HTTP or SSE transport, authentication is required by default:
# Using curl with bearer token
curl -H "Authorization: Bearer $VECTARA_API_KEY" \
-H "Content-Type: application/json" \
-X POST http://localhost:8000/call/ask_vectara \
-d '{"query": "What is Vectara?", "corpus_keys": ["my-corpus"]}'
# Using X-API-Key header (alternative)
curl -H "X-API-Key: $VECTARA_API_KEY" \
http://localhost:8000/sse
# ⚠️ NEVER use in production
python -m vectara_mcp --no-auth
setup_vectara_api_key: Configure and validate your Vectara API key for the session (one-time setup).
Args:
Returns:
clear_vectara_api_key: Clear the stored API key from server memory.
Returns:
ask_vectara: Run a RAG query using Vectara, returning search results with a generated response.
Args:
Returns:
search_vectara: Run a semantic search query using Vectara, without generation.
Args:
Returns:
correct_hallucinations: Identify and correct hallucinations in generated text using Vectara's VHC (Vectara Hallucination Correction) API.
Args:
Returns:
eval_factual_consistency: Evaluate the factual consistency of generated text against source documents using Vectara's dedicated factual consistency evaluation API.
Args:
Returns:
Note: API key must be configured first using setup_vectara_api_key tool or VECTARA_API_KEY environment variable.
To use with Claude Desktop, update your configuration to use STDIO transport:
{
"mcpServers": {
"Vectara": {
"command": "python",
"args": ["-m", "vectara_mcp", "--stdio"],
"env": {
"VECTARA_API_KEY": "your-api-key"
}
}
}
}
Or using uv:
{
"mcpServers": {
"Vectara": {
"command": "uv",
"args": ["tool", "run", "vectara-mcp", "--stdio"]
}
}
}
Note: Claude Desktop requires STDIO transport. While less secure than HTTP, it's acceptable for local desktop use.
Once the installation is complete, and the Claude desktop app is configured, you must completely close and re-open the Claude desktop app to see the Vectara-mcp server. You should see a hammer icon in the bottom left of the app, indicating available MCP tools, you can click on the hammer icon to see more detail on the Vectara-search and Vectara-extract tools.
Now claude will have complete access to the Vectara-mcp server, including all six Vectara tools.
First-time setup (one-time per session):
setup-vectara-api-key
API key: [your-vectara-api-key]
After setup, use any tools without exposing your API key:
ask-vectara
Query: Who is Amr Awadallah?
Corpus keys: ["your-corpus-key"]
search-vectara
Query: events in NYC?
Corpus keys: ["your-corpus-key"]
correct-hallucinations
Generated text: [text to check]
Documents: ["source1", "source2"]
eval-factual-consistency
Generated text: [text to evaluate]
Documents: ["reference1", "reference2"]
--no-auth for local testingVECTARA_ALLOWED_ORIGINS to restrict accessVECTARA_API_KEY and VECTARA_AUTHORIZED_TOKENSSee SECURITY.md for detailed security guidelines.
For issues, questions, or contributions, please visit: https://github.com/vectara/vectara-mcp
Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.