npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-lmstudio

v0.1.1

Published

N8N nodes for LM Studio integration with JSON schema support

Readme

n8n-nodes-lmstudio

An n8n community node for LM Studio — run local LLMs with optional JSON schema for structured outputs.

Features

  • Dynamic model selector — fetches available models from your LM Studio server, shows loaded/unloaded state and quantization info
  • Structured JSON output — provide a JSON schema and get validated, parsed responses
  • Usable as a tool — can be used as a tool node in n8n AI agent workflows

Installation

In n8n (recommended)

  1. Go to Settings > Community Nodes
  2. Select Install a community node
  3. Enter n8n-nodes-lmstudio
  4. Agree to the risks and click Install

Manual

npm install n8n-nodes-lmstudio

Configuration

Credential: LM Studio API

| Field | Description | Default | |----------|------------------------------------------------|------------------------| | Host URL | LM Studio server URL with protocol and port | http://localhost:1234 | | API Key | Optional API key (leave empty if not required) | |

The credential tests connectivity by hitting your server's /api/v0/models endpoint.

Node: LM Studio Simple Message

| Parameter | Description | |-----------------|----------------------------------------------------------| | Model | Select from available LLM/VLM models on your server | | Message | The user message to send | | JSON Schema | Optional JSON schema for structured output | | Temperature | Controls randomness (0–2, default 0.3) | | Max Tokens | Maximum tokens to generate (empty = model default) | | Timeout | Request timeout in seconds (0 = no timeout) |

Development

npm install
npm run build
npm run dev          # start n8n with hot reload
npm run lint         # check for errors
npm test             # run unit tests
npm run test:integration  # run integration tests (requires LM Studio)

Integration tests require a running LM Studio server:

LM_STUDIO_URL=http://localhost:1234 npm run test:integration

Acknowledgments

This project was developed with assistance from Claude, Anthropic's AI assistant.

License

MIT