redash-mcp

v3.5.0
io.github.seob717/redash-mcp Checked 3 hours ago Published 1 month ago

Connect Redash to Claude -- query data, manage dashboards, and run SQL with natural language.

Values you need

VariableWhat it is
REDASH_URLrequired Your Redash instance URL (e.g. https://redash.example.com)
REDASH_API_KEYrequired secret Your Redash user API key (found in Settings > Account)
REDASH_SAFETY_MODEoptional SQL safety mode: 'strict' blocks risky queries, 'warn' (default) returns warnings, 'off' disables guards (not recommended). Default: warn
REDASH_SAFETY_DISABLE_PIIoptional Set to 'true' to disable the PII column guard. Not recommended. Default: false
REDASH_SAFETY_DISABLE_COSToptional Set to 'true' to disable the query cost guard. Not recommended. Default: false

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add redash-mcp -e 'REDASH_API_KEY=<REDASH_API_KEY>' -e 'REDASH_URL=<REDASH_URL>' -- npx -y redash-mcp@3.5.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "redash-mcp": {
      "args": [
        "-y",
        "redash-mcp@3.5.0"
      ],
      "command": "npx",
      "env": {
        "REDASH_API_KEY": "<REDASH_API_KEY>",
        "REDASH_URL": "<REDASH_URL>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "redash-mcp": {
      "args": [
        "-y",
        "redash-mcp@3.5.0"
      ],
      "command": "npx",
      "env": {
        "REDASH_API_KEY": "<REDASH_API_KEY>",
        "REDASH_URL": "<REDASH_URL>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "REDASH_API_KEY",
      "id": "redash-api-key",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "REDASH_URL",
      "id": "redash-url",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "redash-mcp": {
      "args": [
        "-y",
        "redash-mcp@3.5.0"
      ],
      "command": "npx",
      "env": {
        "REDASH_API_KEY": "${input:redash-api-key}",
        "REDASH_URL": "${input:redash-url}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.redash-mcp]
command = "npx"
args = ["-y", "redash-mcp@3.5.0"]
env = { "REDASH_API_KEY" = "<REDASH_API_KEY>", "REDASH_URL" = "<REDASH_URL>" }

For AI agents

  1. Ask the user for: REDASH_URL, REDASH_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_data_sources, list_tables, get_table_columns, run_query, list_queries, get_query_result, get_query, create_query, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json