- Home
- MCP servers
- Claude
Claude
- python
1
GitHub Stars
python
Language
4 months ago
First Indexed
3 weeks ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"risherb-claude_mcp_server": {
"command": "python",
"args": [
"mcp_server.py"
],
"env": {
"CLAUDE_API_KEY": "YOUR_API_KEY"
}
}
}
}You run a lightweight MCP server that lets Claude search the web in real time and incorporate current information into conversations. It bridges Claude's capabilities with DuckDuckGo searches, enabling faster, more accurate answers during your chats.
How to use
Start the Claude MCP Server locally and connect a Claude client to it. Run the server first, then query Claude through the client to perform web searches as part of your conversations.
How to install
Prerequisites: Python 3.9 or higher and a Claude API key.
Install the MCP server dependencies and run the server using the following steps.
pip install -r requirements.txt
# On Windows
$env:CLAUDE_API_KEY = "your-api-key"
# On Linux/Mac
export CLAUDE_API_KEY="your-api-key"
Additional notes and configuration
The server exposes a health endpoint and a simple info endpoint to help you verify status and available features. It uses a local runtime command to launch the MCP server and a separate CLI to interact with Claude.
Environment variables to configure include the Claude API key, which you set before starting the server.
Running and interacting with Claude
Start the MCP server from your project directory.
python mcp_server.py
The server will run on port 5001 by default.
Interact with Claude through the provided CLI to ask questions and trigger web searches during conversations.
## Available tools
### web\_search
Enables Claude to perform web searches during conversations via the MCP server, pulling results from DuckDuckGo.
### claude\_api
Manages the connection to Claude's API and coordinates tool usage within interactions.