Skip to main content
Glama

スリムMCP: クロードツール🤖

🚀 MCP プロトコルを介して強力な Python ベースのツールで Claude を強化します

✨ 特徴

  • 🧮計算機:複雑な数学計算を実行する
  • 🌦️天気: 現在の天気予報と警報を取得します
  • 🕒 DateTime : ローカルおよび UTC 形式で現在の時刻にアクセスします
  • 🔌拡張可能: シンプルな Python 関数を使用してカスタムツールを簡単に追加できます
  • 💻デスクトップ統合:Claudeデスクトップアプリとのシームレスな統合
  • 🖱️ Cursor IDE : 開発者向け Cursor IDE とのネイティブ統合

📋 目次

🚀 インストール

前提条件

  • Python 3.11以上
  • Conda(推奨)

Conda を使用したセットアップ (推奨)

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

🎮 使用方法

クロードを設定する

Claude 構成ファイルに以下を追加します。

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

カーソルIDEの設定

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

プロンプトの例

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

🔌 統合

  • Claude AI Desktop : MCPプロトコルによるプライマリ統合
  • カーソルIDE :開発ワークフローへの直接統合
  • Claude Web : 設定によりClaude Webと互換性あり

💻 開発

プロジェクト構造

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

新しいツールの作成

  1. src/claude_tools/に新しい Python ファイルを作成します。
# 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. __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. サーバーを再起動すると、新しいツールが使用できるようになります。

👥 貢献する

貢献を歓迎します!お気軽にプルリクエストを送信してください。

  1. リポジトリをフォークする
  2. 機能ブランチを作成します( git checkout -b feature/amazing-feature
  3. 変更をコミットします ( git commit -m 'Add some amazing feature' )
  4. ブランチにプッシュする ( git push origin feature/amazing-feature )
  5. プルリクエストを開く

📄 ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。


Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

AI エージェントや自動化されたワークフローとの統合を目的として設計された、RESTful インターフェースを通じて天気、日付/時刻、計算機、検索、電子メール、タスク管理などの便利なツールを提供する軽量のモジュール式 API サービスです。

  1. ✨ 特徴
    1. 📋 目次
      1. 🚀 インストール
        1. 前提条件
        2. Conda を使用したセットアップ (推奨)
      2. 🎮 使用方法
        1. クロードを設定する
        2. カーソルIDEの設定
        3. プロンプトの例
      3. 🔌 統合
        1. 💻 開発
          1. プロジェクト構造
          2. 新しいツールの作成
        2. 👥 貢献する
          1. 📄 ライセンス

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              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.
              Last updated -
              2
              Python
              MIT License
            • -
              security
              F
              license
              -
              quality
              A powerful interface for extending AI capabilities through remote control, calculations, email operations, knowledge search, and more.
              Last updated -
              34
              Python
            • -
              security
              F
              license
              -
              quality
              A standardized API server that enables AI agents and client applications to fetch current weather information for any location without directly interacting with external weather APIs.
              Last updated -
              Python
              • Apple
              • Linux
            • -
              security
              A
              license
              -
              quality
              Provides integration with Apache Airflow's REST API, allowing AI assistants to programmatically interact with Airflow workflows, monitor DAG runs, and manage tasks.
              Last updated -
              JavaScript
              MIT License

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/webdevtodayjason/slim-MCP'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server