MCP server connecting Redash to Claude, Cursor, Gemini CLI, and Codex for natural-language SQL with safety guards and dashboard management.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Redash MCP.
English | νκ΅μ΄ | ζ₯ζ¬θͺ
MCP server that connects Redash to Claude, Cursor, Gemini CLI, Codex, and any MCP client β query data, manage dashboards, and run SQL with natural language.
Why Β· Features Β· Install Β· Env Β· Examples Β· Privacy

There are several Redash MCP servers. This one is built for letting an LLM touch production data safely:
DROP/TRUNCATE/ALTER and DELETE/UPDATE without WHERE; strict/warn/off modes, PII detection, and auto-LIMIT. Hand Claude your real Redash without flinching.npx redash-mcp setup configures Claude Desktop / Claude Code / Cursor / Gemini CLI / Codex CLI for you. No hand-editing JSON.| 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 |
| Smart Query | smart_query | Analyze a question, auto-select tables, guide SQL generation (BIRD) |
| Smart Query | get_bird_config | Inspect the active BIRD smart-query configuration |
| Smart Query | evaluate_queries | Evaluate generated SQL against expected results |
| Smart Query | submit_query_feedback | Record feedback to improve future table selection |
| Smart Query | manage_few_shot_examples | Add/list BIRD few-shot examples |
| Smart Query | manage_keyword_map | Add/list keywordβtable mappings |
| 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)The setup wizard will guide you through configuring Claude Desktop, Claude Code (CLI), Cursor, Gemini CLI, and Codex CLI β pick any combination.
Installs Node.js, Claude Desktop, and MCP config all at once:
Go to Redash β Profile (top right) β Edit Profile β Copy API Key
Open ~/Library/Application Support/Claude/claude_desktop_config.json and add:
Fully quit and restart Claude Desktop after saving.
Open ~/.cursor/mcp.json (create it if missing) and add:
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 |
REDASH_MCP_CONFIG_DIR | ~/.redash-mcp | Directory for BIRD few-shot, feedback, eval, keyword-map data |
REDASH_BIRD_ENABLED | true | Set to false to disable BIRD smart query tools |
REDASH_HTTP_TIMEOUT_SECS | 30 | Per-request HTTP timeout against the Redash API |
ANTHROPIC_API_KEY | β | If set, BIRD smart_query falls back to Claude Haiku for table selection when keyword scoring fails |
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:
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:
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:
redash-mcp is a local MCP server that communicates directly with your Redash instance. No intermediate servers are involved.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/seob717-redash-mcp)<a href="https://allmcps.com/mcp/seob717-redash-mcp"><img src="https://allmcps.com/api/badge/seob717-redash-mcp?style=directory" alt="Redash MCP on AllMCPs" /></a>