Redash MCP Server

Redash MCP Server

Enables interaction with Redash through its API to execute SQL queries, retrieve results, and manage data sources. It allows users to query data and explore data sources directly through natural language interfaces.

Category
Visit Server

README

Redash MCPサーバー

Redash APIのMCPサーバーで、クエリの実行、結果の取得などの機能を提供します。

ツール

  1. execute_query_and_wait

    • クエリを実行し、結果が利用可能になるまで待機します
    • 入力パラメータ:
      • data_source_id (数値): クエリを実行するデータソースのID
      • query (文字列): 実行するSQLクエリ
    • 戻り値: 利用可能になったクエリ結果
  2. list_data_sources

    • 利用可能なすべてのデータソースを一覧表示します
    • 入力パラメータ: なし
    • 戻り値: データソースの配列
  3. get_data_source

    • 特定のデータソースに関する詳細を取得します
    • 入力パラメータ:
      • data_source_id (数値): データソースのID
    • 戻り値: データソースの詳細情報

セットアップ

APIキー

Redash APIキーを取得してください。

  1. Redashにログイン
  2. 「Edit Profile」をクリック
  3. APIキーをコピーする

環境変数

以下の環境変数が必要です:

  • REDASH_API_KEY: RedashのAPIキー
  • REDASH_BASE_URL: RedashのURL(例: https://redash.example.com)

git clone

このリポジトリをローカルにcloneしてください

npxで利用する場合

ビルドとnpxコマンドの登録を行ってください

npm install
npm run build
npm link

Claude DesktopまたはCursorのMCP設定に以下を追加してください

{
  "mcpServers": {
    "redash": {
      "command": "npx",
      "args": [
        "mcp-redash"
      ],
      "env": {
        "REDASH_API_KEY": "<YOUR_API_KEY>",
        "REDASH_BASE_URL": "https://redash.example.com"
      }
    }
  }
}

Dockerで利用する場合

ビルドを行ってください

docker build -t yuki9541134/mcp-redash .

Claude DesktopまたはCursorのMCP設定に以下を追加してください

{
  "mcpServers": {
    "redash": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e", "REDASH_API_KEY",
        "-e", "REDASH_BASE_URL",
        "yuki9541134/mcp-redash"
      ],
      "env": {
        "REDASH_API_KEY": "<YOUR_API_KEY>",
        "REDASH_BASE_URL": "https://redash.example.com"
      }
    }
  }
}

SSEモードで利用する場合

HTTPサーバーとして起動し、Server-Sent Events (SSE) を使用した通信を行うことも可能です。

開発時

npm run dev -- --sse

ビルド後

node dist/index.js --sse

SSEモードではHTTPサーバーがポート3000で起動します。エンドポイント:

  • GET /sse - SSE接続の確立
  • POST /messages - メッセージの送信

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured