LMStudio-MCP

LMStudio-MCP

50

LMStudio-MCP is a Model Control Protocol server that integrates Claude with locally running LM models via LM Studio, allowing health checks, model listings, and text generation. It serves as a bridge to combine local model processing with Claude's interface.

Overview

LMStudio-MCP creates a bridge between Claude and your locally running LM Studio instance, enabling:

  • Health checks of LM Studio API
  • Listing available models
  • Getting the currently loaded model
  • Generating completions using local models

This allows leveraging local models with Claude's interface.

Prerequisites

  • Python 3.7+
  • LM Studio installed
  • Claude with MCP access

Usage

  1. Start LM Studio on port 1234
  2. Load a model
  3. Run lmstudio_bridge.py
  4. In Claude, connect to the MCP server

Available Functions

  • Health Check
  • List Models
  • Get Current Model
  • Chat Completion