Uses DuckDuckGo's search API to provide ethical, tracking-free web search results that Claude can incorporate into responses
Claude MCP Server
A lightweight bridge enabling Claude AI to search the web in real-time. This Flask-based server integrates Claude's advanced capabilities with DuckDuckGo search, allowing the AI to access current information during conversations.
Project Overview
This project implements a server that enables Claude to perform web searches during conversations. It consists of:
- MCP Server: A Flask server that handles tool calls and performs web searches
- Claude Integration: A client that connects to Claude's API and manages tool use capabilities
- Command-line Interface: A simple way to interact with Claude + web search capabilities
Features
- 🔍 Web Search Integration: Allows Claude to search for information on the web
- 🤖 Claude 3 API Support: Works with Claude's latest models and tool use features
- 🌐 DuckDuckGo Search: Uses DuckDuckGo for ethical, tracking-free search results
- ⚡ Fast Responses: Streamlined architecture for quick information retrieval
- 💬 Natural Conversation: Claude can seamlessly incorporate web search results into conversations
Setup Instructions
Prerequisites
- Python 3.9 or higher
- Claude API key
Installation
- Clone this repository
- Install dependencies:
- Set your Claude API key:
Running the Server
- Start the MCP server:The server will run on port 5001 by default.
- Interact with Claude:
Architecture
API Endpoints
GET /health
: Health check endpointGET /
: Server info and available endpointsPOST /tool_call
: Process tool calls from Claude
Usage Examples
Ask Claude about current events:
Ask about technical topics:
License
MIT
Acknowledgements
- Anthropic for Claude AI
- DuckDuckGo for search API
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A lightweight Flask-based server that enables Claude AI to perform real-time web searches via DuckDuckGo during conversations, allowing the AI to access current information.
Related MCP Servers
- AsecurityAlicenseAqualityA server facilitating web search functionality by utilizing Perplexity AI's API, designed to integrate with the Claude desktop client for enhanced search queries.Last updated -1205PythonMIT License
- -securityAlicense-qualityA modular server implementation for Claude AI assistants with integrated tools, enabling Claude to perform actions and access external resources like file systems, web searches, browser automation, financial data, and document generation.Last updated -86PythonMIT License
- -securityAlicense-qualityA server that integrates with Claude Desktop to enable real-time web research capabilities, allowing users to search Google, extract webpage content, and capture screenshots directly from conversations.Last updated -525MIT License
- -securityAlicense-qualityA server that enables AI assistants like Claude to perform web searches using the Exa AI Search API, providing real-time web information in a safe and controlled way.Last updated -6,082MIT License