redash-mcp
Provides tools for interacting with a Redash instance's API, enabling query execution, saved query management, visualization creation, and dashboard/widget administration.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@redash-mcp run a query on the analytics data source showing monthly revenue for this year"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
redash-mcp
MCP Server for Redash — execute queries, create visualizations, and build dashboards from Claude Code or any MCP client.
Tools
Tool | Description |
| List all available data sources |
| Search and list saved queries |
| Get a query with visualizations |
| Get the latest result of a saved query |
| Create a new query |
| Update an existing query |
| Archive (delete) a query |
| Execute SQL and return results (with job polling) |
| Create a visualization for a query |
| Update a visualization |
| Delete a visualization |
| Create a new dashboard |
| Get a dashboard with its widgets |
| Update a dashboard (name, tags, options, filters) |
| Publish a draft dashboard |
| Archive (delete) a dashboard |
| Add a widget to a dashboard |
| Update a widget (text or options) |
| Delete a widget from a dashboard |
Related MCP server: Redash MCP Server
Setup
Prerequisites
Node.js >= 20
pnpm
A Redash instance with an API key
Usage with npx
REDASH_URL=https://redash.example.com REDASH_API_KEY=your-api-key npx @frauniki/redash-mcpClaude Code
claude mcp add redash -e REDASH_URL=https://redash.example.com -e REDASH_API_KEY=your-api-key -- npx @frauniki/redash-mcpOr add to ~/.claude.json manually:
{
"mcpServers": {
"redash": {
"command": "npx",
"args": ["@frauniki/redash-mcp"],
"env": {
"REDASH_URL": "https://redash.example.com",
"REDASH_API_KEY": "your-api-key"
}
}
}
}Environment Variables
Variable | Description |
| Base URL of your Redash instance (e.g., |
| Your Redash API key |
Install from source
pnpm install
pnpm buildDevelopment
pnpm test # Run tests
pnpm test:watch # Run tests in watch mode
pnpm lint # Lint
pnpm lint:fix # Lint and fix
pnpm format # Format with Prettier
pnpm format:check # Check formatting
pnpm build # BuildLicense
ISC
Available Tools
19 toolsadd_widgetC
Add a widget to a Redash dashboard
Inputs: dashboard_id (required), text, width, position, +1 more.
archive_dashboardB
Archive (delete) a Redash dashboard
Inputs: dashboard_id (required).
archive_queryB
Archive (delete) a Redash query
Inputs: query_id (required).
create_dashboardC
Create a new Redash dashboard
Inputs: name (required).
create_queryC
Create a new Redash query
Inputs: name (required), query (required), data_source_id (required), description.
create_visualizationC
Create a visualization for a Redash query
Inputs: name (required), type (required), query_id (required), options.
delete_visualizationC
Delete a Redash visualization
Inputs: visualization_id (required).
delete_widgetC
Delete a widget from a Redash dashboard
Inputs: widget_id (required).
execute_queryB
Execute a SQL query against a Redash data source and return results
Inputs: query (required), data_source_id (required), max_age.
get_dashboardB
Get a Redash dashboard with its widgets
Inputs: dashboard_id (required).
get_queryB
Get a Redash query by ID (with visualizations)
Inputs: query_id (required).
get_query_resultB
Get the latest result for a saved Redash query
Inputs: query_id (required).
list_data_sourcesB
List all available Redash data sources
Inputs: no named parameters.
list_queriesC
Search and list Redash queries
Inputs: search, page_size.
publish_dashboardB
Publish a Redash dashboard (set is_draft to false)
Inputs: dashboard_id (required).
update_dashboardC
Update a Redash dashboard (name, tags, options, filters)
Inputs: dashboard_id (required), name, tags, options, +2 more.
update_queryC
Update an existing Redash query
Inputs: query_id (required), name, tags, query, +3 more.
update_visualizationC
Update a Redash visualization
Inputs: visualization_id (required), name, type, options, +1 more.
update_widgetC
Update a widget on a Redash dashboard (text or options only)
Inputs: widget_id (required), text, options.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Most tools map to a distinct resource+action pair, and descriptions clarify the subtle ones like get_query_result (latest saved result) vs execute_query (run arbitrary SQL). The only mild overlaps are get_query (which includes visualizations) versus get_query_result, and archive_* versus delete_* semantics across resource types.
Nearly all tools follow a verb_noun snake_case pattern (create_query, update_dashboard, delete_widget). Minor deviations: widgets use add_widget instead of create_widget, and deletion is inconsistently expressed as archive_query/archive_dashboard versus delete_visualization/delete_widget.
19 tools is on the higher side but is justified by four distinct entity types (queries, visualizations, dashboards, widgets) each needing multiple operations. No obvious redundancy; each tool covers a real operation.
Query and dashboard lifecycles are well covered, but there is no list_dashboards tool, so an agent cannot discover dashboards by name/ID without external knowledge. Other notable gaps include no standalone get_visualization/list_visualizations and no unarchive/restore operations.
Maintenance
Related MCP Connectors
Query and manage SquaredUp dashboards, data streams, the knowledge graph, and KPIs (US region).
Query live metrics and data lists from the business tools connected to your Geckoboard
Query and manage SquaredUp dashboards, data streams, the knowledge graph, and KPIs (EU region).
Query analytics, manage feature flags and experiments, and investigate errors in PostHog.
Related MCP Servers
- AlicenseBqualityBmaintenanceModel Context Protocol (MCP) server that integrates Redash with AI assistants like Claude, allowing them to query data, manage visualizations, and interact with dashboards through natural language.675,828 npm108MIT
- AlicenseBqualityDmaintenanceEnables interaction with Redash instances through a standardized interface, allowing users to execute SQL queries, manage data sources, and retrieve query results using natural language.41MIT
- FlicenseBqualityDmaintenanceEnables interaction with Redash through its API to execute SQL queries, retrieve results, and manage data sources. It allows users to query data and explore data sources directly through natural language interfaces.34-
- AlicenseAqualityDmaintenanceModel Context Protocol (MCP) server for Redash - manage queries, dashboards, and visualizations through AI assistants like Claude.6190 PyPIMIT