MCP.so
登录
服务器

Claude MCP Server

@risherb

概览

What is Claude MCP Server?

A lightweight Flask-based bridge that enables Claude AI to search the web in real-time using DuckDuckGo, designed for users who want Claude to access current information during conversations.

How to use Claude MCP Server?

Install Python 3.9+, clone the repo, run pip install -r requirements.txt, set the CLAUDE_API_KEY environment variable, start the MCP server with python mcp_server.py (default port 5001), then interact via python ask_claude.py "your question".

Key features of Claude MCP Server

  • Web search integration for real-time information
  • Supports Claude 3 API and tool use capabilities
  • Uses DuckDuckGo for ethical, tracking-free search
  • Streamlined architecture for quick information retrieval
  • Claude naturally incorporates search results into conversations

Use cases of Claude MCP Server

  • Ask Claude about current world events or news
  • Query the latest technical advancements (e.g., quantum computing)
  • Retrieve up-to-date information during a conversation
  • Augment Claude’s knowledge with live web data

FAQ from Claude MCP Server

What are the prerequisites?

Python 3.9 or higher and a valid Claude API key set as the CLAUDE_API_KEY environment variable.

How do I start the server?

Run python mcp_server.py in the project directory; the server listens on port 5001 by default.

What search engine does the server use?

It uses DuckDuckGo for search, providing ethical and tracking‑free results.

How do I ask a question to Claude via the server?

Use the command python ask_claude.py "your question here" from the terminal.

What API endpoints are available?

GET /health for health checks, GET / for server info, and POST /tool_call to process tool calls from Claude.

来自「AI 与智能体」的更多内容