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

openl-mcp

v1.1.0

Published

MCP Server for OpenL Studio 6.3.0 Rules Management System

Readme

openl-mcp

Model Context Protocol server for OpenL Studio — the open-source Business Rules Management System.

Exposes OpenL Studio repositories, projects, rules tables, tests, and deployments as MCP tools and expert-guidance prompts, so Claude Desktop, Cursor, and any other MCP-compatible client can manage rules end-to-end.

Install

Run ad-hoc with npx (recommended for MCP clients) — pass your OpenL Studio URL as the argument:

npx -y openl-mcp http://localhost:8080

Or install globally:

npm install -g openl-mcp
openl-mcp http://localhost:8080

The base URL can also come from the OPENL_BASE_URL environment variable instead of the positional argument (the positional wins if both are set).

Requirements: Node.js ≥ 24 — or just Docker, see No Node.js? Use Docker.

Configure

Point the server at your OpenL Studio instance with a positional URL (preferred) or the OPENL_BASE_URL environment variable:

# Base URL as the positional argument (preferred)
npx -y openl-mcp http://localhost:8080

# …or via the environment variable
OPENL_BASE_URL=http://localhost:8080 npx -y openl-mcp

Authentication is optional — OpenL Studio single-user mode accepts unauthenticated requests. To authenticate, set a Personal Access Token (env var or matching CLI flag):

# Personal Access Token
OPENL_PERSONAL_ACCESS_TOKEN=<your-token>   # or --token

# Optional
OPENL_TIMEOUT=60000              # or --timeout

Full auth guide: Authentication.

Use with Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "openl": {
      "command": "npx",
      "args": ["-y", "openl-mcp", "<your-openl-studio-host>"],
      "env": {
        "OPENL_PERSONAL_ACCESS_TOKEN": "<your-token>"
      }
    }
  }
}

The base URL is passed as the positional argument. Alternatively, drop it from args and set OPENL_BASE_URL in env. The env block holds auth and is optional — omit it for single-user servers that don't require credentials.

For Claude Code (claude mcp add openl -- npx -y openl-mcp <url>), Cursor, and VS Code, see the Quick Start.

Use as a CLI (direct API calls, no MCP client)

The same binary can invoke any openl_* tool directly from the shell — useful for scripting, CI, and ad-hoc debugging without setting up an MCP client. CLI mode is agent-first: output defaults to markdown (LLM-friendly, same as the MCP server); pass response_format: "json" when you want to pipe into jq.

# Quick discovery (no config needed)
npx -y openl-mcp --help          # human catalog (tool titles)
npx -y openl-mcp --list-tools    # machine-readable JSON (name/title/schema)

# Single call — base URL as a positional argument (markdown by default).
# Tool names drop the openl_ prefix on the CLI (use list_repositories, not openl_list_repositories).
npx -y openl-mcp <host> list_repositories --token <pat>

# …or via env vars
OPENL_BASE_URL=<host> OPENL_PERSONAL_ACCESS_TOKEN=<pat> \
  npx -y openl-mcp list_repositories

# JSON for jq pipelines
npx -y openl-mcp <host> list_repositories '{"response_format":"json"}' --token <pat> | jq

See the CLI Guide for the full reference: configuration, all flags (--base-url, --token, --timeout, --cookie-jar), argument-passing modes (@file.json, --stdin), session handling for trace flows, recipes, exit codes, Windows notes, and troubleshooting.

Run with just a <url> (and no tool name) — or with no arguments at all (falling back to OPENL_BASE_URL) — to start the MCP server on stdio.

What you get

  • 40 active tools for repositories, projects, rules tables, tests, and deployments (all prefixed openl_)
  • 14 expert-guidance prompts (create_rule, deploy_project, run_test, …) for complex OpenL Studio workflows
  • Type-safe validation via Zod schemas
  • Multiple response formatsjson, markdown, markdown_concise, markdown_detailed

Details and tool reference: Usage Examples.

No Node.js? Use Docker

There's no custom image — run the package on the official Node image, with nothing installed but Docker:

docker run --rm -i node:lts-alpine npx -y openl-mcp http://host.docker.internal:8080

Use this as the command/args in your MCP client config (use host.docker.internal to reach an OpenL Studio on the host). For a one-command OpenL Studio + MCP stack, see the Docker setup guide.

Links

License

LGPL-3.0 — follows the OpenL Studio project license.