Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

mcp-tool-builder

MCP.Pizza Chef: hanweg

The mcp-tool-builder is an MCP server designed to empower large language models (LLMs) to dynamically create new tools on demand. Through MCP clients like Claude Desktop, users can describe desired tools in natural language, which the server then generates as Python scriptlets saved locally. This capability allows for rapid extension of LLM functionality without manual coding. Included example tools fetch Bitcoin prices and weather forecasts. New tools require a client restart to activate. This server is ideal for developers seeking flexible, on-the-fly tool creation integrated into their AI workflows.

Use This MCP server To

Dynamically generate custom tools via natural language Extend LLM capabilities without manual coding Save and reuse generated Python scriptlet tools Integrate new tools into MCP clients like Claude Desktop Automate tool creation for data fetching tasks Rapidly prototype AI-enhanced utilities

README

WORK IN PROGRESS - USE WITH CAUTION - Windows

MCP Tool Builder

An MCP server that empowers LLMs to dynamically create new tools through MCP clients such as Claude Desktop.

mcp-tool-builder MCP server

Features

  • Create new tools by describing them in natural language
    • Requires client restart to use new tools (Claude Desktop)
  • New tools are saved as python scriptlets in ...\mcp-tool-builder\tools
  • New tool definitions are saved in ...\mcp-tool-builder\tools\tools.json

Example tools included at installation

  • get_bitcoin_price: Fetches current Bitcoin price from CoinGecko
  • get_weather_forecast: Gets weather for US ZIP codes (uses geopy)

Creating New Tools

Use the create_tool command in Claude Desktop (or suggest strongly!!) to create new tools dynamically

Installation

  1. Clone this repository
  2. Install dependencies:
cd mcp-tool-builder
uv venv
.venv\Scripts\activate
uv pip install -e .

Usage with Claude Desktop

Add to claude_desktop_config.json:

{
    "mcpServers": {
        "tool-builder": {
            "command": "uv",
            "args": [
                "--directory", 
                "PATH_TO\\mcp-tool-builder",
                "run",
                "tool-builder"
            ]
        }
    }
}

Screenshot 2024-12-24 105318

image

mcp-tool-builder FAQ

How do I create a new tool with mcp-tool-builder?
Use the create_tool command in an MCP client like Claude Desktop to describe the tool in natural language; the server generates and saves it as a Python scriptlet.
Where are the newly created tools stored?
New tools are saved as Python scriptlets in the ...\mcp-tool-builder\tools directory, with their definitions recorded in tools.json.
Do I need to restart the client after creating a new tool?
Yes, a client restart (e.g., Claude Desktop) is required to load and use newly created tools.
What example tools come pre-installed?
Example tools include get_bitcoin_price, which fetches Bitcoin prices from CoinGecko, and get_weather_forecast, which retrieves weather data for US ZIP codes.
Is mcp-tool-builder compatible with multiple MCP clients?
While primarily demonstrated with Claude Desktop, it can work with any MCP client that supports dynamic tool loading.
What programming language are the generated tools written in?
The tools are generated as Python scriptlets, enabling easy customization and extension.
Are there any platform limitations?
Currently, the server is marked as a work in progress and tested on Windows; usage on other platforms may require adjustments.
How do I install mcp-tool-builder?
Clone the repository, install dependencies as per the README, and run the server to start creating tools.