Redash MCP Server

create-query

Create a new query in Redash

Input Schema

NameRequiredDescriptionDefault
data_source_idYesID of the data source to use
descriptionNoDescription of the query
nameYesName of the query
optionsNoQuery options
queryYesSQL query text
scheduleNoQuery schedule
tagsNoTags for the query

Input Schema (JSON Schema)

{ "properties": { "data_source_id": { "description": "ID of the data source to use", "type": "number" }, "description": { "description": "Description of the query", "type": "string" }, "name": { "description": "Name of the query", "type": "string" }, "options": { "description": "Query options", "type": "object" }, "query": { "description": "SQL query text", "type": "string" }, "schedule": { "description": "Query schedule", "type": "object" }, "tags": { "description": "Tags for the query", "items": { "type": "string" }, "type": "array" } }, "required": [ "name", "data_source_id", "query" ], "type": "object" }