Back to Home
balazhaa icon

tavily-mcp-loadbalancer

Verified Safe

by balazhaa

Overview

Provides a load-balanced Tavily Model Context Protocol (MCP) server with multi-API key rotation and failover for enhanced web search, extraction, crawling, and mapping.

Installation

Run Command
docker run -d --name tavily-mcp-lb -p 60002:60002 -e TAVILY_API_KEYS="your-key1,your-key2,your-key3" yatotm1994/tavily-mcp-loadbalancer:latest

Environment Variables

  • TAVILY_API_KEYS
  • TAVILY_API_KEY
  • SUPERGATEWAY_PORT

Security Notes

The source code demonstrates strong security practices including explicit data sanitization and truncation of API responses to prevent content injection and oversized payloads. API keys are correctly managed via environment variables and an internal pool with error tracking and rotation for failover. CORS is set to allow all origins on the SSE endpoint, which is a common configuration for a public-facing API but might require stricter firewall rules depending on deployment context.

Similar Servers

Stats

Interest Score30
Security Score9
Cost ClassMedium
Avg Tokens2500
Stars1
Forks2
Last Update2026-01-19

Tags

TavilyMCPLoad BalancerAPI Key ManagementSSE