Claude MCP Custom Tools Server

Claude MCP Custom Tools Server

Provides Claude Desktop with custom tools for math, web search (DuckDuckGo), Wikipedia, ArXiv, and simulated Airbnb searches via MCP.

Category
Visit Server

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 + 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

{
  "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

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured