Is the Tavily MCP server safe? What it can reach
What the Tavily MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
Tavily maintains its own MCP server, with a hosted endpoint at mcp.tavily.com and a local npx package. It signs in with OAuth or a Tavily API key. It searches the web, extracts pages, maps and crawls sites, and runs research, so it changes nothing in your accounts. The main risks are web content steering the agent and credit use.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| tavily-mcp (Tavily, official) | Official | active |
| Tavily remote MCP server (official) | Official | active |
It runs as a local process on your machine or as a hosted remote server. The documented endpoint is https://mcp.tavily.com/mcp/.
How it signs in
The hosted server supports OAuth with a personal or organization Tavily account, or an API key in the URL query (tavilyApiKey) or an Authorization bearer header. The local package reads TAVILY_API_KEY. Calls use your account’s credits.
What its tools can do
| Kind | Tools |
|---|---|
| Read | tavily_search, tavily_extract, tavily_crawl, tavily_map, tavily_research |
| Write | none documented |
| Can’t be undone | none documented |
Tavily’s docs name these five tools with underscores. The GitHub README writes the search and extract names with hyphens, such as tavily-search, for the same tools. All five act on the public web and spend credits; none changes data in your own systems.
Built-in limits
| Option | What it does |
|---|---|
DEFAULT_PARAMETERS | A JSON env var (or header on the remote server) that sets default values for search, such as search_depth and max_results. It does not disable tools. |
API key in a header | Send the key as Authorization: Bearer on the remote server so it stays out of the URL and client logs. |
Organization accounts | With OAuth you pick a personal account or an organization, and organizations can turn off personal accounts. |
Client tool approval | The docs describe no way to limit which tools the server exposes, so restrict them in your MCP client. |
The risks
- Search results and crawled pages are text from anyone on the internet, so a page can carry an instruction that an agent with other tools acts on.
- tavily_extract and tavily_crawl fetch any URL the agent supplies, so a poisoned page can send it to fetch many further pages and burn credits.
- An API key in the remote URL query can end up in client logs and shell history.
- Queries you send, which may include customer names or code, go to Tavily and then page content returns to your LLM provider.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add --transport http tavily https://mcp.tavily.com/mcp/Claude Code names MCP tools mcp__tavily__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"ask": [
"mcp__tavily__tavily_research",
"mcp__tavily__tavily_crawl"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.tavily]
url = "https://mcp.tavily.com/mcp/"Checklist
- Prefer OAuth or a bearer header over an API key in the URL.
- Set a usage limit on your Tavily account.
- Do not put private names or code in search queries.
- Pair it with write tools only through a client that asks before acting.
Checked against the vendor documentation on November 25, 2026. tavily-mcp README (Tavily) · Tavily MCP docs
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing