redash-mcp
MCP server by seob717 Community
Connects Redash to AI assistants such as Claude, Cursor, Gemini CLI and Codex. It lets users query data, run SQL, build charts and dashboards, and create alerts in natural language, for teams that use Redash.
Install redash-mcp
Built from the published package, never by AI.
claude mcp add redash-mcp -e REDASH_URL=YOUR_REDASH_URL -e REDASH_API_KEY=YOUR_REDASH_API_KEY -- npx -y redash-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"redash-mcp": {
"env": {
"REDASH_URL": "YOUR_REDASH_URL",
"REDASH_API_KEY": "YOUR_REDASH_API_KEY"
},
"args": [
"-y",
"redash-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"redash-mcp": {
"env": {
"REDASH_URL": "YOUR_REDASH_URL",
"REDASH_API_KEY": "YOUR_REDASH_API_KEY"
},
"args": [
"-y",
"redash-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"redash-mcp": {
"env": {
"REDASH_URL": "YOUR_REDASH_URL",
"REDASH_API_KEY": "YOUR_REDASH_API_KEY"
},
"args": [
"-y",
"redash-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add redash-mcp --env REDASH_URL=YOUR_REDASH_URL --env REDASH_API_KEY=YOUR_REDASH_API_KEY -- npx -y redash-mcp{
"mcpServers": {
"redash-mcp": {
"env": {
"REDASH_URL": "YOUR_REDASH_URL",
"REDASH_API_KEY": "YOUR_REDASH_API_KEY"
},
"args": [
"-y",
"redash-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add redash-mcp npx -y redash-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the redash-mcp block.
About
redash-mcp is an MCP server that connects a Redash instance to AI clients such as Claude, Cursor, Gemini CLI and Codex. It gives the assistant tools to list data sources and tables, run SQL, manage saved queries, create charts, build dashboards and set up alerts. It talks directly to the Redash REST API using your own instance URL and API key.
Ad-hoc SQL sent through run_query passes a safety guard. It blocks statements such as DROP and DELETE without WHERE, and it has off, warn and strict modes. An optional smart_query tool helps select tables and guide SQL generation, with an optional Claude Haiku fallback. It suits analysts and developers who want an assistant to work with Redash data.
Written from the project's README and checked against it.
Tools it gives your assistant
list_data_sourcesLists the data sources available in the Redash instance.run_queryExecutes SQL and returns the results, with a safety guard on ad-hoc SQL.create_querySaves a query in Redash so it can be reused.get_query_resultRuns a saved query, with optional parameter values.create_visualizationCreates line, column, area, pie, scatter or counter charts on a saved query.create_dashboardCreates a new Redash dashboard.add_widgetAdds a widget to a dashboard, placed below existing widgets with auto-layout.create_alertCreates an alert in Redash.smart_queryAnalyzes a question, selects tables and guides SQL generation.fork_queryForks an existing saved query.
What you need
- Node.js 20+
- A Redash instance URL
- A Redash user API key
- Optional ANTHROPIC_API_KEY for the Claude Haiku fallback in smart_query
| Setting | Needed | What it is |
|---|---|---|
REDASH_Environment variable | Required | Your Redash instance URL (e.g. https://redash.example.com) |
REDASH_Environment variable, secret | Required | Your Redash user API key (found in Settings > Account) |
REDASH_Environment variable | Optional | SQL safety mode: 'strict' blocks risky queries, 'warn' (default) returns warnings, 'off' disables guards (not recommended). Default: warn |
REDASH_Environment variable | Optional | Set to 'true' to disable the PII column guard. Not recommended. Default: false |
REDASH_Environment variable | Optional | Set to 'true' to disable the query cost guard. Not recommended. Default: false |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- How many new users signed up this month?
- Create an alert when daily signups drop below 100
- Save a monthly revenue query and chart it as a line on a Revenue dashboard.
Good to know
- The SQL safety guard applies to run_query only. Saved queries run with get_query_result are not checked, so a read-only database account is advised.
- Query results are cached in memory with a configurable TTL.
- It is an unofficial, community-built integration and is not affiliated with Redash.
Security check
C- Downloads a script from the internet and runs itIn
README.md:curl -fsSL https://raw.githubusercontent.com/seob717/redash-mcp/main/install.sh | bash
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to redash-mcp
All alternatives →World Monitor is a real-time global intelligence dashboard covering conflict, markets, energy, trade, shipping and cyber. Its MCP server gives AI assistants access to that data, and it is aimed at analysts, agents and scripts.
Lets AI agents create and change Power BI semantic models through a local MCP server. Built for developers who want natural language modeling in Power BI Desktop, Fabric workspaces and PBIP files.
Seal Open Data serves French public datasets from data.gouv.fr to AI assistants. It covers topics such as territories, companies, housing and population. It is aimed at users who want to query French open data from clients like Claude.
OpenMetadata MCP server lets MCP-compatible assistants search metadata, inspect lineage, and manage data quality tests. It is for data teams and AI agents that need governed context about enterprise data.
Compiles, validates and renders semantic chart specs for AI assistants through the Model Context Protocol. It is for agents that need reliable, good-looking and interactive charts across several chart libraries.
Query PostHog analytics, manage feature flags and experiments, and investigate errors from your AI assistant. It suits product teams and developers who already use PostHog for analytics, replays, and error tracking.
Compare with World Monitor, Power BI Authoring MCP Server (Local) or Seal Open Data
redash-mcp: common questions
Does redash-mcp send my data to third parties?
The privacy section says the API key and query results stay local. Only if ANTHROPIC_API_KEY is set does smart_query send table names, column names and the question text to the Anthropic API.
Can the assistant change data in Redash?
The source says ad-hoc SQL is checked for DROP, TRUNCATE, ALTER and DELETE or UPDATE without WHERE. It also says saved queries run through get_query_result are not checked, so a read-only account is recommended.
Is redash-mcp an official Redash product?
No. The disclaimer says it is an unofficial, community-built integration that uses only the public Redash REST API.
How do I install redash-mcp?
In Claude Code run claude mcp add redash-mcp -e REDASH_URL=YOUR_REDASH_URL -e REDASH_API_KEY=YOUR_REDASH_API_KEY -- npx -y redash-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is redash-mcp the official server?
redash-mcp is a community project by seob717, not verified by a company domain.
Is redash-mcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is redash-mcp safe to use?
It scores 81 of 100. Grades: maintenance B, licence A, quality C. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to redash-mcp?
Similar MCP servers: World Monitor, Power BI Authoring MCP Server (Local), Seal Open Data, OpenMetadata.
Does redash-mcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
