Skip to content
PluginStats

@hypequery/mcp weekly downloads statistics

By hypequery (3 listings) · npm · MCP servers

ClickHouse MCP server for Claude Code, Cursor, Codex and AI agents: governed datasets and metrics as tools, never raw SQL.

View on npm Stale · Dec 1, 2026

@hypequery/mcp has 7,942 recorded weekly downloads on npm, a decrease of 21.7% over the past 30 days, ranking #1357 of 3,247 tracked listings.

Weekly downloads
7,942
Official API · Dec 5, 2026
7-day growth
+39.9%
+2.3K weekly downloads
30-day growth
-21.7%
-2.2K weekly downloads
90-day growth
+176%
+5.1K weekly downloads
Rank
#1357
▲ 98 in 7 days

About @hypequery/mcp

@hypequery/mcp: governed ClickHouse MCP server

A ClickHouse MCP server for Claude Code, Cursor, Codex and other AI agents. Agents query the datasets and metrics you define, never raw SQL. Run it in five minutes against the public ClickHouse playground: hypequery.com/clickhouse-mcp.

@hypequery/mcp turns your hypequery datasets and metrics into Model Context Protocol tools for Claude, Cursor, and other MCP clients. Agents can discover and query approved analytics without receiving unrestricted SQL access or database credentials.

Install

npm install @hypequery/mcp @hypequery/datasets @hypequery/clickhouse

Expose your semantic layer

// mcp-config.ts
import { publishDatasets } from '@hypequery/datasets';

export const datasets = publishDatasets()
  .publish(Orders, { metrics: { revenue } })
  .build();

export const analytics = createDatasetClient({ queryBuilder: db });

Compile the config, then start the stdio server:

npx hypequery-mcp --config /absolute/path/to/mcp-config.js

Add it to an MCP client:

{
  "mcpServers": {
    "hypequery-clickhouse": {
      "command": "npx",
      "args": [
        "hypequery-mcp",
        "--config",
        "/absolute/path/to/mcp-config.js"
      ]
    }
  }
}

Now an agent can ask, “Show revenue by region for the last month,” using the same metric definition as your backend and dashboard.

Connect to a Python HTTP backend

An existing Python server can own definitions, authorization, tenancy and SQL. Opt its dataset/metric routes into ClientQueryProfile and install add_client_contract_endpoint from hypequery.serve. The MCP bridge consumes that endpoint's authorized view; an offline build export cannot be used as live discovery. No Node dataset registry or Python application import is needed.

import {
  createMCPHttpExecutor,
  createMCPProtocolServer,
  connectMCPServerStdio,
} from '@hypequery/mcp';

const url = process.env.HYPEQUERY_CLIENT_CONTRACT_URL;
const token = process.env.HYPEQUERY_API_KEY;
if (!url || !token) throw new Error('Configure the backend discovery URL and credential.');

const executor = await createMCPHttpExecutor({
  url,
  headers: { authorization: `Bearer ${token}` },
});
await connectMCPServerStdio(createMCPProtocolServer({ executor }));

The URL is the full discovery endpoint, including its mount prefix. HTTPS is required except for loopback development. URLs cannot contain credentials, queries or fragments. Keep one executor/session per principal; a headers resolver may rotate credentials for that same principal. Browser code must never contain this server credential. To serve the bridge to remote agents, see "Serve over Streamable HTTP" below.

The four tool names stay the same. HTTP mode preserves each authorized endpoint's own dimensions, filters, defaults, time controls and limits. Metric-only groups have queryable: false; inspecting them does not invent a dataset query route. Introspection returns endpoint profiles rather than merging permissions into a synthetic dataset. Unsupported segments, SQL/debug options and caller-selected tenants, tokens, origins or routes are rejected before backend requests.

HTTP query responses preserve the public backend envelope: data, plus optional meta with request ID, timing, row count, pagination and optional cache.hit. Set includeMeta: true when the endpoint advertises metadata and use pagination.hasMore with offset + limit to page. This differs from the existing local executor's cache-status metadata; each mode advertises its actual output schema. Returned rows must contain exactly the selected fields with their advertised scalar/null types. Private diagnostics or unexpected fields fail closed instead of being forwarded to the agent.

