SuperDB MCP Server
Enables AI assistants to execute SuperSQL queries on data files and SuperDB databases without shell escaping issues. Supports querying, schema inspection, database pool management, and provides LSP features for code completion and documentation.
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+
superbinary in PATH:- Homebrew (official, latest build)
- asdf-superdb (community, versioned builds)
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.512310.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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.