Claude MCP Server
Uses DuckDuckGo's search API to provide ethical, tracking-free web search results that Claude can incorporate into responses
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 MCP Serversearch for the latest news about AI developments"
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 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
Related MCP server: DuckDuckGo MCP Server
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:
pip install -r requirements.txtSet your Claude API key:
# On Windows $env:CLAUDE_API_KEY = "your-api-key" # On Linux/Mac export CLAUDE_API_KEY="your-api-key"
Running the Server
Start the MCP server:
python mcp_server.pyThe server will run on port 5001 by default.
Interact with Claude:
python ask_claude.py "your question here"
Architecture
βββββββββββββββ βββββββββββββββββ βββββββββββββββββ
β User Query ββββββΆβ Claude Client ββββββΆβ Claude API β
βββββββββββββββ βββββββββ¬ββββββββ βββββββββ¬ββββββββ
β β
β β
β βΌ
β βββββββββββββββββ
β β Tool Call β
β βββββββββ¬ββββββββ
β β
βΌ β
βββββββββββββββββ β
β MCP Server ββββββββββββββ
βββββββββ¬ββββββββ
β
βΌ
βββββββββββββββββ
β Web Search β
βββββββββββββββββ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:
python ask_claude.py "What happened in the world today?"Ask about technical topics:
python ask_claude.py "Explain the latest advancements in quantum computing"License
MIT
Acknowledgements
Anthropic for Claude AI
DuckDuckGo for search API
This server cannot be deployed
Maintenance
Related MCP Connectors
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
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.
Google, Bing, DuckDuckGo and Google Maps search results, free without an API key.
Related MCP Servers
- AlicenseBqualityFmaintenanceA server facilitating web search functionality by utilizing Perplexity AI's API, designed to integrate with the Claude desktop client for enhanced search queries.1307MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides DuckDuckGo search functionality for Claude, enabling web search capabilities through a clean tool interface with rate limiting support.11,546 npm87MIT
- AlicenseBqualityDmaintenanceA 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.3999 npmMIT
- AlicenseAqualityCmaintenanceA 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.230,797 npmMIT