Agent
MCP server by hypequery Verified · npm:@hypequery
Connects AI agents to ClickHouse through datasets and metrics you define in code. The @hypequery/mcp server works with Claude Code, Cursor, Codex and other agents. Built for engineers who run ClickHouse analytics in their own backend.
Install Agent
Built from the published package, never by AI.
claude mcp add agent -- npx -y @hypequery/agentRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"agent": {
"args": [
"-y",
"@hypequery/agent"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"agent": {
"args": [
"-y",
"@hypequery/agent"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"agent": {
"args": [
"-y",
"@hypequery/agent"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add agent -- npx -y @hypequery/agent{
"mcpServers": {
"agent": {
"args": [
"-y",
"@hypequery/agent"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add agent npx -y @hypequery/agentGemini 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 agent block.
About
hypequery is an open-source toolkit for ClickHouse that runs inside your own application. You define datasets and metrics in TypeScript or Python (beta), including dimensions, measures and tenant rules. The @hypequery/mcp package is a governed ClickHouse MCP server. Agents can list datasets, read dataset schemas, and query metrics and datasets. The source says there is no raw SQL tool.
The source describes a hosted hypequery Cloud option as coming soon. It does not document the end-user token or AI SDK integrations named in the declared description. The project is licensed under Apache 2.0 and 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 you have defined for the agent to query.get_dataset_schemaReturns the schema of a dataset so the agent knows what it can query.query_metricRuns a metric you defined, rather than writing raw SQL.query_datasetQueries a defined dataset using its dimensions and measures.
What you need
- A ClickHouse database
- Node.js and npm
- An MCP-capable agent such as Claude Code, Cursor or Codex
- Python, only if you use the beta Python SDK
Try asking
- List the datasets available in my ClickHouse project
- Show me the schema of the orders dataset
- Query the revenue metric grouped by region
Good to know
- No raw SQL tool. Agents only use the datasets and metrics you define.
- The Python SDK is in beta.
- The hosted hypequery Cloud option is described as coming soon.
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 Agent
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
Agent: common questions
Can AI agents run raw SQL through this MCP server?
No. The source says there is no raw SQL tool. Agents call list_datasets, get_dataset_schema, query_metric and query_dataset against the datasets and metrics you define.
Is hypequery Cloud available now?
The source says a hosted option, hypequery cloud, is coming soon. It does not describe hosted features as available today.
Which AI agents does the ClickHouse MCP server support?
The source names Claude Code, Cursor, Codex and other agents. It also points to setup guidance for Claude Desktop.
How do I install Agent?
In Claude Code run claude mcp add agent -- npx -y @hypequery/agent. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Agent the official server?
Agent is published by npm:@hypequery from its verified domain in the official MCP Registry.
Is Agent free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Agent safe to use?
It scores 87 of 100. Grades: maintenance A, licence A, 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 Agent?
Similar MCP servers: World Monitor, Power BI Authoring MCP Server (Local), Seal Open Data, OpenMetadata.
Does Agent 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.
