Skip to content

Tavily API and MCP

Tavily provides web search, page extraction, site mapping and crawling for AI applications. An agent can research topics, extract source text and map website URLs. Add your Tavily key once in Longwave settings; calls run on your vendor account.

Add to Longwave

Add Tavily to your agent

Paste this into Claude Code or a terminal. Then run /mcp to sign in.

functions
3
lowest price
$0.80/1k pages
access
Your key
tasks
3

Use Tavily on Longwave

  1. Download Longwave or open app.longwave.run.
  2. Add your Tavily API key once in Longwave settings. Calls run on your Tavily account at Tavily's price.
  3. Ask for the result in any thread, for example: “Research a competitor before a sales call”. The agent picks the Tavily function and calls it.

Use Tavily in Claude Code, Codex, Cursor or ChatGPT

Add the Longwave MCP server once. It carries 2,593 functions across 103 tools, including Tavily, and asks you to sign in on first use.

Why call Tavily through Longwave

  • Your Tavily key is stored once, encrypted, and used by every harness and device you use.
  • One MCP server for 103 tools, so your agent setup does not grow a key and a server per vendor.
  • Spending limits per key and per account, checked before a paid call is made.
  • Each call is recorded with the provider, the cost and the result, and can be read again from another device.

Tavily functions

Function Price
Search the web Find public web pages for a query. tavily.web.search
$0.008 per call Basic search: one credit at the PAYG rate of $0.008/credit. Advanced search uses two credits.
Fetch web documents Read text from public web documents. tavily.web.extract
$0.008 per 5 pages Basic mode: 1 credit per block of up to 5 successful pages, at $0.008/credit. Advanced extraction or mapping with instructions uses 2 credits per block.
Map a website Find links on a public website. tavily.web.map
$0.008 per 10 pages Basic mode: 1 credit per block of up to 10 successful pages, at $0.008/credit. Advanced extraction or mapping with instructions uses 2 credits per block.

Prices are Tavily's published rates. Source: Tavily pricing.

Use cases

Questions people ask

How do I get a Tavily API key?

Sign in to Tavily and create a key at app.tavily.com/home. Add it once in Longwave settings and your agents' Tavily calls run on your own account. Tavily API keys

Does Tavily offer a free API allowance?

Tavily publishes this allowance: 1,000 API credits per month. The allowance applies to the vendor account used for the call. Tavily pricing

Do I need a Tavily account?

Yes. Create a key at https://app.tavily.com/home and add it in Longwave settings. Longwave stores it encrypted and uses it only for your calls.

What does a Tavily API call cost through Longwave?

The same as calling Tavily directly. For example, “Search the web” costs $0.008 per call. Longwave adds no markup. Tavily pricing

How do I use Tavily in Claude Code?

Add the Longwave MCP server once with claude mcp add --transport http longwave https://api.longwave.run/v1/mcp/tasks, sign in, and ask for what you need. Claude finds the right Tavily function and calls it.

Use Tavily in Longwave

Ask any Longwave thread for the result, or add Longwave to Claude Code, Codex, Cursor or ChatGPT.

Add to Longwave