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

superdb-mcp

v0.51231.6

Published

MCP server for SuperDB - execute SuperSQL queries, version detection, and embedded documentation

Downloads

636

Readme

SuperDB MCP Server

An MCP (Model Context Protocol) server for SuperDB that enables AI assistants to better compose SuperSQL queries, optionally backed by an LSP.

About

SuperDB is the successor to zq from Brim Data. As of Jan 2026, it is still in pre-release with limited public documentation, so LLMs have little knowledge of its syntax. This MCP server provides the context AI assistants need to write correct queries.

Installation

Add to your Claude Code settings (~/.claude/settings.json) or project .mcp.json:

{
  "mcpServers": {
    "superdb": {
      "command": "npx",
      "args": ["-y", "superdb-mcp"]
    }
  }
}

Or install globally:

npm install -g superdb-mcp
{
  "mcpServers": {
    "superdb": {
      "command": "superdb-mcp"
    }
  }
}

From Source

git clone https://github.com/chrismo/superdb-mcp.git
cd superdb-mcp
npm install
npm run build
{
  "mcpServers": {
    "superdb": {
      "command": "node",
      "args": ["/path/to/superdb-mcp/dist/index.js"]
    }
  }
}

Tools

Query Tools

super_query

Execute a SuperSQL query on data files.

query: string         # Required: The SuperSQL query
files?: string[]      # File paths to query
data?: string         # Inline data (alternative to files)
format?: string       # Output: json (default), sup, csv, table
inputFormat?: string  # Force input format

super_validate

Validate query syntax without executing.

query: string         # The query to validate

super_schema

Inspect types in a data file by sampling records.

file: string          # Path to data file
sample?: number       # Records to sample (default: 5)

Database Tools

super_db_list

List all pools in a SuperDB database.

lake?: string         # Lake path (default: ~/.super)

super_db_query

Query data from a database pool.

query: string         # The SuperSQL query
pool?: string         # Pool name
lake?: string         # Lake path
format?: string       # Output format

super_db_load

Load data into a pool.

pool: string          # Pool name
files?: string[]      # Files to load
data?: string         # Inline data
lake?: string         # Lake path

super_db_create_pool

Create a new pool.

name: string          # Pool name
orderBy?: string      # Sort key
lake?: string         # Lake path

Info Tools

super_info

Get SuperDB version info, environment configuration, LSP availability, and installation instructions.

compare_to?: string   # Optional path to another super binary to compare

super_lsp_status

Check if the SuperDB LSP is installed and get installation instructions if not.

# No parameters - returns availability status and setup instructions

super_help

Get SuperDB documentation (bundled expert guide or migration docs).

topic: string         # "expert", "upgrade", "upgrade-guide", or "migration"

super_test_compat

Test a query against multiple SuperDB versions to detect breaking changes.

query: string         # The query to test
versions: string[]    # Paths to different super binaries

LSP Tools

Require SUPERDB_LSP_PATH environment variable to be set.

super_complete

Get code completions for a SuperSQL query at a cursor position.

query: string         # The query text
line: number          # Line number (0-based)
character: number     # Character offset (0-based)

super_docs

Get documentation for a symbol at a position in a query.

query: string         # The query text
line: number          # Line number (0-based)
character: number     # Character offset (0-based)

Example Usage

With the MCP server configured, Claude can execute queries like:

super_query({
  query: "where status == 'active' | aggregate count() by category",
  files: ["data.json"]
})

No shell escaping needed - the query string is passed directly.

Requirements

  • Node.js 18+
  • super binary in PATH:

Versioning

SuperDB is in active pre-release development without official versioned releases. The only official builds are via Homebrew cask, identified by git SHA rather than version numbers.

To manage this, this repo uses pseudo-versions in the format 0.YMMDD (last digit of year + month + day). For example, 0.51231 represents a build from 2025-12-31. See asdf-superdb for more details on the versioning scheme.

This MCP server versions to match the bundled documentation:

  • 0.51231.0 - initial release with docs for SuperDB pseudo-version 0.51231
  • 0.51231.1, .2, etc. - MCP-only patches (no doc changes)

The super_info tool reports both your runtime version and the bundled docs version, warning if they differ.

License

BSD 3-Clause License