Slim MCP

by webdevtodayjason
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • The MCP server project is hosted on GitHub, allowing users to clone the repository, contribute via pull requests, and star the project

  • Built on Python 3.11+ and provides an extensible framework for creating custom Python-based tools for Claude

Slim-MCP: Herramientas Claude 🤖

🚀 Potencie a Claude con potentes herramientas basadas en Python a través del protocolo MCP

✨ Características

  • Calculadora : Realiza cálculos matemáticos complejos
  • 🌦️ El tiempo : obtén previsiones meteorológicas y alertas actuales
  • 🕒 DateTime : Accede a la hora actual en formatos local y UTC
  • 🔌 Extensible : agregue fácilmente herramientas personalizadas con funciones simples de Python
  • 💻 Integración de escritorio : Integración perfecta con la aplicación de escritorio Claude
  • 🖱️ Cursor IDE : Integración nativa con Cursor IDE para desarrolladores

📋 Índice de contenidos

🚀 Instalación

Prerrequisitos

  • Python 3.11+
  • Conda (recomendado)

Configuración con Conda (recomendado)

# 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 .

🎮 Uso

Configurar Claude

Agregue esto a su archivo de configuración de Claude:

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

Configurar Cursor IDE

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

Ejemplos de indicaciones

Can you calculate 25^3 + sqrt(196)? What's the current time in UTC? What's the weather like in Austin, TX?

🔌 Integraciones

  • Claude AI Desktop : Integración primaria mediante el protocolo MCP
  • Cursor IDE : Integración directa para flujos de trabajo de desarrollo
  • Claude Web : Compatible con Claude Web mediante configuración

💻 Desarrollo

Estructura del proyecto

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

Creando una nueva herramienta

  1. Crea un nuevo archivo Python en 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. Importa y registra tu herramienta en __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. ¡Reinicie el servidor y su nueva herramienta estará lista para usar!

👥 Contribuyendo

¡Agradecemos sus contribuciones! No dude en enviar una solicitud de incorporación de cambios.

  1. Bifurcar el repositorio
  2. Crea tu rama de funciones ( git checkout -b feature/amazing-feature )
  3. Confirme sus cambios ( git commit -m 'Add some amazing feature' )
  4. Empujar a la rama ( git push origin feature/amazing-feature )
  5. Abrir una solicitud de extracción

📄 Licencia

Este proyecto está licenciado bajo la licencia MIT: consulte el archivo de LICENCIA para obtener más detalles.


-
security - not tested
A
license - permissive license
-
quality - not tested

Un servicio de API liviano y modular que proporciona herramientas útiles como clima, fecha/hora, calculadora, búsqueda, correo electrónico y gestión de tareas a través de una interfaz RESTful, diseñada para la integración con agentes de IA y flujos de trabajo automatizados.

  1. ✨ Features
    1. 📋 Table of Contents
      1. 🚀 Installation
        1. Prerequisites
        2. Setup with Conda (Recommended)
      2. 🎮 Usage
        1. Configure Claude
        2. Configure Cursor IDE
        3. Example Prompts
      3. 🔌 Integrations
        1. 💻 Development
          1. Project Structure
          2. Creating a New Tool
        2. 👥 Contributing
          1. 📄 License
            ID: bwn81lj137