What SQL operations are allowed?
Only read‑only SQL statements are permitted: SELECT, SHOW, DESCRIBE, EXPLAIN, and similar commands. Any attempt to run INSERT, UPDATE, DELETE, etc. is rejected.
@the-nine-nation
基本信息
a readonly clickhouse mcp server and ensure your ai use clickhouse safely
工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
A FastMCP server for executing read-only ClickHouse queries. It supports local Python API integration and can run as a standalone service, making it suitable for AI assistants and workflow automation that need safe database access.
Install via pip install clickhouse-readonly-mcp or from source. Configure it in your MCP client (e.g., Cursor's config.json) by setting environment variables such as CLICKHOUSE_HOST, CLICKHOUSE_PORT, CLICKHOUSE_USER, CLICKHOUSE_PASSWORD, and optionally CLICKHOUSE_RESOURCE_DESC_FILE. The server then exposes tools that accept read-only SQL queries.
Only read‑only SQL statements are permitted: SELECT, SHOW, DESCRIBE, EXPLAIN, and similar commands. Any attempt to run INSERT, UPDATE, DELETE, etc. is rejected.
Both the native ClickHouse port and the HTTP port are supported. The server automatically switches between them if one fails.
You must set `CLICKHOUSE_HOST`, `CLICKHOUSE_PORT`, and authentication credentials (`CLICKHOUSE_USER` / `CLICKHOUSE_USERNAME` and `CLICKHOUSE_PASSWORD`). Optionally, set `CLICKHOUSE_HTTP_PORT` and `CLICKHOUSE_RESOURCE_DESC_FILE` to improve model understanding.
Yes. It accepts query parameters, enabling safe, reusable query execution.
Python 3 and the `clickhouse-readonly-mcp` package (which pulls in the necessary ClickHouse driver and FastMCP library). No additional system services are required.
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
MCP server for interacting with Neon Management API and databases

Model Context Protocol Servers

Model Context Protocol Servers
评论