Claude Web Search MCP Server
The Claude Web Search MCP Server enables LLMs to perform web searches through the Claude API, providing access to real-time information from the internet.
Key capabilities:
Perform web searches with specific queries to retrieve up-to-date information
Verify current facts that may not be available in training data
Customize search parameters:
Set maximum number of results returned (default: 5)
Filter results using
allowedDomainsandblockedDomains
Integration with Claude Desktop app for automatic management
Option to run manually for testing or development purposes
Click on "Deploy 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., "@Claude Web Search MCP Server search for latest AI developments from reputable tech news sites"
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.
Claude Web Search MCP Server
This MCP (Model Context Protocol) server provides web search capabilities using the Claude API. It allows LLMs to access up-to-date information from the web through a standardized interface.
Features
Web search tool using Claude's web search API
Support for domain filtering (allowed and blocked domains)
Configurable maximum results per search
Automatic configuration from Claude Desktop config file
Related MCP server: Google Search MCP
Prerequisites
Node.js 18 or higher
An Anthropic API key with web search enabled
Claude Desktop app for testing
Installation & Setup
Clone the repository:
git clone https://github.com/Doriandarko/claude-search-mcp.git cd claude-search-mcpInstall dependencies:
npm installBuild the server:
npm run buildThis compiles the TypeScript code and makes the server executable.
Link the server for global access:
npm linkThis makes the
mcp-server-claude-searchcommand available system-wide, allowing the Claude Desktop app to find it.
Running the Server with Claude Desktop App
Once the server is installed and linked, the Claude Desktop app can manage it automatically if configured correctly.
Configure Claude Desktop App: Open your Claude Desktop app's MCP server configuration file (usually
claude_desktop_config.json). Add or update the entry for this server:{ "mcpServers": { // ... other servers ... "claude-search": { "command": "mcp-server-claude-search", "env": { "ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY_HERE" } } // ... other servers ... } }Replace
"YOUR_ANTHROPIC_API_KEY_HERE"with your actual Anthropic API key. The server will also attempt to read this key from~/code/claude-search-mcp/claude_desktop_config.jsonif theenvvariable is not set here, but it's good practice to define it per-server in the main config.Launch Claude Desktop App: Start (or restart) your Claude Desktop application. It should now be able to find and launch the
mcp-server-claude-searchwhen needed.Use Web Search: You can now use web search capabilities in your conversations with Claude.
Manual Server Execution (for testing/development)
If you want to run the server manually for testing or development purposes (outside of the Claude Desktop app management):
Using the globally linked command:
mcp-server-claude-searchDirectly with tsx (for development with auto-restart):
npm run devRunning the compiled code directly:
npm start
Web Search Tool Parameters
The web search tool supports the following parameters when called by an LLM:
query(required): The search query string.maxResults(optional): Maximum number of search results to return (default: 5).allowedDomains(optional): Array of domains to include in search results (e.g.,["example.com", "wikipedia.org"]).blockedDomains(optional): Array of domains to exclude from search results.
License
MIT
Available Tools
1 toolweb_searchA
Search the web for real-time information about any topic. Use this tool when you need up-to-date information that might not be available in your training data, or when you need to verify current facts.
Inputs: query (required), maxResults, allowedDomains, blockedDomains.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap between tools, as there are no other tools to compare it against. The single tool's purpose is clearly defined and distinct by default.
The single tool name 'web_search' follows a consistent verb_noun pattern, and since there are no other tools, there is no inconsistency to evaluate. The naming is straightforward and appropriate for its function.
A single tool is generally too few for most server purposes, as it limits functionality and can feel thin or incomplete. For a web search server, while the core function is covered, additional tools like advanced search filters or result management might be expected to enhance utility.
The server provides a basic search function, which covers the essential need for real-time information retrieval. However, there are notable gaps, such as lack of tools for refining searches, handling pagination, or accessing specific types of content, which could limit agent effectiveness in complex scenarios.
Maintenance
Related MCP Connectors
Agent-native internet gateway: typed search, fetch, scrape, crawl, and extract via the Clawifi API.
Provides AI assistants with access to Seltz's powerful Web Search capabilities.
Web search and page-reading for AI agents. One-click OAuth connect, or a Caesar API key.
Web search, data extraction and controlled browser automation for AI assistants via OAuth.
Related MCP Servers
- AlicenseBqualityDmaintenanceFacilitates web search capabilities using Perplexity's API, allowing users to retrieve search results through Claude's interface.18MIT
- AlicenseBqualityDmaintenanceEnables Large Language Models to perform real-time web searches using Google Custom Search API. Integrates with Claude Desktop to retrieve current information from the internet.21MIT
- AlicenseNot gradedqualityDmaintenanceEnables web search via Brave Search API with freshness filters, full page content fetching, and usage tracking. Designed for Claude integration.991 npmGPL 3.0
- AlicenseAqualityDmaintenanceEnables Claude to perform real-time web searches and fetch web page content via MCP, using OpenAI-compatible APIs with optional Tavily or Firecrawl engines.525 npm13MIT