Connect Redash to Claude -- query data, manage dashboards, and run SQL with natural language.
Connect Redash to Claude -- query data, manage dashboards, and run SQL with natural language.
Valid MCP server (2 strong, 5 medium validity signals). 4 known CVEs in dependencies (0 critical, 2 high severity) Package registry verified. Imported from the Official MCP Registry.
5 files analyzed · 5 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: REDASH_URL
Environment variable: REDASH_API_KEY
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-seob717-redash-mcp": {
"env": {
"REDASH_URL": "your-redash-url-here",
"REDASH_API_KEY": "your-redash-api-key-here"
},
"args": [
"-y",
"redash-mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
MCP server that connects Redash to Claude AI — query data, manage dashboards, and run SQL with natural language.
| Category | Tool | Description |
|---|---|---|
| Data Sources | list_data_sources | List connected data sources |
| Schema | list_tables | List tables (supports keyword search) |
| Schema | get_table_columns | Get column names and types |
| Query | run_query | Execute SQL and return results |
| Saved Queries | list_queries | List saved queries |
| Saved Queries | get_query | Get query details (SQL, visualizations) |
| Saved Queries | get_query_result | Run a saved query and get results |
| Saved Queries | create_query | Save a new query |
| Saved Queries | update_query | Update a saved query |
| Saved Queries | fork_query | Fork a saved query |
| Saved Queries | archive_query | Archive (delete) a query |
| Dashboards | list_dashboards | List dashboards |
| Dashboards | get_dashboard | Get dashboard details and widgets |
| Dashboards | create_dashboard | Create a new dashboard |
| Dashboards | add_widget | Add a visualization widget to a dashboard |
| Alerts | list_alerts | List alerts |
| Alerts | get_alert | Get alert details |
| Alerts | create_alert | Create a new alert |
Protects your database from dangerous queries:
DROP, TRUNCATE, ALTER TABLE, GRANT/REVOKE, DELETE/UPDATE without WHERESELECT *, queries without WHERE or LIMIT, PII column accessLIMIT N when REDASH_AUTO_LIMIT is setResults are cached in-memory to reduce redundant API calls:
REDASH_MCP_CACHE_TTL (default: 300s)REDASH_MCP_CACHE_MAX_MB (default: 50MB)npx redash-mcp setup
The setup wizard will guide you through configuring Claude Desktop, Claude Code (CLI), or both.
Installs Node.js, Claude Desktop, and MCP config all at once:
curl -fsSL https://raw.githubusercontent.com/seob717/redash-mcp/main/install.sh | bash
Go to Redash → Profile (top right) → Edit Profile → Copy API Key
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.
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.
| Variable | Description |
|---|---|
REDASH_URL | Redash instance URL (e.g. https://redash.example.com) |
REDASH_API_KEY | Redash user API key |
| Variable | Default | Description |
|---|---|---|
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 = disabled) |
REDASH_DEFAULT_MAX_AGE | 0 | Redash cache TTL in seconds |
REDASH_MCP_CACHE_TTL | 300 | MCP query cache TTL in seconds (0 = disabled) |
REDASH_MCP_CACHE_MAX_MB | 50 | Max memory for MCP query cache in MB |
Just ask Claude in 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 the User table, provide SQL generation guidancerun_query → Execute the generated SQLResult:
There were 18,197 new signups this month.
Prompt: "What percentage of last week's new users made a purchase?"
Tool flow:
smart_query → Analyze the question, auto-select User and Payment tables, provide JOIN query guidancerun_query → Execute the SQLResult:
Out of 1,204 new users last week, 312 made a purchase (25.9%).
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 dashboardResult:
Created "Revenue Dashboard" with the monthly revenue trend chart.
View in Redash: https://your-redash.com/dashboard/monthly-revenue
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 (REDASH_API_KEY). Never transmitted externally. |
| 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 (~/.redash-mcp/). Includes few-shot examples, keyword maps, and feedback. |
| LLM Fallback | When ANTHROPIC_API_KEY is set, only table name lists are sent to the Anthropic API. Query data and results are never transmitted. |
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.
~/.redash-mcp/ (user can delete at any time)For inquiries and security reports: GitHub Issues
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.