npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@victorcano/n8n-nodes-clickhouse

v0.1.4

Published

ClickHouse community node for n8n

Readme

n8n-nodes-clickhouse

This is an n8n community node. It lets you use ClickHouse in your n8n workflows.

ClickHouse is an open-source, column-oriented database designed for high-performance analytics on large datasets.

Note: This project uses AI-assisted development.

Installation (Self-Hosted) n8n Cloud Credentials Operations Examples Pagination and Output Options TLS Notes (Self-Signed Certificates) Known Limitations Example Workflows Resources Release Automation

Installation (Self-Hosted)

Install from the n8n UI:

  1. Go to Settings > Community Nodes.
  2. Select Install and enter @victorcano/n8n-nodes-clickhouse.
  3. Restart n8n if prompted.

For alternative installation methods, see the n8n community nodes installation guide.

For local development with the provided docker-compose, the repo is mounted into the n8n community nodes folder. Run npm run build --watch while n8n is running so changes in dist/ are picked up automatically.

n8n Cloud

n8n Cloud only allows installation of verified community nodes from the Cloud panel. If this node is not listed there, you cannot install it in n8n Cloud.

Credentials

Create a ClickHouse API credential and fill in the following fields.

Local ClickHouse (HTTP 8123)

  • Protocol: http
  • Host: localhost (or clickhouse when using the provided docker-compose)
  • Port: 8123
  • Username: default
  • Password: clickhouse (when using the provided docker-compose)
  • Default Database: test (optional)
  • Ignore SSL Issues: false

ClickHouse Cloud (HTTPS 8443)

  • Protocol: https
  • Host: your ClickHouse Cloud hostname (for example, xxxxxx.aws.clickhouse.cloud)
  • Port: 8443
  • Username / Password: from your ClickHouse Cloud service
  • Default Database: your target database (optional)
  • Ignore SSL Issues: false

Operations

Resources and operations:

  • Query: Execute Query
  • Command: Execute Command
  • Insert: Insert Rows (from input items), Insert Rows (from JSON array field)
  • Metadata: List Databases, List Tables, List Columns

Examples

Query

SELECT * FROM events WHERE event_date >= today() - 7

Command

CREATE TABLE IF NOT EXISTS events (
  id UInt64,
  name String,
  event_date Date
) ENGINE = MergeTree()
ORDER BY id

Insert

Insert rows from input items into events with columns id,name,event_date.

INSERT INTO events (id, name, event_date) FORMAT JSONEachRow

Metadata

SHOW DATABASES
SHOW TABLES FROM test
DESCRIBE TABLE test.events

Pagination and Output Options

For Execute Query:

  • Limit: optional. Enable Use Limit to wrap your SQL in SELECT * FROM (<sql>) LIMIT <limit>.
  • Pagination: when enabled, the node loops with OFFSET and aggregates results.
  • Output Mode:
    • Single item (Rows Array): one item with { rows, meta, statistics, summary }.
    • One item per row: each row becomes its own item.

TLS Notes (Self-Signed Certificates)

If you use self-signed certificates (local TLS or custom ClickHouse TLS), enable Ignore SSL Issues in credentials.

Known Limitations

  • Single statement only (no multi-statement SQL).
  • HTTP interface only (no native TCP protocol support).

Example Workflows

Workflow exports are included in the /examples folder:

  • examples/query-basic.json
  • examples/command-create-table.json
  • examples/insert-from-items.json
  • examples/metadata-list-tables.json

Resources

Release Automation

Releases are fully automated on merge to main. The workflow determines the version bump based on PR labels:

  • Major → major bump
  • Minor → minor bump
  • Patch → patch bump
  • No label → patch bump

Required repository secrets:

  • NPM_TOKEN (npm publish)
  • GH_PAT_RELEASE (merge release PRs so publish workflow triggers)

The npm token user must be a maintainer for the package name (@victorcano/n8n-nodes-clickhouse). If the name is already owned on npm, add the user as a collaborator or rename the package before releasing.

Because this is a scoped package, the token must have access to the @victorcano scope and the package publishes as public (publishConfig.access=public).

The GH_PAT_RELEASE token must have Actions + Contents + Pull requests write permissions on this repo so the release PR merge triggers the publish workflow.

The workflow uses npm run release (n8n-node release) and creates tags + GitHub releases.