Tailpipe MCP Server for AI-driven log analysis

Tailpipe MCP Server for AI-driven log analysis

tailpipe-mcp•byturbot

An MCP server that connects AI assistants to cloud and SaaS logs through Tailpipe, enabling natural language querying and analysis of log data.

License: Apache 2.0•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Runs read-only SQL queries against Tailpipe log data using DuckDB syntax.
  • •Lists and shows Tailpipe partitions, tables, plugins, and sources.
  • •Initializes or refreshes the DuckDB session from a Tailpipe init SQL script.
  • •Provides a status resource describing the current Tailpipe connection state.

BEST FOR

  • •Natural language exploration of CloudTrail, Kubernetes, and other cloud service logs.
  • •Security incident investigation and analysis of log data.
  • •Cost and performance insights from log data.

ABOUT TAILPIPE-MCP

Tailpipe MCP Server for AI-driven log analysis is cataloged as an MCP server attributed to turbot. An MCP server that connects AI assistants to cloud and SaaS logs through Tailpipe, enabling natural language querying and analysis of log data. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Apache 2.0. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Tailpipe MCP Server for AI-driven log analysis are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What kind of access does the server have to my log data?

It provides safe, read-only access to cloud and SaaS log data through your local Tailpipe init SQL scripts.

Does the server need Tailpipe installed?

Yes, Tailpipe must be installed and configured, and the server uses the Tailpipe CLI by default to discover your init SQL script.

Upstream README

View this exact version on GitHub

README.md · d777abaed256 · Fetched 2026-11-13 10:25:54 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Tailpipe Model Context Protocol (MCP) Server

Unlock the power of AI-driven log analysis with Tailpipe! This Model Context Protocol server seamlessly connects AI assistants like Claude to your cloud and SaaS logs, enabling natural language exploration and analysis of your entire data estate.

Tailpipe MCP bridges AI assistants and your log data, allowing natural language:

  • Queries across CloudTrail, Kubernetes, and other cloud service logs
  • Security incident investigation and analysis
  • Cost and performance insights
  • Query development assistance

Works with your local Tailpipe init SQL scripts, providing safe, read-only access to all your cloud and SaaS log data.

Installation

Prerequisites

Configuration

Add Tailpipe MCP to your AI assistant's configuration file:

{
  "mcpServers": {
    "tailpipe": {
      "command": "npx",
      "args": [
        "-y",
        "@turbot/tailpipe-mcp"
      ]
    }
  }
}

By default, this will use the Tailpipe CLI to discover your init SQL script. Make sure Tailpipe is installed and configured first.

To connect to a specific init SQL script instead, add the path to the args:

{
  "mcpServers": {
    "tailpipe": {
      "command": "npx",
      "args": [
        "-y",
        "@turbot/tailpipe-mcp",
        "/path/to/your/tailpipe_init_YYYYMMDDHHMMSS.sql"
      ]
    }
  }
}

AI Assistant Setup

AssistantConfig File LocationSetup Guide
Claude Desktopclaude_desktop_config.jsonClaude Desktop MCP Guide →
Cursor~/.cursor/mcp.jsonCursor MCP Guide →

Save the configuration file and restart your AI assistant for the changes to take effect.

Prompting Guide

Ask anything about your log data!

Explore your log data:

What tables do we have available in Tailpipe?

Simple, specific questions work well:

Show me all S3 bucket creation events from CloudTrail in the last 24 hours

Generate security reports:

What were my top 10 AWS services by cost last month?

Dive into incident analysis:

Find any IAM users created outside working hours (9am-5pm) in the last week

Get timeline insights:

Give me a timeline of the session where Venu created the IAM access key

Explore potential risks:

Analyze our cloudtrail errors for any specific security risks

Remember to:

  • Be specific about the time period you're interested in
  • Mention the type of data you want to analyze (CloudTrail events, cost data, etc.)
  • Start with simple queries before adding complex conditions
  • Use natural language - the LLM will handle the SQL translation
  • Be bold and exploratory, it's amazing what the LLM will discover and achieve!

Capabilities

Tools

Database Operations:

  • tailpipe_query

    • Run a read-only Tailpipe SQL query using DuckDB syntax
    • Input: sql (string): The SQL query to execute
  • tailpipe_connect

    • Initialize or refresh the DuckDB session from a Tailpipe init SQL script
    • Optional input: init_script_path (string): Path to the init SQL script to use. If not provided, refreshes the current connection.

Data Structure Operations:

  • tailpipe_partition_list

    • List all available Tailpipe partitions with simple statistics
    • No input parameters required
  • tailpipe_partition_show

    • Show details of a specific Tailpipe partition
    • Input: name (string): Name of the partition to show details for
  • tailpipe_table_list

    • List all available Tailpipe tables
    • No input parameters required
  • tailpipe_table_show

    • Show details of a specific Tailpipe table and its columns
    • Input: name (string): Name of the table to show details for

Plugin Operations:

  • tailpipe_plugin_list

    • List all Tailpipe plugins installed on the system
    • No input parameters required
  • tailpipe_plugin_show

    • Get details for a specific Tailpipe plugin installation
    • Input: name (string): Name of the plugin to show details for

Source Operations:

  • tailpipe_source_list

    • List all Tailpipe sources available on the system
    • No input parameters required
  • tailpipe_source_show

    • Get details for a specific Tailpipe source
    • Input: name (string): Name of the source to show details for

Resources

  • status
    • Represents the current state of the Tailpipe connection
    • Properties include:
      • Init script path in use
      • Server configuration
      • Runtime environment

This resource enables AI tools to check and verify the connection status to your Tailpipe session.

Development

Clone and Setup

  1. Clone the repository and navigate to the directory:
git clone https://github.com/turbot/tailpipe-mcp.git
cd tailpipe-mcp
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Testing

To test your local development build with AI tools that support MCP, update your MCP configuration to use the local dist/index.js instead of the npm package. For example:

{
  "mcpServers": {
    "tailpipe": {
      "command": "node",
      "args": [
        "/absolute/path/to/tailpipe-mcp/dist/index.js",
        "/path/to/your/tailpipe_init_YYYYMMDDHHMMSS.sql"
      ]
    }
  }
}

Or, use the MCP Inspector to validate the server implementation:

npx @modelcontextprotocol/inspector dist/index.js

Environment Variables

The following environment variables can be used to configure the MCP server:

  • TAILPIPE_MCP_INIT_SCRIPT_PATH: Specify the Tailpipe init SQL script path (alternative to command line argument)
  • TAILPIPE_MCP_LOG_LEVEL: Control logging verbosity (default: info)
    • debug: Show all messages (most verbose)
    • info: Show informational, warning, and error messages
    • warn: Show only warning and error messages
    • error: Show only error messages
  • TAILPIPE_MCP_MEMORY_MAX_MB: Maximum memory buffer size in megabytes for command execution

Open Source & Contributing

This repository is published under the Apache 2.0 license. Please see our code of conduct. We look forward to collaborating with you!

Tailpipe is a product produced from this open source software, exclusively by Turbot HQ, Inc. It is distributed under our commercial terms. Others are allowed to make their own distribution of the software, but they cannot use any of the Turbot trademarks, cloud services, etc. You can learn more in our Open Source FAQ.

Get Involved

Join #tailpipe on Slack →

Want to help but don't know where to start? Pick up one of the help wanted issues:

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Tailpipe MCP Server for AI-driven log analysis from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/tailpipe-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage