redash-mcp
Allows querying Redash data sources, managing saved queries and dashboards, and running SQL via natural language.
Click on "Install 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-mcpshow me the top 10 users by signup date"
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 that connects Redash to Claude AI — query data, manage dashboards, and run SQL with natural language.
Features · Install · Env · Examples · Privacy
Features
Tools
Category | Tool | Description |
Data Sources |
| List connected data sources |
Schema |
| List tables (supports keyword search) |
Schema |
| Get column names and types |
Query |
| Execute SQL and return results |
Saved Queries |
| List saved queries |
Saved Queries |
| Get query details (SQL, visualizations) |
Saved Queries |
| Run a saved query and get results |
Saved Queries |
| Save a new query |
Saved Queries |
| Update a saved query |
Saved Queries |
| Fork a saved query |
Saved Queries |
| Archive (delete) a query |
Dashboards |
| List dashboards |
Dashboards |
| Get dashboard details and widgets |
Dashboards |
| Create a new dashboard |
Dashboards |
| Add a visualization widget to a dashboard |
Alerts |
| List alerts |
Alerts |
| Get alert details |
Alerts |
| Create a new alert |
SQL Safety Guard
Protects your database from dangerous queries:
Blocked always:
DROP,TRUNCATE,ALTER TABLE,GRANT/REVOKE,DELETE/UPDATEwithoutWHEREWarned (warn mode) / Blocked (strict mode):
SELECT *, queries withoutWHEREorLIMIT, PII column accessAuto-LIMIT: Automatically appends
LIMIT NwhenREDASH_AUTO_LIMITis set
Query Cache
Results are cached in-memory to reduce redundant API calls:
TTL: configurable via
REDASH_MCP_CACHE_TTL(default: 300s)Max memory: configurable via
REDASH_MCP_CACHE_MAX_MB(default: 50MB)
Installation
Auto Setup (Recommended)
npx redash-mcp setupThe setup wizard will guide you through configuring Claude Desktop, Claude Code (CLI), or both.
Shell Script Install
Installs Node.js, Claude Desktop, and MCP config all at once:
curl -fsSL https://raw.githubusercontent.com/seob717/redash-mcp/main/install.sh | bashManual Setup
1. Get your Redash API Key
Go to Redash → Profile (top right) → Edit Profile → Copy API Key
2-A. Claude Desktop
Open ~/Library/Application Support/Claude/claude_desktop_config.json and add:
{
"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.
2-B. Claude Code (CLI)
Open ~/.claude/settings.json and add:
{
"mcpServers": {
"redash-mcp": {
"command": "npx",
"args": ["-y", "redash-mcp"],
"env": {
"REDASH_URL": "https://your-redash-instance.com",
"REDASH_API_KEY": "your_api_key_here"
}
}
}
}macOS: If
npxis not found, runwhich npxto get the full path and use that instead.
Environment Variables
Required
Variable | Description |
| Redash instance URL (e.g. |
| Redash user API key |
Optional
Variable | Default | Description |
|
| SQL safety level: |
|
| Disable PII detection |
|
| Disable cost warnings |
|
| Auto-append |
|
| Redash cache TTL in seconds |
|
| MCP query cache TTL in seconds (0 = disabled) |
|
| Max memory for MCP query cache in MB |
|
| Directory for BIRD few-shot, feedback, eval, keyword-map data |
|
| Set to |
|
| Per-request HTTP timeout against the Redash API |
| — | If set, BIRD smart_query falls back to Claude Haiku for table selection when keyword scoring fails |
Usage Examples
Just ask Claude in natural language:
"Show me the columns in the users table"
"Run a query to get order counts for the last 7 days"
"List all saved queries"
"Show widgets in the revenue dashboard"
"Create an alert when daily signups drop below 100"
Example 1: Query data with natural language
Prompt: "How many new users signed up this month?"
Tool flow:
list_data_sources→ Identify the target data sourcesmart_query→ Analyze the question, auto-select theUsertable, provide SQL generation guidancerun_query→ Execute the generated SQL
Result:
There were 18,197 new signups this month.Example 2: Complex business questions
Prompt: "What percentage of last week's new users made a purchase?"
Tool flow:
smart_query→ Analyze the question, auto-selectUserandPaymenttables, provide JOIN query guidancerun_query→ Execute the SQL
Result:
Out of 1,204 new users last week, 312 made a purchase (25.9%).Example 3: Create a query and dashboard
Prompt: "Create a monthly revenue trend query and add it to a dashboard"
Tool flow:
smart_query→ Analyze revenue-related tablescreate_query→ Save the "Monthly Revenue Trend" querycreate_dashboard→ Create a "Revenue Dashboard"get_query→ Get the visualization ID from the saved queryadd_widget→ Add the chart widget to the dashboard
Result:
Created "Revenue Dashboard" with the monthly revenue trend chart.
View in Redash: https://your-redash.com/dashboard/monthly-revenuePrivacy Policy
Data Collection and Processing
redash-mcp is a local MCP server that communicates directly with your Redash instance. No intermediate servers are involved.
Item | Description |
Redash API Key | Stored only as a local environment variable ( |
Query content & results | Delivered only to the local MCP client (Claude Desktop/Code) via the MCP protocol. |
BIRD SQL settings | Stored only in local files ( |
LLM Fallback | When |
Third-Party Sharing
We do not sell or share user data with third parties. When the LLM Fallback feature is active, only table name lists are sent to the Anthropic API, and only when the user has explicitly configured an ANTHROPIC_API_KEY.
Data Retention
Config files: Stored locally in
~/.redash-mcp/(user can delete at any time)Query cache: In-memory only, cleared on server shutdown
Schema cache: In-memory only, auto-expires after 10-minute TTL
Contact
For inquiries and security reports: GitHub Issues
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/seob717/redash-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server