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

llm-check

v0.0.3

Published

Test LLM APIs with MCP tools - benchmark reliability and prompt adherence

Readme

llm-check

Test LLM API responses for reliability and prompt adherence when MCP (Model Context Protocol) tools are in the context. Run single tests with manual verification or benchmark mode for statistical analysis.

Installation

No installation required. Use bunx to run directly:

bunx llm-check --help

Requires Bun runtime.

Usage

MCP Check - Test Groq Responses API with MCP tools

Tests prompt adherence and reliability when MCP tools are in the context.
Supports single run (manual verification) and benchmark mode (statistical analysis).

Requirements:
  - Bun runtime (https://bun.sh)
  - Environment variables: GROQ_API_KEY

Usage:
  Single run:
    bunx llm-check -p "<prompt>" -m <model> -S "<label>:<url>" [-S "<label>:<url>" ...] [-x "<expectation>" ...]

  Benchmark mode:
    bunx llm-check -p "<prompt>" -m <model> -S "<label>:<url>" -n <runs> [-c <concurrency>] [-x "<expectation>" ...]

Arguments:
  -p <prompt>          Prompt text to send to the API (required)
  -m <model>           Model to use (required)
                       Common models: openai/gpt-oss-20b, openai/gpt-oss-120b, emberglow/small
  -S <label:url>       MCP server as "label:url" (multiple allowed, optional)
  -x <expectation>     Expected text in <answer> block (multiple allowed)
  -n <count>           Number of runs (default: 1)
  -c <concurrency>     Number of concurrent runs (default: 1)
  --prod               Use production API (https://api.groq.com) instead of localhost
  --base-url <url>     API base URL (default: http://localhost:8000, or https://api.groq.com with --prod)
  --endpoint <path>    API endpoint (default: /api/openai/v1/chat/completions)
  --header <header>    Custom header (multiple allowed)
  --help               Show this help message

Examples:
  # Single run with multiple servers
  bunx llm-check -p "What is the title?" \
    -m openai/gpt-oss-20b \
    -S "PPT:http://localhost:9001/sse" \
    -S "Word:http://localhost:9003/sse" \
    -x "slide"

  # Benchmark with custom headers
  bunx llm-check -p "What is trending?" \
    -m emberglow/small \
    -S "HF:https://huggingface.co/mcp" \
    --header "Groq-Model-Version: mcp-in-progress-preview" \
    -n 100 -c 8

Features

  • Single Run Mode: Execute one test and see the full response with colored output
  • Benchmark Mode: Run multiple tests concurrently and analyze pass rates
  • Expectation Checking: Define expected text that should appear in response <answer> blocks
  • MCP Tool Support: Test LLM responses when MCP tools are available in context
  • Flexible Configuration: Custom API endpoints, headers, and base URLs

License

MIT