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:
Works with your local Tailpipe database files, providing safe, read-only access to all your cloud and SaaS log data.
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 database. Make sure Tailpipe is installed and configured first.
To connect to a specific database file instead, add the path to the args:
{
"mcpServers": {
"tailpipe": {
"command": "npx",
"args": [
"-y",
"@turbot/tailpipe-mcp",
"/path/to/your/tailpipe.db"
]
}
}
}
Assistant | Config File Location | Setup Guide |
---|---|---|
Claude Desktop | claude_desktop_config.json | Claude Desktop MCP Guide → |
Cursor | ~/.cursor/mcp.json | Cursor MCP Guide → |
Save the configuration file and restart your AI assistant for the changes to take effect.
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:
Database Operations:
tailpipe_query
sql
(string): The SQL query to executetailpipe_connect
database_path
(string): Database path to connect to. If not provided, refreshes the current connection.Data Structure Operations:
tailpipe_partition_list
tailpipe_partition_show
name
(string): Name of the partition to show details fortailpipe_table_list
tailpipe_table_show
name
(string): Name of the table to show details forPlugin Operations:
tailpipe_plugin_list
tailpipe_plugin_show
name
(string): Name of the plugin to show details forSource Operations:
tailpipe_source_list
tailpipe_source_show
name
(string): Name of the source to show details forThis resource enables AI tools to check and verify the connection status to your Tailpipe database.
git clone https://github.com/turbot/tailpipe-mcp.git
cd tailpipe-mcp
npm install
npm run build
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.db"
]
}
}
}
Or, use the MCP Inspector to validate the server implementation:
npx @modelcontextprotocol/inspector dist/index.js
The following environment variables can be used to configure the MCP server:
TAILPIPE_MCP_DATABASE_PATH
: Specify the database 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 messageswarn
: Show only warning and error messageserror
: Show only error messagesTAILPIPE_MCP_MEMORY_MAX_MB
: Maximum memory buffer size in megabytes for command executionThis 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.
Want to help but don't know where to start? Pick up one of the help wanted
issues:
{
"mcpServers": {
"tailpipe": {
"env": {},
"args": [
"-y",
"@turbot/tailpipe-mcp"
],
"command": "npx"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.