Datasets
MCP server by hypequery Verified · npm:@hypequery
Datasets is a governed ClickHouse MCP server that lets AI agents query approved datasets and metrics. It is aimed at engineers building analytics agents on their own ClickHouse data.
Install Datasets
Built from the published package, never by AI.
claude mcp add datasets -- npx -y @hypequery/datasetsRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"datasets": {
"args": [
"-y",
"@hypequery/datasets"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"datasets": {
"args": [
"-y",
"@hypequery/datasets"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"datasets": {
"args": [
"-y",
"@hypequery/datasets"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add datasets -- npx -y @hypequery/datasets{
"mcpServers": {
"datasets": {
"args": [
"-y",
"@hypequery/datasets"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add datasets npx -y @hypequery/datasetsGemini 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 datasets block.
About
Datasets is the MCP server in hypequery, an open-source embedded analytics toolkit for ClickHouse. It is published as @hypequery/mcp and works with the TypeScript semantic layer in @hypequery/datasets. You define datasets in code, with their dimensions, measures, metrics, and tenant rules. The server then exposes those definitions to agents as tools.
Agents such as Claude Code, Cursor, and Codex can list datasets, read dataset schemas, and run metric or dataset queries. The source states there is no raw SQL tool, so agents only answer from the definitions you approve. The project is aimed at engineers who build dashboards, APIs, and agent tools on their own ClickHouse. It runs inside your own backend and is licensed under Apache 2.0.
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 its fields.query_metricRuns a metric you have defined in code and returns the result.query_datasetQueries a defined dataset. The source states there is no raw SQL tool.
What you need
- A ClickHouse database
- npm and npx to install and run the packages
- An MCP-capable agent such as Claude Code, Cursor, or Codex
Try asking
- List the datasets available in my ClickHouse setup.
- Show the schema for the orders dataset.
- Run the revenue metric grouped by region.
Good to know
- There is no raw SQL tool. Agents can only use the datasets and metrics you define.
- The hosted option, hypequery cloud, is described as coming soon.
- The Python SDK is in beta.
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 Datasets
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
Datasets: common questions
Can the agent run arbitrary SQL against ClickHouse?
No. The source says the MCP server has no raw SQL tool. Agents call the datasets and metrics you define.
Is this a hosted service?
Not yet. The source says you run it in your own backend today, and a hosted option called hypequery cloud is coming soon.
Which AI tools does it work with?
The source names Claude Code, Cursor, and Codex, and says it works with other agents too. It also links setup guides for Claude Desktop, Cursor, and Codex.
How do I install Datasets?
In Claude Code run claude mcp add datasets -- npx -y @hypequery/datasets. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Datasets the official server?
Datasets is published by npm:@hypequery from its verified domain in the official MCP Registry.
Is Datasets free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is Datasets safe to use?
It scores 85 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 Datasets?
Similar MCP servers: World Monitor, Power BI Authoring MCP Server (Local), Seal Open Data, OpenMetadata.
Does Datasets 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.
