Supabase
MCP server for interacting with the Supabase platform
作者提供的说明(英文原文)
Connect Redash to Claude -- query data, manage dashboards, and run SQL with natural language.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
REDASH_URL, REDASH_API_KEY, REDASH_SAFETY_MODE, REDASH_SAFETY_DISABLE_PII, REDASH_SAFETY_DISABLE_COST标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"redash": {
"command": "npx",
"args": [
"-y",
"redash-mcp"
],
"env": {
"REDASH_URL": "your-value",
"REDASH_API_KEY": "your-value",
"REDASH_SAFETY_MODE": "your-value",
"REDASH_SAFETY_DISABLE_PII": "your-value",
"REDASH_SAFETY_DISABLE_COST": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add redash --env REDASH_URL=your-value --env REDASH_API_KEY=your-value --env REDASH_SAFETY_MODE=your-value --env REDASH_SAFETY_DISABLE_PII=your-value --env REDASH_SAFETY_DISABLE_COST=your-value -- npx -y redash-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"redash": {
"command": "npx",
"args": [
"-y",
"redash-mcp"
],
"env": {
"REDASH_URL": "your-value",
"REDASH_API_KEY": "your-value",
"REDASH_SAFETY_MODE": "your-value",
"REDASH_SAFETY_DISABLE_PII": "your-value",
"REDASH_SAFETY_DISABLE_COST": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"redash": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"redash-mcp"
],
"env": {
"REDASH_URL": "your-value",
"REDASH_API_KEY": "your-value",
"REDASH_SAFETY_MODE": "your-value",
"REDASH_SAFETY_DISABLE_PII": "your-value",
"REDASH_SAFETY_DISABLE_COST": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
REDASH_SAFETY_MODE envREDASH_SAFETY_DISABLE_PII envREDASH_SAFETY_DISABLE_COST env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 seob717 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:REDASH_URL, REDASH_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(3.5.0)于16天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP server for interacting with the Supabase platform
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
English | 한국어 | 日本語
MCP server that connects Redash to Claude, Cursor, Gemini CLI, Codex, and any MCP client — query data, build charts and dashboards, and run SQL with natural language.
Install · Tools · Env · Examples · Troubleshooting · Privacy
add_widget places new widgets below existing ones; half-width widgets pair up side by side (previously they all overlapped at the top-left).Full history: Releases
Built for letting an LLM touch production data safely:
DROP/TRUNCATE/ALTER and DELETE/UPDATE without WHERE; strict/warn/off modes, PII detection, and auto-LIMIT.npx redash-mcp setup configures Claude Desktop / Claude Code / Cursor / Gemini CLI / Codex CLI.Requirements: Node.js 20+ and a Redash API key (Redash → Profile → Edit Profile → API Key).
npx redash-mcp setup
The wizard configures any combination of Claude Desktop, Claude Code, Cursor, Gemini CLI, and Codex CLI.
Alternatively, install Node.js, Claude Desktop, and the MCP config in one go:
curl -fsSL https://raw.githubusercontent.com/seob717/redash-mcp/main/install.sh | bash
Manual setup
~/Library/Application Support/Claude/claude_desktop_config.json~/.cursor/mcp.json (create it if missing){
"mcpServers": { "redash-mcp": { "command": "npx", "args": ["-y", "redash-mcp"], "env": { "REDASH_URL": "https://your-redash-instance.com", "REDASH_API_KEY": "your_api_key_here" } } } }
Fully quit and restart Claude Desktop after saving.
Claude Code
claude mcp add --scope user redash-mcp \
-e REDASH_URL=https://your-redash-instance.com \ -e REDASH_API_KEY=your_api_key_here \ -- npx -y redash-mcp
Gemini CLI
gemini mcp add -s user \
-e REDASH_URL=https://your-redash-instance.com \ -e REDASH_API_KEY=your_api_key_here \ redash-mcp npx -y redash-mcp
Codex CLI
codex mcp add redash-mcp \
--env REDASH_URL=https://your-redash-instance.com \ --env REDASH_API_KEY=your_api_key_here \ -- npx -y redash-mcp
| Category | Tools |
|---|---|
| Data sources & schema | list_data_sources, list_tables, get_table_columns |
| Query | run_query — execute SQL and return results |
| Saved queries | list_queries, get_query, get_query_result (with parameter values), create_query, update_query, fork_query, archive_query |
| Charts | create_visualization — line / column / area / pie / scatter / counter |
| Dashboards | list_dashboards, get_dashboard, create_dashboard, add_widget (auto-layout) |
| Alerts | list_alerts, get_alert, create_alert |
| Smart Query (BIRD) | smart_query, get_bird_config, evaluate_queries, submit_query_feedback, manage_few_shot_examples, manage_keyword_map |
Applies to ad-hoc SQL run through run_query. Saved queries executed with get_query_result are not checked, so give the Redash data source a read-only DB account.
REDASH_SAFETY_MODE=off): DROP, TRUNCATE, ALTER TABLE, GRANT/REVOKE, DELETE/UPDATE without WHERESELECT *, queries without WHERE or LIMIT, PII column accessLIMIT N when REDASH_AUTO_LIMIT is setDetails: docs/sql-safety-guard.md. Query results are also cached in memory (see REDASH_MCP_CACHE_* below).
| Variable | Default | Description |
|---|---|---|
REDASH_URL | required | Redash instance URL (e.g. https://redash.example.com) |
REDASH_API_KEY | required | Redash user API key |
REDASH_SAFETY_MODE | warn | SQL safety level: off / warn / strict |
REDASH_SAFETY_DISABLE_PII | false | Disable PII detection |
REDASH_SAFETY_DISABLE_COST | false | Disable cost warnings |
REDASH_AUTO_LIMIT | 0 | Auto-append LIMIT N to queries without one (0 = off) |
REDASH_DEFAULT_MAX_AGE | 0 | Redash cache TTL in seconds |
REDASH_MCP_CACHE_TTL | 300 | MCP query cache TTL in seconds (0 = off) |
REDASH_MCP_CACHE_MAX_MB | 50 | Max memory for the MCP query cache, in MB |
REDASH_MCP_CONFIG_DIR | ~/.redash-mcp | Where BIRD few-shot, feedback, eval, and keyword-map data live |
REDASH_BIRD_ENABLED | true | false disables the BIRD smart query tools |
REDASH_HTTP_TIMEOUT_SECS | 30 | Per-request HTTP timeout against the Redash API |
ANTHROPIC_API_KEY | — | Enables the Claude Haiku fallback for table selection in smart_query |
Just ask in natural language:
smart_query picks the tables → run_querysmart_query guides the JOIN → run_querycreate_alertBuild a dashboard: "Save a monthly revenue query, chart it as a line, and put it on a new Revenue dashboard."
create_query — save "Monthly Revenue"get_query_result — run it once so the chart columns can be checkedcreate_visualization — type: "line", x_column: "month", y_columns: ["revenue"]create_dashboard — create "Revenue"add_widget — place the chart; more widgets stack below or pair side by side| Symptom | Fix |
|---|---|
npx not found (macOS GUI apps) | Run which npx and use the full path as command |
| "Authentication failed" | Check REDASH_API_KEY — it must be a user API key |
| "Unable to connect to the Redash server" | Check REDASH_URL (base URL with https://, without /api) and network/VPN |
| "The query timed out" | Simplify the query or pass a larger timeout_secs to run_query / get_query_result; raise REDASH_HTTP_TIMEOUT_SECS for slow API responses |
| Query blocked by the safety guard | Add WHERE/LIMIT; in strict mode, switch to REDASH_SAFETY_MODE=warn to get warnings instead |
| Tools don't show up | Fully restart the client after editing its config |
npm install
npm run dev # run from source (tsx) npm test # vitest npm run build # typecheck + bundle to dist/
redash-mcp is a local MCP server that talks directly to your Redash instance. No intermediate servers are involved.
| Item | Description |
|---|---|
| Redash API Key | Stored only as a local environment variable (REDASH_API_KEY). Never transmitted externally. |
| Query content & results | Delivered only to the local MCP client via the MCP protocol. |
| BIRD SQL settings | Stored only in local files (~/.redash-mcp/): few-shot examples, keyword maps, and feedback. |
| LLM Fallback | Only when ANTHROPIC_API_KEY is set, smart_query sends table names, column names, and the question text to the Anthropic API. Query results and row data are never transmitted. |
We do not sell or share user data with third parties.
Retention: config files stay in ~/.redash-mcp/ until you delete them; the query cache is in-memory and cleared on shutdown; the schema cache is in-memory with a 10-minute TTL.
Contact: inquiries and security reports via GitHub Issues.
redash-mcp is an unofficial, community-built integration and is not affiliated with, endorsed by, or sponsored by Redash. "Redash" is a trademark of its respective owners and is used here only to describe compatibility. This project communicates with Redash solely through its public REST API.
MIT