tavily-mcp
Skill0 starsChanged 10 months agoMITView on GitHub
Search the web, extract page content, crawl sites, and conduct multi-source research via the Tavily MCP server. Use when user asks 'search for X', 'what's the latest on Y?', 'research this topic', 'extract content from this URL', 'crawl this website', 'map this site structure', or needs current web information, competitor analysis, or multi-source research. Do NOT use for library/framework documentation (use context7-mcp instead).
In this repository19 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- audit-planSkill
- builder-workflowSkill
- code-reviewSkill
- context7-mcpSkill
- create-planSkill
- customizeSkill
- devSkill
- hand-crafted-svgSkill
- implementSkill
- improve-promptSkill
- playwright-e2eSkill
- playwright-mcpSkill
- postgres-expertSkill
- react-form-builderSkill
- review-planSkill
- sequential-thinking-mcpSkill
- server-action-builderSkill
- service-builderSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 2 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
All Tavily MCP tools use the mcp__tavily__ prefix.
- Very specific: line 125
Always tavily_map before tavily_crawl — understand structure first, then extract content
- Distinctive: line 172
Add the current year to your query: "topic 2026"
- Very specific: line 173
Use search_depth: "advanced" for better results
- Very specific: line 174
Use include_domains to target official docs or recent sources
- Distinctive: line 180
Check if the URL requires authentication — Tavily cannot access authenticated content
- Very specific: line 186
Use tavily_map first to identify the specific URLs you need, then tavily_extract those URLs directly
- Very specific: line 191
Use tavily_search with search_depth: "advanced" instead
- Very specific: line 192
Run multiple targeted tavily_search calls in parallel
- Very specific: line 193
Only use tavily_research when comprehensive synthesis is truly needed
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tavily Web Search & Research
You are an expert at using the Tavily MCP server for web search, content extraction, site crawling, and multi-source research. Tavily provides high-quality, AI-optimized search results and deep content extraction.
Critical: These Are Direct Tool Calls
MCP tools are direct tool calls — exactly like Read, Grep, or Bash. They are NOT CLI commands.
CORRECT — call the tool directly:
Tool: mcp__tavily__tavily_search
Parameters: { "query": "Next.js 15 server actions best practices 2026" }WRONG — do NOT shell out:
Bash: claude mcp call tavily tavily_search ... # This does not workAll Tavily MCP tools use the mcp__tavily__ prefix.
Critical: Output Size Awareness
| Tool | Output Size | Cost | Notes |
tavily_search (basic) | Small-Medium | Low | 5-10 results with snippets |
tavily_search (advanced) | Medium | Medium | More results, deeper analysis |
tavily_extract | Medium-Large | Medium | Full page content — scales with page size |
tavily_crawl | Large-Very Large | High | Multiple pages — scales with depth/breadth settings |
tavily_map | Medium | Low | URL list only (no content) |
tavily_research | Very Large | Very High | Multi-source synthesis — use sparingly |
Start with tavily_search for most questions. Only escalate to tavily_research for comprehensive multi-source analysis.
Workflow 1: Quick Search
Trigger: User asks a factual question, needs current information, or wants a quick answer.
Steps
- Search with targeted query:
tavily_search({ query: "Supabase RLS best practices 2026", search_depth: "basic" }) - If results are insufficient, try advanced search:
tavily_search({ query: "Supabase RLS best practices 2026", search_depth: "advanced" }) - Optionally filter by domain:
tavily_search({ query: "Next.js middleware", include_domains: ["nextjs.org", "vercel.com"] })
Workflow 2: Extract Content from URL
Trigger: User provides a URL and wants its content, or search results point to a page needing deeper extraction.
Steps
- Extract page content:
tavily_extract({ urls: ["https://example.com/article"], extract_depth: "basic" }) - For protected sites or complex pages (tables, dynamic content):
tavily_extract({ urls: ["https://example.com/pricing"], extract_depth: "advanced" })
Note: tavily_extract can handle multiple URLs in parallel — pass them all in the urls array.
Workflow 3: Site Discovery & Crawling
Trigger: User says "explore this site", "what pages does this site have?", "crawl the docs", "map the site structure"
Steps
- Map the site first (URL structure only, no content):
tavily_map({ url: "https://docs.example.com", max_depth: 2, max_urls: 50 }) - Then crawl specific sections (full content):
tavily_crawl({ url: "https://docs.example.com/guides", max_depth: 1, max_breadth: 10 })
Key Patterns
- Always
tavily_mapbeforetavily_crawl— understand structure first, then extract content tavily_crawldefaults:max_depth: 1,max_breadth: 20— increase carefully- Crawling entire sites is expensive — target specific sections
Workflow 4: Deep Research
Trigger: User says "research this topic thoroughly", "give me a comprehensive analysis", "compare options for X"
Steps
- Start with a search to gauge complexity:
tavily_search({ query: "...", search_depth: "advanced" }) - If a single search isn't enough, use research:
tavily_research({ query: "Comprehensive comparison of Supabase vs Firebase for multi-tenant SaaS in 2026", max_results: 10 })
Use tavily_research sparingly — it makes multiple internal requests and produces very large output. Most questions are answered by tavily_search alone.
Decision Tree
| User Needs | Best Tool | Why |
| Quick factual answer | tavily_search (basic) | Fast, low cost |
| Thorough search results | tavily_search (advanced) | More results, deeper snippets |
| Content from a specific URL | tavily_extract | Direct page content |
| Site structure overview | tavily_map | URL list only, no content |
| Multiple pages from a site | tavily_crawl | Follows links, extracts content |
| Comprehensive multi-source analysis | tavily_research | Multi-source synthesis (expensive) |
Search Tips
- Include the year for current info: "React server components 2026" not just "React server components"
- Use
include_domainsto target authoritative sources:["nextjs.org", "supabase.com"] - Use
exclude_domainsto filter noise:["medium.com", "w3schools.com"] - Be specific: "Supabase RLS policies for multi-tenant SaaS with account_id" beats "Supabase security"
Troubleshooting
Search Returns Outdated Results
- Add the current year to your query: "topic 2026"
- Use
search_depth: "advanced"for better results - Use
include_domainsto target official docs or recent sources
Extract Returns Empty or Partial Content
- Try
extract_depth: "advanced"for JavaScript-rendered pages - Some sites block extraction — fall back to
WebFetchorbrowser_navigate(Playwright MCP) - Check if the URL requires authentication — Tavily cannot access authenticated content
Crawl Produces Too Much Output
- Reduce
max_depth(default 1 is usually sufficient) - Reduce
max_breadth(default 20 — try 5-10 for targeted crawls) - Use
tavily_mapfirst to identify the specific URLs you need, thentavily_extractthose URLs directly
Research Takes Too Long
tavily_research makes multiple internal API calls. If it's too slow:
- Use
tavily_searchwithsearch_depth: "advanced"instead - Run multiple targeted
tavily_searchcalls in parallel - Only use
tavily_researchwhen comprehensive synthesis is truly needed
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

