Redash MCP Server
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Redash MCP Server
Model Context Protocol (MCP) server for integrating Redash with AI assistants like Claude.
Features
- Connect to Redash instances via the Redash API
- List available queries and dashboards as resources
- Execute queries and retrieve results
- Create and manage queries (create, update, archive)
- List data sources for query creation
- Get dashboard details and visualizations
Prerequisites
- Node.js (v18 or later)
- npm or yarn
- Access to a Redash instance
- Redash API key
Environment Variables
The server requires the following environment variables:
REDASH_URL
: Your Redash instance URL (e.g., https://redash.example.com)REDASH_API_KEY
: Your Redash API key
Optional variables:
REDASH_TIMEOUT
: Timeout for API requests in milliseconds (default: 30000)REDASH_MAX_RESULTS
: Maximum number of results to return (default: 1000)
Installation
- Clone this repository:Copy
- Install dependencies:Copy
- Create a
.env
file with your Redash configuration:Copy - Build the project:Copy
- Start the server:Copy
Usage with Claude for Desktop
To use this MCP server with Claude for Desktop, configure it in your Claude for Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Add the following configuration (edit paths as needed):
Available Tools
Query Management
list-queries
: List all available queries in Redashget-query
: Get details of a specific querycreate-query
: Create a new query in Redashupdate-query
: Update an existing query in Redasharchive-query
: Archive (soft-delete) a querylist-data-sources
: List all available data sources
Query Execution
execute-query
: Execute a query and return results
Dashboard Management
list-dashboards
: List all available dashboardsget-dashboard
: Get dashboard details and visualizationsget-visualization
: Get details of a specific visualization
Development
Run in development mode:
Version History
- v1.1.0: Added query management functionality (create, update, archive)
- v1.0.0: Initial release
License
MIT
You must be authenticated.
Model 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.