Skip to main content
Glama

Slim-MCP: Claude Tools 🤖

Python 3.11+ License: MIT GitHub stars Twitter Follow

🚀 Supercharge Claude with powerful Python-based tools via the MCP protocol

✨ Features

  • 🧮 Calculator: Perform complex math calculations

  • 🌦️ Weather: Get current weather forecasts and alerts

  • 🕒 DateTime: Access current time in local and UTC formats

  • 🔌 Extensible: Easily add custom tools with simple Python functions

  • 💻 Desktop Integration: Seamless integration with Claude Desktop app

  • 🖱️ Cursor IDE: Native integration with Cursor IDE for developers

Related MCP server: MCP Server with External Tools

📋 Table of Contents

🚀 Installation

Prerequisites

  • Python 3.11+

  • Conda (recommended)

# Create conda environment with Python 3.11
conda create -n mcp-tools python=3.11

# Activate environment
conda activate mcp-tools

# Clone the repository
git clone https://github.com/webdevtodayjason/slim-MCP.git
cd slim-MCP

# Install with uv (preferred)
uv pip install -e .

# OR install with standard pip
pip install -e .

🎮 Usage

Configure Claude

Add this to your Claude configuration file:

{
    "mcpServers": {
        "claude-tools": {
            "command": "/path/to/conda/envs/mcp-tools/bin/python",
            "args": ["-m", "claude_tools.main"]
        }
    }
}

Configure Cursor IDE

NAME: claude-tools
TYPE: command
COMMAND: /path/to/conda/envs/mcp-tools/bin/python -m claude_tools.main

Example Prompts

Can you calculate 25^3 + sqrt(196)?

What's the current time in UTC?

What's the weather like in Austin, TX?

🔌 Integrations

  • Claude AI Desktop: Primary integration via MCP protocol

  • Cursor IDE: Direct integration for development workflows

  • Claude Web: Compatible with Claude Web through configuration

💻 Development

Project Structure

slim-MCP/
├── src/
│   └── claude_tools/
│       ├── __init__.py
│       ├── calculator.py     # Math calculation tool
│       ├── datetime_tool.py  # Date and time utilities
│       ├── main.py           # Entry point
│       └── weather.py        # Weather forecasting tool
├── http_server.py            # HTTP server for MCP
├── pyproject.toml            # Project configuration
├── .gitignore                # Git ignore file
└── LICENSE                   # MIT License

Creating a New Tool

  1. Create a new Python file in src/claude_tools/:

# src/claude_tools/my_tool.py
def my_awesome_function(param: str) -> str:
    """Description of what this tool does.
    
    Args:
        param: Description of the parameter
        
    Returns:
        A string with the result
    """
    result = f"Processed: {param}"
    return result
    
def register_my_tools(mcp):
    """Register all my tools with the MCP server."""
    mcp.tool()(my_awesome_function)
  1. Import and register your tool in __init__.py:

# In src/claude_tools/__init__.py
from .calculator import register_calculator_tools
from .datetime_tool import register_datetime_tools
from .weather import register_weather_tools
from .my_tool import register_my_tools  # Add this line

def register_all_tools(mcp):
    register_calculator_tools(mcp)
    register_datetime_tools(mcp)
    register_weather_tools(mcp)
    register_my_tools(mcp)  # Add this line
  1. Restart the server and your new tool is ready to use!

👥 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository

  2. Create your feature branch (git checkout -b feature/amazing-feature)

  3. Commit your changes (git commit -m 'Add some amazing feature')

  4. Push to the branch (git push origin feature/amazing-feature)

  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Available Tools

5 tools
calculateB

Calculate the result of a mathematical expression. Args: expression: A mathematical expression as a string (e.g. "2 + 2", "sin(30)")

Inputs: expression (required). Returns: result

get_alertsB

Get weather alerts for a US state.

Inputs: state (required). Returns: result

get_current_timeB

Get the current date and time.

Inputs: no named parameters. Returns: result

get_current_utc_timeA

Get the current UTC date and time.

Inputs: no named parameters. Returns: result

get_forecastB

Get weather forecast for a location.

Inputs: latitude (required), longitude (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 5 tools

    Disambiguation4/5

    Most tools have distinct purposes (math calculation, weather alerts, time, weather forecast), but get_current_time and get_current_utc_time could be confused as they both retrieve time information with only a timezone difference. The descriptions clarify this, but the overlap exists.

    Naming Consistency5/5

    All tools follow a consistent verb_noun naming pattern (calculate, get_alerts, get_current_time, get_current_utc_time, get_forecast). The naming is predictable and readable throughout the set.

    Tool Count3/5

    With 5 tools, the count is reasonable, but it feels slightly thin for a server named 'Slim MCP' that mixes math, weather, and time domains. The scope is broad, yet the tool count is minimal, which might indicate under-coverage or a mismatch in purpose.

    Completeness2/5

    There are significant gaps in coverage across the implied domains. For math, only calculation is provided without other operations (e.g., graphing, unit conversion). For weather, alerts and forecast exist but lack current conditions or historical data. For time, two similar tools are included without broader time-related functions. This incompleteness will likely cause agent failures in extended tasks.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A modular, extensible FastAPI-based platform that aggregates multiple AI tools and microservices into a unified interface with standardized I/O formats, perfect for frontend integration or LLM system orchestration.
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI models to access external services including weather data, file system operations, and SQLite database interactions through a standardized JSON-RPC interface. Features production-ready architecture with security, rate limiting, and comprehensive error handling.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Multi-agent AI tools for email automation (Outlook), weather (OpenWeather API), sticky notes, and arithmetic, all served via FastMCP.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables dynamic tool registration and invocation via HTTP, with built-in tools for calculations, text processing, and async API calls, all in a lightweight Node.js server with zero external dependencies.
      MIT