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
- Start LM Studio on port 1234
- Load a model
- Run
lmstudio_bridge.py
- In Claude, connect to the MCP server
Available Functions
- Health Check
- List Models
- Get Current Model
- Chat Completion