DuckDuckGo Search with MCP Agent
@alihassanml
关于 DuckDuckGo Search with MCP Agent
This project demonstrates how to use DuckDuckGo MCP Server with a LangChain Groq LLM agent to perform intelligent search tasks via MCP (Micro Component Protocol).
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"Duckduckgo-with-MCP": {
"command": "uvx",
"args": [
"-y",
"duckduckgo-mcp-server"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is DuckDuckGo Search with MCP Agent?
DuckDuckGo Search with MCP Agent is a project that demonstrates how to use the DuckDuckGo MCP Server with a LangChain Groq LLM agent to perform intelligent search tasks via MCP (Micro Component Protocol). It is intended for developers building search-driven applications with agentic reasoning.
How to use DuckDuckGo Search with MCP Agent?
Clone the repository, install dependencies with pip install -r requirements.txt, set your GROQ_API_KEY in a .env file, install the MCP server via uvx -y duckduckgo-mcp-server, and run python main.py. The script starts an MCP client, connects to the DuckDuckGo MCP server, and uses the Groq LLM to perform a smart search.
Key features of DuckDuckGo Search with MCP Agent
- DuckDuckGo MCP Server integration
- Groq LLM (
deepseek-r1-distill-llama-70b) for reasoning - Async Python execution
- Simple and modular code structure
Use cases of DuckDuckGo Search with MCP Agent
- Performing intelligent web searches with an LLM agent
- Demonstrating MCP client-server integration with LangChain
- Building modular search pipelines that reason over results
FAQ from DuckDuckGo Search with MCP Agent
What dependencies are required?
The project requires libraries such as langchain_groq and python-dotenv, listed in requirements.txt. You also need uvx installed to run the DuckDuckGo MCP server.
What LLM model does the agent use?
The agent uses Groq's deepseek-r1-distill-llama-70b model for reasoning.
How do I get started quickly?
Set up your .env file with a valid GROQ_API_KEY, install all Python dependencies, and run python main.py. The script includes an example that searches for "the best restaurant in San Francisco."
What transport protocol does the server use?
The server uses MCP (Micro Component Protocol) over stdio, launched via the uvx command.
Is there a license for this project?
Yes, this project is licensed under the MIT License.
搜索 分类下的更多 MCP 服务器
Google Search MCP Server
mixelpixxMCP Server built for use with Claude Code, Claude Desktop, VS Code, Cline - enable google search and ability to follow links and research websites
Google Search Console MCP Server
ahonnA Model Context Protocol (MCP) server providing access to Google Search Console
Google Search Tool
web-agent-masterA Playwright-based Node.js tool that bypasses search engine anti-scraping mechanisms to execute Google searches. Local alternative to SERP APIs with MCP server integration.
Search Console Mcp
saurabhsharma2uSearch & analytics data as infrastructure — MCP server for Google Search Console, Bing Webmaster Tools, and GA4, designed for AI agents and automation.
Baidu AI Search
baidubceappbuilder-sdk, 千帆AppBuilder-SDK帮助开发者灵活、快速的搭建AI原生应用
评论