Description

A Model Control Protocol server that allows Claude to communicate with locally running LLM models via LM Studio.

Installation

npx -y lmstudio-mcp
npm install lmstudio-mcp
git clone https://github.com/infinitimeless/LMStudio-MCP

Claude Desktop Configuration

Add this configuration to your Claude Desktop config file to enable this MCP server:

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json

Config file location: %APPDATA%\Claude\claude_desktop_config.json

Config file location: ~/.config/Claude/claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "lm-studio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "lmstudio-mcp"
      ]
    }
  }
}