Tiger Slackのロゴ

Tiger Slack

組織
timescale

Real-time Slack ingest and MCP server to power your agentic Slack bots

公開者timescale
リポジトリtiger-slack
言語Python
フォーク
4
スター
49
利用可能なツール
0
通信方式stdio
ライセンスApache-2.0
リンク
  • ツールをAIワークフローに接続

    Tiger Slackは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには49件のスターと4件のフォークがあります。

Tiger Slack

Conversational Memory for AI Slack Bots

Tiger Slack gives Slack-native AI assistants the ability to understand and engage with your team's conversations naturally. By providing real-time access to Slack message history and context through an MCP server, it enables AI bots to respond to questions with the same contextual awareness that humans have - understanding references to past discussions, ongoing projects, and team dynamics.

Tiger Slack is the superpower behind Eon, TigerData's Slack-native AI assistant.

Ready to get started? Jump to the quick start.

Overview

Built for teams who want their AI assistants to:

  • Understand conversational context and references to past discussions
  • Answer questions about project history and decisions
  • Know who's involved in different topics and threads
  • Follow ongoing conversations and provide relevant input
  • Build conversational memory across all team channels

Key Components

Ingest Service (ingest/)

The ingest service is a Python app that:

  • Connects to Slack via WebSocket (Socket Mode)
  • Captures messages, reactions, user changes, and channel updates in real-time
  • Runs scheduled jobs for user/channel synchronization

The ingest service can process a Slack historical export into the database.

See the ingest README.md for more details.

MCP Server (mcp/)

A Streamable HTTP Model Context Protocol server provides:

  • AI-accessible APIs for Slack data analysis
  • Channel and user browsing with intelligent filtering
  • Conversation retrieval with full threading context
  • Message permalink generation

See the mcp README.md for more details.

###️TimescaleDB Database Tiger Slack uses a TimescaleDB database to store the Slack content.

  • High-throughput message ingestion with 7-day chunk partitioning
  • Efficient time-based queries and analytics
  • Automatic compression after 45 days (5-10x space savings)
  • Channel-based segmentation for optimal query performance
  • Sparse indexes (bloom filters, minmax) for fast filtering
  • Chunk skipping for accelerated thread queries
  • Full-text search capabilities across message content

Architecture

Quick Start

Start by cloning the repo.

bash
git clone --recurse-submodules git@github.com:timescale/tiger-slack.git
cd tiger-slack

The ingest service requires an app configured in Slack with proper privileges and tokens. You can run a script to automate this setup, or you can do it manually.

Automated Setup

Execute the following script to guide you through the setup process:

bash
./setup-tiger-slack.sh

Manual Setup

Create a Slack App

  1. Edit the slack-app-manifest.json file to have the names and descriptions you want to use.
  2. Create a new Slack app
  3. Choose to create an app from a manifest.
  4. Pick your workspace and click Next.
  5. Paste that manifest configuration in the input field provided and click Next.
  6. Review and verify that the configuration you entered matches the summary and click Create.
  7. Navigate to: Basic Information → App-Level Tokens
  8. Click 'Generate Token and Scopes' → Add 'connections:write' scope → Generate
  9. Save your SLACK_APP_TOKEN (It starts with xapp-).
  10. Navigate to: Install App → Click 'Install to [Workspace]'
  11. After installation, save the 'Bot User OAuth Token' A.K.A. SLACK_BOT_TOKEN (It starts with xoxb-)
bash
cp .env.sample .env

Add the Slack tokens to the .env file.

Running the System

After setting up the .env file, you are ready to run the system!

Build and run the system in docker compose:

bash
docker compose up -d --build

Other system lifecycle commands

bash
docker compose up -d          # Start all services in background
docker compose down           # Stop all services
docker compose build          # Build all images
docker compose logs -f        # View live logs from all services
docker compose restart        # Restart all services

# Reset with fresh volumes (deletes all data)
docker compose down -v
docker compose up -d

# Nuclear reset (complete cleanup)
docker compose down -v --remove-orphans
docker system prune -f --volumes
docker compose up -d --build

Dev/Test Exploration

Use Claude Code and/or the MCP Inspector to exercise the MCP Server.

Using Claude Code

  1. Connect Claude Code to the MCP Server

    To connect to the MCP server running in docker, run:

    bash
    claude mcp add -s project --transport http tiger-slack http://localhost:3001/mcp

    To use the MCP server via stdio (not docker), run this after building the mcp:

    bash
    export PGHOST=localhost
    export PGPORT=5432
    export PGUSER=tsdbadmin
    export PGDATABASE=tsdb
    export LOGFIRE_TOKEN=<your-logfire-token> # optional. sends traces from the mcp server to logfire
    claude mcp add -s project tiger-slack node /absolute/path/to/tiger-slack/mcp/dist/index.js stdio
  2. Connect to Logfire (Optional) Giving Claude Code the ability to "see" the tracing data for the project can drive powerful AI insights.

    bash
    claude mcp add -s project logfire -e LOGFIRE_READ_TOKEN="your-token-here" -- uvx logfire-mcp@latest
  3. Start Analyzing Ask Claude: "Show me recent conversations in #engineering"

Using MCP Inspector

You can use the MCP Inspector to interact with the MCP server via a web UI. Run the following from the mcp directory:

bash
./bun run inspector

Suggested Roll-out Strategy

  1. First, use a manual execution of the user/channel jobs to create the database schema and populate the users and channels.
  2. Deploy the ingest service to begin accumulating Slack events in real-time.
  3. At some point after you have begun accumulating new Slack events in real time, get a historical export from Slack and load it with the import process.

This strategy ensures no gaps in data.

Observability Stack

Tiger Slack features full-stack monitoring via Logfire integration:

  • Distributed tracing across all components
  • Real-time performance metrics
  • Error tracking and debugging
  • AI-powered log analysis via MCP and Claude Code

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.


Transform your Slack workspace into an intelligent knowledge base with AI-powered analytics and insights.

Tiger SlackのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Tiger Slackに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Tiger Slackをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Tiger SlackのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "tiger-slack": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてTiger SlackのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Tiger SlackのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Tiger Slackを使ってこのタスクを手伝ってもらえますか?
Tiger Slack
はい、読みました。
Tiger Slackで調べた結果をお伝えします。

よくある質問

Tiger Slack MCPサーバーは何に使いますか?

Tiger Slackは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでTiger Slack MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでTiger Slackを利用できます。

TypingMindでTiger Slack MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Tiger Slackを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Tiger Slack MCPをTypingMindに接続するにはどうすればよいですか?

Tiger SlackはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでTiger Slack MCPのどのようなツールを利用できますか?

Tiger SlackはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Tiger Slack MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Tiger Slackで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