Claude MCP Custom Tools Server
Provides Claude Desktop with custom tools for math, web search (DuckDuckGo), Wikipedia, ArXiv, and simulated Airbnb searches via MCP.
README
๐ฆ 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
python -m venv .venv
Windows
.venv\Scripts\activate
macOS / Linux
source .venv/bin/activate
2๏ธโฃ Install required packages
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.
cd D:/mcp_server_Claude
python server.py
โ Expected behavior
- No errors
- Process stays running
- Press
CTRL + Cto 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
{
"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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.