Skip to main content
Glama

Linear Regression MCP

by HeetVekariya

線形回帰MCP

線形回帰 MCPへようこそ!このプロジェクトでは、Claude とモデルコンテキストプロトコル (MCP) を使用して、エンドツーエンドの機械学習ワークフローを実証します。

Claudeは、データセットを含むCSVファイルをアップロードするだけで、線形回帰モデルを完全に自動学習できます。システムは、データの前処理、学習、評価(RMSE計算)といったMLモデルの学習ライフサイクル全体を実行できます。

セットアップとインストール

1. リポジトリのクローンを作成します。

まず、リポジトリを��ーカル マシンにクローンします。

git clone https://github.com/HeetVekariya/Linear-Regression-MCP cd Linear-Regression-MCP

2. uvをインストールします。

uv 、Rust で書かれた非常に高速な Python パッケージおよびプロジェクトマネージャーです。このプロジェクトにおけるサーバーと依存関係の管理に不可欠です。

  • ここからuvをダウンロードしてインストールします。

3. 依存関係をインストールします。

uv がインストールされたら、次のコマンドを実行して必要な依存関係をすべてインストールします。

uv sync

4. Claude Desktop を構成する:

サーバーをClaude Desktopと統合するには、Claudeの設定ファイルを変更する必要があります。お使いのオペレーティングシステムの手順に従ってください。

  • macOS または Linux の場合:
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
  • Windowsの場合:
code $env:AppData\Claude\claude_desktop_config.json
  • 設定ファイル内のmcpServersセクションを見つけ、プレースホルダーパスをuvインストールディレクトリと線形回帰プロジェクトディレクトリへの絶対パスに置き換えます。以下のようになります。
{ "mcpServers": { "linear-regression": { "command": "ABSOLUTE/PATH/TO/.local/bin/uv", "args": [ "--directory", "ABSOLUTE/PATH/TO/YOUR-LINEAR-REGRESSION-REPO", "run", "server.py" ] } } }
  • ファイルを保存したら、Claude Desktop を再起動して MCP サーバーにリンクします。

利用可能なツール

このプロジェクトでは、データセットの操作とモデルのトレーニングに役立つ次のツールが利用できます。

道具説明議論
upload_file(path)CSV ファイルをアップロードし、処理のために保存します。path : CSV ファイルへの絶対パス。
get_columns_info()アップロードされたデータセット内の列名を取得します。議論はありません。
check_category_columns()データセット内のカテゴリ列をチェックします。議論はありません。
label_encode_categorical_columns()ラベルはカテゴリ列を数値にエンコードします。議論はありません。
train_linear_regression_model(output_column)線形回帰モデルをトレーニングし、RMSE を計算します。output_column : ターゲット列の名前。

寄稿を募集中

このプロジェクトへの貢献を歓迎します!バグ修正、新機能の追加、ドキュメントの改善など、何でもお気軽にリポジトリをフォークしてプルリクエストを送信してください。

ご提案や機能のリクエストがある場合は、問題を報告していただければ、喜んで話し合います。

Install Server
A
security – no known vulnerabilities
F
license - not found
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.

Claude が CSV ファイルをアップロードするだけで線形回帰モデルをトレーニングし、データの前処理からモデル評価までの ML パイプライン全体を処理できるようにする MCP サーバー。

  1. セットアップとインストール
    1. 1. リポジトリのクローンを作成します。
    2. 2. uvをインストールします。
    3. 3. 依存関係をインストールします。
    4. 4. Claude Desktop を構成する:
  2. 利用可能なツール
    1. 寄稿を募集中

      Related MCP Servers

      • -
        security
        F
        license
        -
        quality
        A Model Context Protocol server built with mcp-framework that allows users to create and manage custom tools for processing data, integrating with the Claude Desktop via CLI.
        Last updated -
        23
        5
        TypeScript
        • Apple
      • -
        security
        A
        license
        -
        quality
        A Python-based MCP server that allows Claude and other LLMs to execute arbitrary Python code directly through your desktop Claude app, enabling data scientists to connect LLMs to APIs and executable code.
        Last updated -
        26
        MIT License
        • Apple
        • Linux
      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol server that enables Claude to load CSV files and execute JavaScript data analysis scripts for advanced data exploration and insights generation.
        Last updated -
        2
        7
        Python
        MIT License
      • -
        security
        F
        license
        -
        quality
        An MCP server that allows Claude to interact with local LLMs running in LM Studio, providing access to list models, generate text, and use chat completions through local models.
        Last updated -
        8
        Python

      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/HeetVekariya/Linear-Regression-MCP'

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