Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Redash Server

FreeNot checked

Enables querying and managing Redash data sources, queries, dashboards, alerts, and users through the Model Context Protocol.

GitHubEmbed

About

Enables querying and managing Redash data sources, queries, dashboards, alerts, and users through the Model Context Protocol.

README

MCP server for the Redash API. Exposes Redash's core data operations as tools for the Model Context Protocol.

Setup

# Install dependencies
uv sync

# Set your Redash API key and URL
export REDASH_API_KEY=your_api_key
export REDASH_URL=https://redash.example.com

# Run the server
uv run python -m redash_mcp

By default the server uses the stdio transport for local MCP clients such as Claude Desktop.

Hosted MCP

The server can be deployed as a remote MCP endpoint over Streamable HTTP:

uv run python -m redash_mcp --transport streamable-http

Send your Redash API key in the request header:

Authorization: Key your_api_key

Configuration (Hosted / Streamable HTTP)

If your MCP client supports remote servers over HTTP, the JSON config should include the hosted URL and the Authorization header.

Example:

{
  "mcpServers": {
    "redash": {
      "url": "https://your-mcp-host.com/mcp",
      "headers": {
        "Authorization": "Key your_api_key"
      }
    }
  }
}

Notes:

  • Replace your_api_key with your real Redash API key.
  • The header must be exactly Authorization.
  • The value must include the Key prefix.

Claude Code (CLI)

claude mcp add --transport http redash https://your-mcp-host.com/mcp \
  --header "Authorization: Key your_api_key"

Replace your_api_key with your real Redash API key.

Configuration (Claude Desktop / stdio)

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "redash": {
      "command": "uv",
      "args": ["--directory", "/absolute/path/to/redash-mcp-server", "run", "python", "-m", "redash_mcp"],
      "env": {
        "REDASH_API_KEY": "your_api_key",
        "REDASH_URL": "https://redash.example.com"
      }
    }
  }
}

Available Tools

Resource Tools
Queries list_queries, get_query, create_query, update_query, search_queries, get_recent_queries, archive_query, refresh_query
Dashboards list_dashboards, get_dashboard, create_dashboard, update_dashboard
Data Sources list_data_sources, get_data_source, get_data_source_schema, check_data_source_connection
Query Results get_query_result, execute_query
Users list_users, get_user
Alerts list_alerts, get_alert, create_alert
Visualizations list_query_visualizations

Environment Variables

Variable Description Default
REDASH_API_KEY Redash API key (required for stdio transport)
REDASH_URL Base URL of your Redash instance http://localhost:5000
REDASH_MCP_TRANSPORT Transport type (stdio or streamable-http) stdio
REDASH_MCP_HOST Host to bind HTTP server 127.0.0.1
REDASH_MCP_PORT Port for HTTP server 8000
REDASH_MCP_STREAMABLE_HTTP_PATH HTTP path for MCP endpoint /mcp

Docker

# Build the image
docker build -t redash-mcp .

docker run -i --rm \
  -e REDASH_API_KEY=your_api_key \
  -e REDASH_URL=https://redash.example.com \
  redash-mcp

Configuration (Claude Desktop with Docker / stdio)

{
  "mcpServers": {
    "redash": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "-e", "REDASH_API_KEY", "-e", "REDASH_URL", "redash-mcp"],
      "env": {
        "REDASH_API_KEY": "your_api_key",
        "REDASH_URL": "https://redash.example.com"
      }
    }
  }
}

Development

# Install with dev dependencies
uv sync --extra dev

# Run tests
uv run pytest tests/ -v

from github.com/conekta/redash-mcp-server

Install Redash Server in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install redash-mcp-server

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add redash-mcp-server -- uvx redash-mcp

FAQ

Is Redash Server MCP free?

Yes, Redash Server MCP is free — one-click install via Unyly at no cost.

Does Redash Server need an API key?

No, Redash Server runs without API keys or environment variables.

Is Redash Server hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Redash Server in Claude Desktop, Claude Code or Cursor?

Open Redash Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Redash Server with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs