EZ Web Search MCP Server
A simple MCP server that provides web search functionality via DuckDuckGo, returning titles, URLs, and descriptions for results. Configurable result limit.
README
EZ Web Search MCP Server
A simple Model Context Protocol (MCP) server that provides web search functionality using DuckDuckGo.
Features
- Performs web searches via DuckDuckGo's HTML interface.
- Returns a list of search results including title, URL, and description.
- Configurable limit for the number of results.
Setup and Installation
This server is built with TypeScript and runs on Node.js.
-
Prerequisites:
- Node.js (v16 or newer recommended)
- npm (comes with Node.js)
- TypeScript (will be installed as a project dependency)
-
Clone/Download:
- Ensure this server's code is in its directory (e.g.,
~/.mcphub/servers/ez-web-search-mcp/).
- Ensure this server's code is in its directory (e.g.,
-
Install Dependencies:
- Navigate to the server's directory:
cd /path/to/ez-web-search-mcp # Example: cd ~/.mcphub/servers/ez-web-search-mcp - Install dependencies:
npm install
- Navigate to the server's directory:
-
Build the Server:
- Compile the TypeScript code:
npm run build - This will create a
builddirectory with the compiled JavaScript (build/index.js).
- Compile the TypeScript code:
Running the Server
This server is designed to be launched by an MCP client like mcphub.nvim via its stdio. The mcphub.nvim configuration in servers.json should point to the compiled build/index.js file.
Example entry for your MCP client's servers.json (e.g., ~/.config/mcphub/servers.json):
{
"mcpServers": {
// ... other servers ...
"ez-web-search-mcp": {
"command": "node",
"args": [
"/full/path/to/your/home/.mcphub/servers/ez-web-search-mcp/build/index.js"
// It's generally best to use an absolute path here.
],
"disabled": false
}
}
// ... other configurations ...
}
(Remember to replace /full/path/to/your/home/ with the actual absolute path to your home directory.)
Usage
Once the server is configured and running via an MCP client, it provides one tool:
- Tool Name:
search - Description: Performs a web search using DuckDuckGo and returns a list of results.
- Input Schema:
query(string, required): The search term.limit(number, optional, default: 10): Maximum number of results to return.
- Output:
- The tool returns an MCP content block, typically a series of text items, each representing a search result with its title, URL, and description.
Example MCP client call:
use_mcp_tool
server_name: "ez-web-search-mcp"
tool_name: "search"
tool_input:
query: "latest AI advancements"
limit: 5
Development
- Source code is in the
srcdirectory. - After making changes to
*.tsfiles, rebuild withnpm run build.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.