Claude MCP Custom Tools Server
README.md
# ๐ฆ Claude MCP Custom Tools Server (Python)
This project implements a **Model Context Protocol (MCP) server** in **Python** that connects to **Claude Desktop** and exposes multiple custom tools such as:
* ๐ Airbnb (simulated search)
* ๐ DuckDuckGo web search
* ๐ Wikipedia search
* ๐ ArXiv research papers
* โโ Custom math tools (add, multiply)
Claude can automatically invoke these tools via MCP using **stdio** communication.
---
## ๐ Project Structure
```
mcp_server_Claude/
โ
โโโ .venv/ # Python virtual environment
โ
โโโ tools/ # All MCP tools
โ โโโ __init__.py
โ โโโ airbnb.py # Simulated Airbnb tool
โ โโโ arxiv.py # ArXiv research tool
โ โโโ ddg.py # DuckDuckGo search
โ โโโ maths.py # Add & Multiply tools
โ โโโ wiki.py # Wikipedia search
โ
โโโ server.py # Main MCP server entry point
โโโ requirements.txt # Python dependencies
โโโ README.md
```
---
## โ๏ธ Requirements
* Python **3.10+**
* Claude Desktop (latest)
* Windows / macOS / Linux
---
## ๐ฆ Install Dependencies
### 1๏ธโฃ Create & activate virtual environment
```bash
python -m venv .venv
```
**Windows**
```bash
.venv\Scripts\activate
```
**macOS / Linux**
```bash
source .venv/bin/activate
```
---
### 2๏ธโฃ Install required packages
```bash
pip install -r requirements.txt
```
---
## ๐ ๏ธ Tools Included
### โโ Math Tools
* `add(a, b)`
* `multiply(a, b)`
### ๐ DuckDuckGo
* Web search without API key
### ๐ Wikipedia
* Short factual summaries
### ๐ ArXiv
* Academic research paper search
### ๐ Airbnb
* Simulated listing search (demo purpose)
---
## ๐ How to Run MCP Server (Local Test)
Before connecting Claude, **always test locally**.
```bash
cd D:/mcp_server_Claude
python server.py
```
### โ
Expected behavior
* No errors
* Process stays running
* Press `CTRL + C` to stop
If it crashes, Claude will also fail to connect.
---
## ๐ Claude Desktop MCP Configuration
### ๐ Config file location (Windows)
```
%APPDATA%\Claude\claude_desktop_config.json
```
---
### โ
MCP Server Configuration
```json
{
"mcpServers": {
"custom-tools": {
"command": "D:/mcp_server_Claude/.venv/Scripts/python.exe",
"args": ["D:/mcp_server_Claude/server.py"]
}
}
}
```
---
### ๐ Restart Claude Desktop
Fully close and reopen Claude after editing the config.
---
## ๐งช Testing in Claude
Try any of the following prompts:
```
Add 15 and 25
```
```
Multiply 6 and 7
```
```
Search DuckDuckGo for latest AI agent frameworks
```
```
Find arxiv papers on LLM agents
```
```
Search Airbnb in Bangalore for 2 guests
```
Claude will automatically call the appropriate tool.
---
Author: Husen Basha
---This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo issues