Hypequery MCP
MCP server by hypequery Verified · npm:@hypequery
Exposes governed ClickHouse metrics and datasets to AI agents through MCP tools. It is for engineers who want agents such as Claude Code or Cursor to answer from approved analytics definitions.
Install Hypequery MCP
Built from the published package, never by AI.
claude mcp add hypequery-mcp -- npx -y @hypequery/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"hypequery-mcp": {
"args": [
"-y",
"@hypequery/mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"hypequery-mcp": {
"args": [
"-y",
"@hypequery/mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"hypequery-mcp": {
"args": [
"-y",
"@hypequery/mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add hypequery-mcp -- npx -y @hypequery/mcp{
"mcpServers": {
"hypequery-mcp": {
"args": [
"-y",
"@hypequery/mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add hypequery-mcp npx -y @hypequery/mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the hypequery-mcp block.
About
The hypequery MCP server, published as @hypequery/mcp, is a governed ClickHouse MCP server for Claude Code, Cursor, Codex and other agents. Agents call list_datasets, get_dataset_schema, query_metric and query_dataset against the datasets and metrics you define in code. There is no raw SQL tool, so agents only reach approved analytics.
The server is part of hypequery, an Apache 2.0 open-source toolkit that runs inside your own application. Datasets are defined in TypeScript or Python (beta) with dimensions, measures, metrics and tenant rules. The same definition can also serve HTTP endpoints, React hooks and MCP tools. It is aimed at engineers building dashboards, APIs and agent tools on their own ClickHouse.
Written from the project's README and checked against it.
Tools it gives your assistant
list_datasetsLists the datasets and metrics you have defined for the agent to use.get_dataset_schemaReturns the schema of a dataset so the agent knows what it can query.query_metricRuns a metric you defined in code, so the agent gets the approved definition.query_datasetQueries a defined dataset by its dimensions and measures instead of raw SQL.
What you need
- A ClickHouse database, or the public ClickHouse playground to try it
- npm to install @hypequery/mcp, @hypequery/datasets and @hypequery/clickhouse
- An MCP-compatible agent such as Claude Code, Cursor or Codex
Try asking
- List the datasets available in my ClickHouse analytics setup
- Show the schema of the orders dataset before answering my question
- Query the revenue metric grouped by region for last month
Good to know
- There is no raw SQL tool. Agents can only use the datasets and metrics you define.
- The Python SDK that defines datasets is in beta.
- A hosted option, hypequery cloud, is described as coming soon. The server runs in your own backend.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Hypequery MCP
All alternatives →World Monitor is a real-time global intelligence dashboard covering conflict, markets, energy, trade, shipping and cyber. Its MCP server gives AI assistants access to that data, and it is aimed at analysts, agents and scripts.
Lets AI agents create and change Power BI semantic models through a local MCP server. Built for developers who want natural language modeling in Power BI Desktop, Fabric workspaces and PBIP files.
Seal Open Data serves French public datasets from data.gouv.fr to AI assistants. It covers topics such as territories, companies, housing and population. It is aimed at users who want to query French open data from clients like Claude.
OpenMetadata MCP server lets MCP-compatible assistants search metadata, inspect lineage, and manage data quality tests. It is for data teams and AI agents that need governed context about enterprise data.
Compiles, validates and renders semantic chart specs for AI assistants through the Model Context Protocol. It is for agents that need reliable, good-looking and interactive charts across several chart libraries.
Query PostHog analytics, manage feature flags and experiments, and investigate errors from your AI assistant. It suits product teams and developers who already use PostHog for analytics, replays, and error tracking.
Compare with World Monitor, Power BI Authoring MCP Server (Local) or Seal Open Data
Hypequery MCP: common questions
Can an AI agent run arbitrary SQL against ClickHouse with this server?
No. The source says there is no raw SQL tool. Agents call list_datasets, get_dataset_schema, query_metric and query_dataset against datasets and metrics you define.
How does tenant data stay separated?
The source says runtime tenant scope fails closed instead of relying on every query author to remember a filter. Tenant rules are part of the dataset definition.
Is hypequery a hosted BI tool?
No. The source says hypequery is not a hosted BI tool, not a database, and not a separate semantic-layer server. It is a set of libraries you deploy with your backend.
How do I install Hypequery MCP?
In Claude Code run claude mcp add hypequery-mcp -- npx -y @hypequery/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Hypequery MCP the official server?
Hypequery MCP is published by npm:@hypequery from its verified domain in the official MCP Registry.
Is Hypequery MCP free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is Hypequery MCP safe to use?
It scores 83 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Hypequery MCP?
Similar MCP servers: World Monitor, Power BI Authoring MCP Server (Local), Seal Open Data, OpenMetadata.
Does Hypequery MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
