@greatnxy/web-search-mcp
Provides web search functionality through the Brave Search API, returning ranked results with titles, URLs, and snippets. It is used as a fallback provider when Tavily is unavailable or returns no results.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@greatnxy/web-search-mcpwhat are the latest developments in renewable energy?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@greatnxy/web-search-mcp
A focused MCP server that gives your MCP client a straightforward way to search the web and receive structured results through a single tool: web_search.
This server integrates with Tavily and Brave because both services provide free usage options, making it practical to get started with web search. See their plans and pricing: Tavily Plans & Pricing · Brave Search API Plans.
Install and run
npm install
$env:TAVILY_API_KEY = "tvly-..."
$env:BRAVE_API_KEY = "BSA..."
npm run build
npm startIf you want to use only Brave's free quota, be sure to set a usage limit for your Brave Search account. Configure it inBrave Search usage limits.
For key rotation within each provider, use comma-separated values.
$env:TAVILY_API_KEYS = "tvly-first,tvly-second"
$env:BRAVE_API_KEYS = "brave-first,brave-second"Keys are chosen randomly from each provider's currently available pool. A 429 pauses that Key until the provider's response says it can be retried. An authentication or quota error removes the Key until the server is restarted.
Related MCP server: AI Makerspace MCP Demo Server
VS Code configuration
Create or edit your MCP configuration and keep secrets in password inputs:
{
"inputs": [
{
"type": "promptString",
"id": "tavily-api-key",
"description": "Tavily API key",
"password": true
},
{
"type": "promptString",
"id": "brave-api-key",
"description": "Brave Search API key",
"password": true
}
],
"servers": {
"web-search": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@greatnxy/web-search-mcp"],
"env": {
"TAVILY_API_KEY": "${input:tavily-api-key}",
"BRAVE_API_KEY": "${input:brave-api-key}"
}
}
}
}Environment variables
Variable | Default | Purpose |
| required | One key or a comma-separated Tavily key pool. |
| required | One key or a comma-separated Brave key pool. |
|
| Tavily and Brave HTTP request timeout. |
Search behavior
The gateway calls Tavily first. It calls Brave when Tavily returns no results, times out, is unavailable, is rate-limited, or reports exhausted plan/PAYG quota. Each request randomly selects an available key from the chosen provider's pool.
Tool input and output
web_search accepts query, optional max_results (1–20), freshness (day, week, month, year), ISO country code, and include/exclude domain lists.
It returns query, selected provider, fallback state and reason, providers tried, and ranked title/url/snippet results.
Verify
npm run check
npm test
npm run buildThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceMCP server for using various search tools like Tavily API. Planning to support various search tools (i.e. wiki search, searxng, etc)Last updated3MIT
- FlicenseAqualityDmaintenanceEnables web search capabilities through the Tavily API and serves as a demonstration platform for building custom MCP tools. Designed for educational purposes to showcase MCP server development and LangGraph integration.Last updated6
- AlicenseBqualityCmaintenanceA local MCP server that exposes Tavily search as a tool and rotates across multiple API keys for reliability.Last updated1MIT
- Flicense-qualityDmaintenanceMCP server that provides web search capabilities using the Tavily API.Last updated
Related MCP Connectors
Serper MCP — wraps the Serper Google Search API (serper.dev)
MCP server for Google search results via SERP API
MCP server exposing the Backtest360 engine API as tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/NXY666/web-search-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server