The bridge rechecks its authorized view before discovery, prompts and execution, and pins each POST to the validated endpoint schema. View changes or backend 409s invalidate the session: construct a new executor/reconnect explicitly. No query is automatically replayed with new semantics. Backend authorization is still checked on every request, including after discovery.

Budgets default to 30 seconds, 256 KiB discovery/manifests and 1 MiB query responses. HTTP mode has a hard 1 MiB response ceiling, 1,000 rows/filter-list values, 10,000 JSON nodes, 1,000 members per JSON collection and nesting depth 16. Query ceilings can be lowered through queryLimits; unservable default selections are refused rather than silently changed. executionBudget, catalogBudget and maxContractBytes allow smaller deployment limits. Streamed/decompressed bytes are bounded even without Content-Length, and redirects are refused. Request cancellation aborts the HTTP operation; the backend must carry disconnection into its executor (the Python serve adapter does so). End-to-end ClickHouse cancellation remains part of integrated release qualification.

A TypeScript consumer of the MCP SDK needs its Fetch/DOM type names available (e.g. lib: ["ES2022", "DOM"] alongside Node types); this does not require a browser runtime. The repository's installed-artifact smoke checks this without skipLibCheck and without the optional ClickHouse peer installed.

Tools agents receive

  • list_datasets discovers available analytics models;
  • get_dataset_schema explains dimensions, measures, metrics, and relationships;
  • query_metric executes named KPIs;
  • query_dataset explores the fields you chose to publish.

Every tool declares an output schema and returns the same result twice: MCP structuredContent for clients that support typed results, and compact JSON in the text content block for compatibility. Query metadata includes row count, timing when available, pagination state, and cache outcome. Tools also advertise human-readable titles and read-only, non-destructive, idempotent annotations.…

Description from the npm listing.

  • mcp
  • mcp-server
  • clickhouse-mcp-server
  • clickhouse-mcp
  • model-context-protocol
  • clickhouse
  • semantic-layer
  • analytics
  • query-builder
  • orm
  • ai-agents
  • claude
  • cursor
  • typescript

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@hypequery/mcp weekly downloads on npm, last 90 days: 7,942 weekly downloads as of Dec 5, 2026, +176% over 90 days.@hypequery/mcpWeekly downloads on npm · Last 90 days7,942downloads / week+176% over 90 days02K4K6K8K10K12K14KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@hypequery/mcp weekly downloads on npm, last 90 days: 7,942 weekly downloads as of Dec 5, 2026, +176% over 90 days.

7/30/90-day growth

@hypequery/mcp weekly downloads growth on npm: +39.9% over 7 days, -21.7% over 30 days, +176% over 90 days.@hypequery/mcpWeekly downloads growth on npm7,942downloads / week now7-day growth+2,266 weekly downloads+39.9%30-day growth-2,199 weekly downloads-21.7%90-day growth+5,069 weekly downloads+176%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@hypequery/mcp weekly downloads growth on npm: +39.9% over 7 days, -21.7% over 30 days, +176% over 90 days.

Ranking history

@hypequery/mcp npm ranking history: currently #1357 (by weekly downloads).@hypequery/mcpnpm ranking · by weekly downloads · Last 90 days#1357current rank#1100#1150#1200#1250#1300#1350#1400#1450#1500Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 20, 2026 – Dec 6, 2026 · 25 observations · Updated Dec 5, 2026pluginstats.com
@hypequery/mcp npm ranking history: currently #1357 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 68, #17 (overall #1,357)
All npm: every listing in weekly downloads order

Listing placement

MCP servers468 listings · 24 pages · page 16, #9 (overall #309)
MCP servers: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (156)
Recent weekly downloads observations for @hypequery/mcp
Date (UTC)Weekly downloadsChange vs. previous
7,942-570
8,512-161
8,673+88
8,585-1K
9,587-317
9,904+1.7K
8,155+2.5K
5,676+472
5,204+704
4,500-1.5K
6,048+460
5,588-267
5,855-1.5K
7,328—

Similar npm MCP servers plugins

All 20 @hypequery/mcp alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@hypequery/mcp. First seen Oct 20, 2026; last successful collection Dec 1, 2026. See the methodology.