Install the plugin (recommended)
Start with Claude Code installed and a Tavily account.-
Install the Tavily CLI if it is not already available:
-
Authenticate with browser sign-in, or supply
TAVILY_API_KEYin the environment where Claude Code runs:Search and Extract can also run without sign-in within keyless limits. Crawl, Map, and Research require authentication. -
In Claude Code, add Tavily’s marketplace and install the plugin:
-
Run
/reload-pluginsif prompted, or start a new Claude Code session. See Anthropic’s plugin installation guide.
Example usage
With your project open, try:Use Tavily to find the official documentation for a dependency used in this project. Check one API usage against the installed version, fix it if needed, and cite the source.Or, for a migration:
Use Tavily to find the latest migration guide for this project’s framework and list the changes that affect this codebase.Look for Tavily tool calls or skill invocations and source links in the response to confirm it used web results.
Standalone setup
Choose one of these options if you only need individual components.Remote MCP server
Use Tavily’s hosted server without installing the plugin or running a local server.-
Add the server:
Add
--scope userto make it available across all your projects, or--scope projectto share it with your team through the project’s.mcp.json. -
In Claude Code, run
/mcp, select tavily, and complete the sign-in flow in your browser. - Ask: “Use Tavily to find the latest documentation for this project’s framework and cite the sources.”
/mcp to check. See the Claude guide for connector and organization-wide setup.
Local MCP server
Run the Tavily MCP package on your machine. It still calls Tavily’s API.- Install Node.js 20 or later and copy a Tavily API key.
-
Add the server, replacing the placeholder with your key:
-
Run
/mcpin Claude Code to confirmtavily-localis connected, then ask Claude Code to search with Tavily.
CLI and Agent Skills
Use this option when Claude Code should run Tavily commands in its terminal without the plugin.-
Install the Tavily CLI and run
tvly login, as in the plugin steps. -
From your project, install the Tavily Agent Skills:
-
Complete the install prompts, then start a new Claude Code session to load the skills. Add
--globalto the install command if you want the skills across projects. Try: “Use the Tavily CLI to search for this framework’s latest migration guide and summarize the changes relevant to this project.”