# How to connect Tavily to Grok Bot

```json
{
  "title": "How to connect Tavily to Grok Bot",
  "toolkit": "Tavily",
  "toolkit_slug": "tavily",
  "framework": "Grok Bot",
  "framework_slug": "grok-bot",
  "url": "https://composio.dev/toolkits/tavily/framework/grok-bot",
  "markdown_url": "https://composio.dev/toolkits/tavily/framework/grok-bot.md",
  "updated_at": "2026-08-28T15:34:03.294Z"
}
```

## Introduction

Grok is xAI's assistant, and its bot builder lets you create a personal agent that holds context, runs skills, and connects to the apps you already use through plugins.
This guide explains how to connect Tavily to a Grok bot using Composio Connect, which handles OAuth, token refresh, and reliability so you do not have to. You add Composio as a plugin, authenticate once, then ask your bot to work with Tavily in plain language.

## Also integrate Tavily with

- [ChatGPT Work](https://composio.dev/toolkits/tavily/framework/chatgpt)
- [Antigravity](https://composio.dev/toolkits/tavily/framework/antigravity)
- [OpenAI Agents SDK](https://composio.dev/toolkits/tavily/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/tavily/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/tavily/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/tavily/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/tavily/framework/codex)
- [Kimi Code](https://composio.dev/toolkits/tavily/framework/kimi)
- [Grok Build](https://composio.dev/toolkits/tavily/framework/grok-build)
- [Cursor](https://composio.dev/toolkits/tavily/framework/cursor)
- [VS Code](https://composio.dev/toolkits/tavily/framework/vscode)
- [OpenCode](https://composio.dev/toolkits/tavily/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/tavily/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/tavily/framework/hermes-agent)
- [Pi](https://composio.dev/toolkits/tavily/framework/pi-agent)
- [DeepSeek Harness](https://composio.dev/toolkits/tavily/framework/deepseek)
- [CLI](https://composio.dev/toolkits/tavily/framework/cli)
- [Google ADK](https://composio.dev/toolkits/tavily/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/tavily/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/tavily/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/tavily/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/tavily/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/tavily/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/tavily/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/tavily/framework/autogen)

## TL;DR

Composio exposes 1,000+ apps to your Grok bot through a single connection, so you get:
- Connect to 1,000+ apps with on-demand tool loading, so you do not fill your context window with unnecessary tool definitions.
- Use programmatic tool calling through a remote workbench, letting the model write its own code to handle complex tool chaining. This reduces back-and-forth for frequent tool calls.
- Handle large tool responses outside the model context to keep conversations lean.

## Connect Tavily to Grok Bot

### Connecting Tavily to Grok Bot
Once Grok Bot is set up, you connect Tavily entirely from its interface, and the whole flow takes under a minute.
### Set up Grok Bot
1. Get access. Grok Bot is included with a paid Cursor plan (Cursor Pro, Pro+, or Ultra) or a Cursor Teams seat. You can also grant usage by linking an individual SuperGrok, SuperGrok Plus, or SuperGrok Heavy subscription to your Cursor account.
2. Download and sign in. Get the Grok Bot desktop app for macOS or Windows from [x.ai/bot](https://x.ai/bot), then sign in with your Cursor account. An iPhone companion app is also available, and your bots sync across devices.
3. Create a bot. Pick a suggested role or define your own, then give it a short name, one primary job, and a short description of how it should work. Focused bots work best, because a clear role gives the bot more useful context over time.
### Connect Tavily
1. Open Plugins
Open the Grok bot you want to connect to Tavily, then click Plugins in the left sidebar to open the plugin marketplace.
2. Search for Composio and add it
Type Composio into the Search plugins box and click Add on the Composio result. It then shows under 1 installed at the top of the marketplace.
3. Open the installed plugin
Go to the Installed section and click the Composio entry. You'll see its connector and skills listed (for example, 1 connector, 2 skills).
4. Authenticate
Click Authenticate. You'll be taken to the Composio consent screen. Review the access it requests and click Authorize. Composio handles the OAuth handshake for you, so you never touch API keys or tokens.
5. Connect your Tavily account
Back in the chat, ask your bot to connect to Tavily or give it any Tavily task.
For example, ask it to:
- "Find latest news about electric vehicles"
- "Search for recent AI research papers"
- "Get top articles on remote work trends"
It will prompt you to authenticate and authorize access.
That's it. Composio's tools are now available in your Grok bot, and your Tavily account is ready to use.

## What is Grok Bot?

Grok is xAI's assistant, available as a chat interface and a bot builder for creating personal agents that run skills and connect to external apps.
With Composio Connect, your Grok bot can securely access apps like Tavily through MCP without you sharing account credentials directly with the agent.

## What is the Tavily MCP server, and what's possible with it?

The Tavily MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Tavily account. It provides structured and secure access to advanced web search and data retrieval, so your agent can perform actions like searching the web, filtering results, setting search parameters, and extracting relevant information from online sources on your behalf.
- Custom web search with filters: Ask your agent to search the web with custom depth, result count, and domain restrictions for highly targeted results.
- Document and content type discovery: Direct your agent to locate specific types of content—like articles, PDFs, or news—from across the internet.
- Relevant data extraction: Have your agent pull and summarize key information from search results to save you time and effort.
- Domain-specific research: Instruct your agent to confine searches to specific websites or sources for more trustworthy or relevant outcomes.
- Efficient knowledge retrieval: Let your agent quickly surface facts, references, or recent developments from the web without manual browsing.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `TAVILY_CRAWL` | Tavily crawl | Tool to perform intelligent graph-based website crawling with parallel path exploration and content extraction. Use when you need to traverse and extract content from multiple pages of a website following specific patterns or instructions. Supports depth/breadth controls, domain filtering, and natural language instructions for guided crawling. |
| `TAVILY_EXTRACT` | Tavily extract | Tool to extract and parse web page content from specified URLs using Tavily's extract endpoint. Use when you need to retrieve clean, structured content from web pages with optional image extraction and content reranking based on query relevance. |
| `TAVILY_GET_USAGE` | Get Tavily usage | Tool to retrieve API key and account usage statistics from Tavily. Use when you need to check credit consumption, limits, and per-endpoint usage for search, extract, crawl, map, and research operations. |
| `TAVILY_MAP` | Tavily map website | Tool to map a website and discover its pages. Use when you need to scan a website and get a structured list of URLs/pages it contains without extracting full content. |
| `TAVILY_TAVILY_SEARCH` | Tavily search | Use this to perform a web search via the Tavily API; offers controls for search depth, content types, result count, and domain filtering. Requires an active Tavily connection (401 = auth failure). Rate limit: ~2 req/s; apply exponential backoff on HTTP 429. Results are nested under response_data.results (not a flat list). Subject to HTTP 429 on rapid bursts. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, your Grok bot can access the Tavily MCP server through Composio to run the actions you authorize, using plain language in the chat.

## Complete Code

None listed.

## Conclusion

### Way Forward
Now that Tavily is connected, extend your setup by connecting the other apps you already use every day, so your Grok bot can run true cross-app workflows end to end.
- Connect Calendar to turn threads into scheduled meetings automatically.
- Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
- Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
- Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.
Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single connection, your bot can coordinate multiple tools safely and reliably in one conversation.

## How to build Tavily MCP Agent with another framework

- [ChatGPT Work](https://composio.dev/toolkits/tavily/framework/chatgpt)
- [Antigravity](https://composio.dev/toolkits/tavily/framework/antigravity)
- [OpenAI Agents SDK](https://composio.dev/toolkits/tavily/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/tavily/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/tavily/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/tavily/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/tavily/framework/codex)
- [Kimi Code](https://composio.dev/toolkits/tavily/framework/kimi)
- [Grok Build](https://composio.dev/toolkits/tavily/framework/grok-build)
- [Cursor](https://composio.dev/toolkits/tavily/framework/cursor)
- [VS Code](https://composio.dev/toolkits/tavily/framework/vscode)
- [OpenCode](https://composio.dev/toolkits/tavily/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/tavily/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/tavily/framework/hermes-agent)
- [Pi](https://composio.dev/toolkits/tavily/framework/pi-agent)
- [DeepSeek Harness](https://composio.dev/toolkits/tavily/framework/deepseek)
- [CLI](https://composio.dev/toolkits/tavily/framework/cli)
- [Google ADK](https://composio.dev/toolkits/tavily/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/tavily/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/tavily/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/tavily/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/tavily/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/tavily/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/tavily/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/tavily/framework/autogen)

## Related Toolkits

- [Firecrawl](https://composio.dev/toolkits/firecrawl) - Firecrawl automates large-scale web crawling and data extraction. It helps organizations efficiently gather, index, and analyze content from online sources.
- [Exa](https://composio.dev/toolkits/exa) - Exa is a data extraction and search platform for gathering and analyzing information from websites, APIs, or databases. It helps teams quickly surface insights and automate data-driven workflows.
- [Serpapi](https://composio.dev/toolkits/serpapi) - SerpApi is a real-time API for structured search engine results. It lets you automate SERP data collection, parsing, and analysis for SEO and research.
- [Peopledatalabs](https://composio.dev/toolkits/peopledatalabs) - Peopledatalabs delivers B2B data enrichment and identity resolution APIs. Supercharge your apps with accurate, up-to-date business and contact data.
- [Snowflake](https://composio.dev/toolkits/snowflake) - Snowflake is a cloud data warehouse built for elastic scaling, secure data sharing, and fast SQL analytics across major clouds.
- [Posthog](https://composio.dev/toolkits/posthog) - PostHog is an open-source analytics platform for tracking user interactions and product metrics. It helps teams refine features, analyze funnels, and reduce churn with actionable insights.
- [Ahrefs MCP](https://composio.dev/toolkits/ahrefs_mcp) - Ahrefs MCP is Ahrefs' hosted MCP server for SEO data and insights. Use it to access backlinks, organic metrics, keyword research, and competitor analysis.
- [Amplitude](https://composio.dev/toolkits/amplitude) - Amplitude is a digital analytics platform for product and behavioral data insights. It helps teams analyze user journeys and make data-driven decisions quickly.
- [Baremetrics](https://composio.dev/toolkits/baremetrics) - Baremetrics is a subscription analytics platform for recurring-revenue businesses. It helps teams track MRR, churn, customers, and revenue trends in one place.
- [Bing Webmaster Tools](https://composio.dev/toolkits/bing_webmaster_tools) - Bing Webmaster Tools is Microsoft's search console for site performance, crawling, indexing, URL submission, and verified site management. It helps site owners understand Bing Search visibility and fix issues that affect organic traffic.
- [Bread & Butter](https://composio.dev/toolkits/bread_butter) - Bread & Butter is a lead-intelligence and identity platform for website visitor tracking, user profiles, attribution, authentication, and conversion workflows. It helps teams understand who is visiting, where leads come from, and how users convert.
- [Bright Data MCP](https://composio.dev/toolkits/brightdata_mcp) - Bright Data MCP is an AI-powered web scraping and data collection platform. Instantly access public web data in real time with advanced scraping tools.
- [Browseai](https://composio.dev/toolkits/browseai) - Browseai is a web automation and data extraction platform that turns any website into an API. It's perfect for monitoring websites and retrieving structured data without manual scraping.
- [BSC Designer](https://composio.dev/toolkits/bsc_designer) - BSC Designer is a strategy execution platform for balanced scorecards, KPIs, dashboards, and strategy maps. It helps teams turn goals into measurable performance plans they can track over time.
- [Chameleon](https://composio.dev/toolkits/chameleon) - Chameleon is a product adoption platform for building in-app experiences, managing customer data, and analyzing user engagement. It helps teams improve onboarding, feature discovery, and product adoption with targeted user experiences.
- [Chartly](https://composio.dev/toolkits/chartly) - Chartly renders Chart.js configurations as PNG or SVG images and creates permanent chart URLs for sharing and embedding. Share and embed charts easily with stable image URLs and downloadable vector graphics.
- [ClickHouse](https://composio.dev/toolkits/clickhouse) - ClickHouse is an open-source, column-oriented database for real-time analytics and big data processing using SQL. Its lightning-fast query performance makes it ideal for handling large datasets and delivering instant insights.
- [ClickHouse MCP](https://composio.dev/toolkits/clickhouse_mcp) - ClickHouse MCP is ClickHouse Cloud's managed observability query service via the ClickStack MCP server. Use it to run fast analytical queries against observability data with managed access.
- [CoinGecko](https://composio.dev/toolkits/coingecko) - CoinGecko is a cryptocurrency data platform that provides prices, market metrics, exchange, NFT, and onchain data. Use it for comprehensive, up-to-date crypto market insights and metadata.
- [Coinmarketcal](https://composio.dev/toolkits/coinmarketcal) - CoinMarketCal is a community-powered crypto calendar for upcoming events, announcements, and releases. It helps traders track market-moving developments and stay ahead in the crypto space.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Tavily MCP?

With a standalone Tavily MCP server, the agents and LLMs can only access a fixed set of Tavily tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Tavily and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Grok Bot?

Yes, you can. Grok Bot fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Tavily tools.

### Can I manage the permissions and scopes for Tavily while using Tool Router?

Yes, absolutely. You can configure which Tavily scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Tavily data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
