search

Pack: tavily · Endpoint: https://gateway.pipeworx.io/tavily/mcp

AI/LLM-optimized web search built for RAG: returns a synthesized natural-language answer plus a ranked list of sourced results (title, url, content snippet, relevance score). Prefer this over scraping a generic search engine when you need grounded, citable web context. Example: search({ query: “latest SpaceX Starship test result” })

Parameters

NameTypeRequiredDescription
querystringyesThe search query / question to research.
search_depthstringnoSearch depth: “basic” (fast, default) or “advanced” (deeper, more thorough).
max_resultsnumbernoMaximum number of results to return (default 5, max 20).
topicstringnoSearch topic: “general” (default) or “news” for recent news coverage.
include_answerbooleannoWhether to include a synthesized AI answer string (default true).
_apiKeystringnoOptional — your own Tavily API key for higher limits; omit to use the shared Pipeworx key.

Example call

Arguments

{
  "query": "latest SpaceX Starship test result"
}

curl

curl -X POST https://gateway.pipeworx.io/tavily/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search","arguments":{"query":"latest SpaceX Starship test result"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('search', {
  "query": "latest SpaceX Starship test result"
});

More examples

{
  "query": "OpenAI GPT-5 release date",
  "search_depth": "advanced",
  "topic": "news",
  "max_results": 10,
  "include_answer": true
}

Response shape

Always returns: results

FieldTypeDescription
answerstring | nullSynthesized answer; may be empty when nothing matched
resultsarray
response_timenumber | null
Full JSON Schema
{
  "type": "object",
  "description": "Tavily web search. `answer` is a synthesized summary of the results.",
  "properties": {
    "answer": {
      "type": [
        "string",
        "null"
      ],
      "description": "Synthesized answer; may be empty when nothing matched"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "content": {
            "type": "string"
          },
          "score": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "title",
          "url"
        ]
      }
    },
    "response_time": {
      "type": [
        "number",
        "null"
      ]
    }
  },
  "required": [
    "results"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "tavily": {
      "url": "https://gateway.pipeworx.io/tavily/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 2, 2026