{"schemaVersion":1,"id":"github-com-clickhouse-mcp-clickhouse","name":"ClickHouse MCP","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/github-com-clickhouse-mcp-clickhouse/","officialUrl":"https://github.com/ClickHouse/mcp-clickhouse","isCatalog":false,"description":"The official ClickHouse MCP server for exploring schemas and running analytical SQL queries with an AI agent.","tasks":["Connect a user with limited permissions and inspect the tables.","Run a limited SELECT and compare aggregations with a reference SQL query."],"categoryIds":["integrations","backend"],"subcategoryIds":["integrations.data","backend.databases"],"tags":["ClickHouse MCP","ClickHouse","MCP"],"aliases":["ClickHouse/mcp-clickhouse"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"You can use the code under the stated license; servers, APIs, and compute must be provided separately.","paidUsage":"ClickHouse Cloud, a self-hosted server, and the agent’s model are billed separately.","license":"Apache-2.0 for this repository; connected services, models, and data have separate terms.","selectionGuide":{"purpose":"Connect a user with limited permissions and inspect the tables.","chooseWhen":["Connect a user with limited permissions and inspect the tables.","Run a limited SELECT and compare aggregations with a reference SQL query."],"considerInstead":["When choosing for this topic, compare ClickHouse MCP with ClickHouse. A candidate to compare under the topic: Databases. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.","When choosing for this topic, compare ClickHouse MCP with ClickHouse Agent Skills. A candidate to compare under the topic: Databases. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."],"requirements":["In client code, preserve large integers as strings or handle them with a type offering sufficient precision."],"limitations":["Costs and limits of free use: ClickHouse Cloud, a self-hosted server, and the agent’s model are billed separately.","Terms of use: Apache-2.0 for this repository; connected services, models, and data have separate terms.","Writes are disabled by default. Write-enabling flags do not replace the ClickHouse user's actual permissions; SQL checks are described as best-effort."],"faq":[{"question":"What can you use for free in ClickHouse MCP?","answer":"You can use the code under the stated license; servers, APIs, and compute must be provided separately."},{"question":"What additional costs might arise with ClickHouse MCP?","answer":"ClickHouse Cloud, a self-hosted server, and the agent’s model are billed separately."},{"question":"What terms of use matter for ClickHouse MCP?","answer":"Apache-2.0 for this repository; connected services, models, and data have separate terms."},{"question":"How do you get started with ClickHouse MCP?","answer":"Connect a user with limited permissions and inspect the tables. Run a limited SELECT and compare aggregations with a reference SQL query. Compare the result with the workflow's goal; after changing the project, run its standard checks."},{"question":"Why is a large numeric identifier returned as a string?","answer":"The README describes transmitting 64-bit integers outside JavaScript's safe range as decimal strings. This preserves identifier precision in JSON transmission; it does not mean the ClickHouse column has become a text column."}],"related":[{"id":"clickhouse","reason":"A candidate to compare under the topic: Databases. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."},{"id":"github-com-clickhouse-agent-skills","reason":"A candidate to compare under the topic: Databases. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."}],"sources":["https://github.com/ClickHouse/mcp-clickhouse","https://raw.githubusercontent.com/ClickHouse/mcp-clickhouse/main/README.md","https://raw.githubusercontent.com/ClickHouse/mcp-clickhouse/main/LICENSE"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"The official ClickHouse MCP server for exploring schemas and running analytical SQL queries with an AI agent.","inputs":["A test ClickHouse database, a read-only user, and an SQL task."],"steps":["Connect a user with limited permissions and inspect the tables.","Run a limited SELECT and compare aggregations with a reference SQL query.","Compare the result with the workflow's goal; after changing the project, run its standard checks."],"checks":["Aggregation results match; permissions do not allow unnecessary writes.","Check connection permissions and dependency terms; confirm external service costs if the workflow requires them."]},"sources":["https://github.com/ClickHouse/mcp-clickhouse","https://raw.githubusercontent.com/ClickHouse/mcp-clickhouse/main/README.md","https://raw.githubusercontent.com/ClickHouse/mcp-clickhouse/main/LICENSE"],"checkedAt":"2026-10-06","reviewScope":"The README and license were reviewed against public primary sources on 2026-10-06. The code was not installed or run; applicability depends on the project and client versions.","relatedIds":["clickhouse","github-com-clickhouse-agent-skills"],"dataVersion":"cbbe7123b47a5ae80983","type":"MCP tools for developers","kind":"mcp","pricingNote":"You can use the code under the stated license; servers, APIs, and compute must be provided separately. ClickHouse Cloud, a self-hosted server, and the agent’s model are billed separately.","notes":null,"labeledSources":[{"url":"https://github.com/ClickHouse/mcp-clickhouse","label":"Official repository"},{"url":"https://raw.githubusercontent.com/ClickHouse/mcp-clickhouse/main/README.md","label":"Documentation"},{"url":"https://raw.githubusercontent.com/ClickHouse/mcp-clickhouse/main/LICENSE","label":"License"}],"licenseGuides":[{"id":"apache-2","title":"Apache 2.0 — permissive license with patent terms","scope":null,"summary":"You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.","url":"https://www.apache.org/licenses/LICENSE-2.0"}],"entryIds":[],"composition":null}