Web_Search_MCP
An MCP(Model Context Protocol) Server with a web search tool
Overview
Web_Search_MCP is a Model Context Protocol (MCP) server that integrates a web search tool using the Tavily API, enabling real-time web search capabilities for AI systems.
To use Web_Search_MCP, set up the server by configuring the necessary files and dependencies, then run the server to expose the search_web tool for querying web search results.
- Real-time web search using the Tavily API. - Detailed search results including content, URLs, and relevancy scores. - Well-structured JSON output for easy integration. - Asynchronous processing for handling multiple requests simultaneously. - Error handling with informative messages in JSON format.
- Integrating web search capabilities into AI applications.
- Enhancing language models with real-time information retrieval.
- Providing detailed search results for user queries in various applications.
Add to your AI client
Use these steps to connect Web_Search_MCP in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"web-search-mcp-memohib": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-web-search-mcp-memohib"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"web-search-mcp-memohib": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-web-search-mcp-memohib"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"web-search-mcp-memohib": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-web-search-mcp-memohib"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"web-search-mcp-memohib": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-web-search-mcp-memohib"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"web-search-mcp-memohib": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-web-search-mcp-memohib"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"web-search-mcp-memohib": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-web-search-mcp-memohib"
]
}
}
}FAQ
What is the Tavily API?
The Tavily API is a powerful search API that provides comprehensive web search results.
How do I obtain a Tavily API key?
You can obtain a Tavily API key by signing up on the Tavily website.
Is Web_Search_MCP free to use?
Yes, Web_Search_MCP is free to use, but you will need a Tavily API key for access.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2963,"uuid":"642bfad5-6225-4410-b44c-bd3b276fa734","name":"Web_Search_MCP","title":"Web_Search_MCP","description":"An MCP(Model Context Protocol) Server with a web search tool","avatar_url":"https://avatars.githubusercontent.com/u/185548045?v=4","created_at":"2025-03-16T07:44:00.540Z","updated_at":"2025-03-16T09:03:23.162Z","status":"created","author_name":"memohib","author_avatar_url":"https://avatars.githubusercontent.com/u/185548045?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/memohib/Web_Search_MCP","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"MIT license\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-16 13:13:19\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]