LMStudio Toolpack

v1.0.0Developer Toolsstable

A MCP stdio toolpack for local LLMs

llmlmstudiomcp-servermcp-serversmcp-tools
Share:
32
Stars
0
Downloads
0
Weekly
0/5

What is LMStudio Toolpack?

LMStudio Toolpack is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp stdio toolpack for local llms

A MCP stdio toolpack for local LLMs

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A MCP stdio toolpack for local LLMs

Use Cases

Run local LLMs
Integrate local AI
Build offline applications
ZihaoFU245

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 16, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx lmstudio-toolpack

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use LMStudio Toolpack

LMStudio Toolpack is a collection of three MCP stdio servers designed to augment local LLMs with real-world capabilities: web search via DuckDuckGo, sandboxed Python code execution (with NumPy and SymPy), and lightweight long-term memory. It is built with Python and managed via uv, making it straightforward to run alongside LM Studio or any MCP-compatible client. Developers building offline-first AI applications can use it to give their local models the ability to search the web, run computations, and retain notes across sessions.

Prerequisites

  • Python 3.13 or later installed
  • uv package manager installed (pip install uv or see docs.astral.sh/uv)
  • LM Studio or any MCP-compatible client (Claude Desktop, Cursor, etc.)
  • Optional: set PYTHON_SANDBOX_LOG_PATH if you want audit logs of sandbox executions
1

Clone the repository

Clone the lmstudio-toolpack repository to your local machine and enter the project directory.

git clone https://github.com/ZihaoFU245/lmstudio-toolpack.git
cd lmstudio-toolpack
2

Install dependencies with uv

Use uv to sync all Python dependencies declared in the project. Python 3.13+ is required.

uv sync
3

Run the configuration wizard

Execute the main wizard to generate an mcp.json configuration file that your MCP client can consume. The wizard outputs stdio command/args entries for each of the three servers.

uv run python main.py
4

Configure your MCP client

Add the generated server entries to your MCP client config. Below is an example for Claude Desktop referencing the Python sandbox server. Adjust the path to match your clone location.

{
  "mcpServers": {
    "python-sandbox": {
      "command": "python",
      "args": ["/path/to/lmstudio-toolpack/python-sandbox.py"],
      "env": {
        "PYTHON_SANDBOX_LOG_PATH": "/tmp/sandbox-audit.jsonl"
      }
    },
    "web-search": {
      "command": "python",
      "args": ["/path/to/lmstudio-toolpack/web_search.py"]
    },
    "longterm-memory": {
      "command": "python",
      "args": ["/path/to/lmstudio-toolpack/longterm_memory.py"]
    }
  }
}
5

Verify each server individually

You can start each server manually to confirm it launches without errors before connecting your client.

python python-sandbox.py

LMStudio Toolpack Examples

Client configuration

Claude Desktop configuration showing all three toolpack servers. Replace /path/to/lmstudio-toolpack with your actual clone path.

{
  "mcpServers": {
    "python-sandbox": {
      "command": "python",
      "args": ["/path/to/lmstudio-toolpack/python-sandbox.py"],
      "env": {
        "PYTHON_SANDBOX_LOG_PATH": "/tmp/sandbox-audit.jsonl"
      }
    },
    "web-search": {
      "command": "python",
      "args": ["/path/to/lmstudio-toolpack/web_search.py"]
    },
    "longterm-memory": {
      "command": "python",
      "args": ["/path/to/lmstudio-toolpack/longterm_memory.py"]
    }
  }
}

Prompts to try

Sample prompts that exercise the three servers after connecting your MCP client.

- "Search the web for the latest Python 3.14 release notes and summarize the key changes."
- "Run this Python code: import sympy; x = sympy.Symbol('x'); print(sympy.diff(x**3 + 2*x, x))"
- "Remember that my project deadline is June 30th so you can refer to it later."
- "What notes do you have stored in long-term memory about my projects?"

Troubleshooting LMStudio Toolpack

uv sync fails with 'Python 3.13 not found'

Install Python 3.13+ via your system package manager or from python.org, then re-run uv sync. You can also use 'uv python install 3.13' if your uv version supports it.

Python sandbox server crashes when executing code with NumPy

Ensure uv sync completed successfully and all optional dependencies were installed. Run 'uv run python -c "import numpy"' to verify the environment is intact.

MCP client cannot connect to the server

Confirm the path to each .py file in your config is an absolute path. Check that the Python executable used in the command field matches the one in your uv virtual environment (typically .venv/bin/python).

Frequently Asked Questions about LMStudio Toolpack

What is LMStudio Toolpack?

LMStudio Toolpack is a Model Context Protocol (MCP) server that mcp stdio toolpack for local llms It connects AI assistants to external tools and data sources through a standardized interface.

How do I install LMStudio Toolpack?

Follow the installation instructions on the LMStudio Toolpack GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with LMStudio Toolpack?

LMStudio Toolpack works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is LMStudio Toolpack free to use?

Yes, LMStudio Toolpack is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "lmstudio-toolpack": { "command": "npx", "args": ["-y", "lmstudio-toolpack"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use LMStudio Toolpack?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides