Skip to main content

Tavily Web Search Extension

🎥Plug & Play
Watch the demo

This tutorial covers how to add the Tavily Web Search MCP Server as a Goose extension to enable AI-powered web search functionality.

TLDR

Command

uvx mcp-tavily

Environment Variable

TAVILY_API_KEY: <YOUR_API_KEY>

Configuration

info

Note that you'll need uv installed on your system to run this command, as it uses uvx.

  1. Run the configure command:
goose configure
  1. Choose to add a Command-line Extension
  ┌   goose-configure 

◇ What would you like to configure?
│ Add Extension

◆ What type of extension would you like to add?
│ ○ Built-in Extension
│ ● Command-line Extension (Run a local command or script)
│ ○ Remote Extension

  1. Give your extension a name
  ┌   goose-configure 

◇ What would you like to configure?
│ Add Extension

◇ What type of extension would you like to add?
│ Command-line Extension

◆ What would you like to call this extension?
│ tavily

  1. Enter the command
  ┌   goose-configure 

◇ What would you like to configure?
│ Add Extension

◇ What type of extension would you like to add?
│ Command-line Extension

◇ What would you like to call this extension?
│ tavily

◆ What command should be run?
│ uvx mcp-tavily

  1. Obtain a Tavily API Key and paste it in.
info

You can get your API key by signing up at tavily.com and navigating to your account settings.

 ┌   goose-configure 

◇ What would you like to configure?
│ Add Extension

◇ What type of extension would you like to add?
│ Command-line Extension

◇ What would you like to call this extension?
│ tavily

◇ What command should be run?
│ uvx mcp-tavily

◆ Would you like to add environment variables?
│ Yes

◇ Environment variable name:
│ TAVILY_API_KEY

◇ Environment variable value:
│ ▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪

◇ Add another environment variable?
│ No
└ Added tavily extension

Example Usage

The Tavily MCP server enables AI-powered web search functionality in your Goose interactions. When you obtain your API key, you'll have access to Tavily's advanced search capabilities including:

  1. Real-time web search
  2. Structured data extraction
  3. Content analysis
  4. Topic-specific search

Goose Prompt

Search for recent news about artificial intelligence breakthroughs in medicine and summarize the key findings.

Goose Output

I'll use the Tavily news search tool to find recent news about AI breakthroughs in medicine.

─── tavily_news_search | tavily ──────────────────────────
max_results: 5
query: ...



Let me summarize the key findings from the recent news about AI in medicine:

1. Personalized AI-Driven Healthcare:
- Development of AI systems that act as "personal doctors" that work alongside human clinicians rather than replacing them
- Focus on augmenting clinical capabilities while maintaining human oversight

2. Breakthrough in Medical Imaging:
- A significant advancement in CT scan analysis has been reported in Nature
- Development of a "Unified total-body CT image" (Uni-CT) algorithm that:
- Automatically generates single series of total-body CT images
- Concatenates multiple images of segmented organs using organ-specific window settings
- Reduces diagnosis time by 35% without compromising accuracy
- Improves efficiency in trauma cases

3. Future Trends:
- Movement toward democratized AI in healthcare, potentially reducing the gap between large and small healthcare providers
- Development of hyper-personalized medical experiences powered by AI
- Integration of AI systems that can perform human-like reasoning in medical contexts

The most concrete breakthrough appears to be in medical imaging, with the Uni-CT algorithm showing promising results in improving both the speed and accuracy of trauma diagnosis. This represents a practical application of AI that could have immediate benefits in emergency medicine.

Would you like me to search for more specific information about any of these developments or explore other areas of AI in medicine?
tip

You can adjust the search parameters for different types of queries and depths of information. The extension supports both quick searches and comprehensive research.