Skip to main content
Glama
tavily-research

tavily-research

by jlbjulio

MCP Tavily Research

An MCP server that gives coding agents Tavily Search, Extract, Crawl, and Research, as a single small executable.

  • About 2 MB on disk and under 10 MB of RAM per agent session, with no Node.js or node_modules.

  • Starts in about 10 ms.

  • Works with Claude Code, Codex, and any MCP client that launches stdio servers.

Tools

Tool

Use it for

tavily_search

Find current information and sources.

tavily_extract

Read content from known URLs.

tavily_crawl

Read multiple pages from one website.

tavily_research

Start a deep, multi-source investigation.

tavily_research_status

Get the status or result of a Research task.

Start with tavily_search for most questions. Research is slower and can use considerably more credits.

Tool parameters use Tavily's original snake_case names, such as search_depth, max_results, and request_id.

Related MCP server: Tavily Web Search MCP Server

Quick start

Requirements: Rust and a Tavily API key.

git clone https://github.com/jlbjulio/mcp-tavily-research.git
cd mcp-tavily-research
cargo install --path .
Copy-Item .env.example .env

Add your API key to .env:

TAVILY_API_KEY=your_real_tavily_api_key

cargo install puts mcp-tavily-research in Cargo's bin folder (~/.cargo/bin), which is on your PATH. The .env file is ignored by Git. Never commit your API key.

Connect to Claude Code

claude mcp add tavily-research --scope user -- mcp-tavily-research --env-file-if-exists=C:/path/to/mcp-tavily-research/.env

Connect to Codex

Create a local STDIO MCP server with these values:

Field

Value

Name

tavily-research

Command to launch

mcp-tavily-research

Arguments

--env-file-if-exists=.env

Environment variables

Leave empty

Environment variable passthrough

Leave empty

Working directory

Absolute path to this repository

Save the configuration and restart the MCP server. You should see:

tavily_search
tavily_extract
tavily_crawl
tavily_research
tavily_research_status

See the Codex MCP documentation for manual configuration and timeout options.

Instead of an .env file you can also set TAVILY_API_KEY in the client's environment variables.

Example prompts

  • Use tavily_search to find the current Node.js LTS version. Use basic search and return three official sources.

  • Use tavily_extract to read these URLs and summarize their differences: <urls>.

  • Use tavily_crawl on https://docs.example.com. Only inspect /api/ pages, use depth 1, and return at most 10 pages.

  • Use tavily_research with the mini model to compare Node.js 22 and Node.js 24 using official sources.

Research is asynchronous. Use the returned request ID with tavily_research_status; do not start the same task again.

Credit safety

  • Search and Extract use basic depth by default.

  • Extract accepts up to 20 URLs.

  • Crawl defaults to depth 1 and a limit of 10 pages.

  • External domains are disabled in Crawl by default.

  • This server caps Crawl results at 50 pages.

  • Research uses the lower-cost mini model by default.

Check Tavily's current credit documentation before running broad crawls or repeated Research tasks.

Commands

Command

Description

cargo install --path .

Build and install the server. Close the MCP clients using it first.

cargo test

Run the test suite.

cargo build --release

Build target/release/mcp-tavily-research.exe without installing it.

Test with MCP Inspector

npx @modelcontextprotocol/inspector mcp-tavily-research --env-file-if-exists=.env

Use Search or a one-URL Extract request for the first test to keep credit usage low.

License

ISC

Available Tools

3 tools
tavily_researchStart Tavily ResearchA

Start an in-depth, billable research task that performs multiple searches and produces a cited report. Use only for complex questions requiring broad analysis. After starting, use tavily_research_status with the returned request ID.

Inputs: input (required), model, outputLength, citationFormat, +2 more.

tavily_research_statusGet Tavily Research StatusA
Read-onlyIdempotent

Retrieve the status or completed report of an existing Tavily Research task. If the status is in_progress, wait before calling this tool again. Never start a duplicate task.

Inputs: requestId (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clear, distinct role: direct search for focused queries, asynchronous deep research for complex questions, and status retrieval for monitoring that research. The descriptions explicitly delineate when to use each, leaving no ambiguity.

    Naming Consistency5/5

    All tool names follow a consistent 'tavily_<action>' pattern with snake_case. The naming is predictable and makes the purpose of each tool immediately clear.

    Tool Count5/5

    Three tools is exactly the right scope for this server: one for quick searches, one for initiating deep research, and one for retrieving results. Each tool earns its place and the set is not bloated.

    Completeness5/5

    The server covers the full intended workflow: direct search, starting a research task, and checking its status/result. There are no dead ends, and the async nature of the research task is properly handled with the status tool.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      Enables web search capabilities through the Tavily API. Allows users to search the web for information using natural language queries via the MCP protocol.
      4
      1
      -
    • F
      license
      C
      quality
      D
      maintenance
      Enables web search capabilities through the Tavily API. Allows users to search the web for information using natural language queries through the MCP protocol.
      3
      -
    • A
      license
      B
      quality
      D
      maintenance
      Provides AI-optimized web search capabilities and direct answers using the Tavily API for MCP-compatible assistants. It enables configurable searches with granular control over search depth, result counts, and domain filtering.
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to perform web research in one tool call by searching, fetching and cleaning full pages, and ranking cited passages. Provides web_research, web_fetch, web_search, and status tools for MCP clients.
      1
      MIT