Steampipe MCP Server logo

Steampipe MCP Server

by zen4ever

An MCP server interacting with PostgreSQL databases, primarily for use with Steampipe. It provides tools to query, list tables, and retrieve schemas from Steampipe's PostgreSQL database.

View on GitHub

Last updated: N/A

What is Steampipe MCP Server?

The Steampipe MCP Server is a tool designed to interact with PostgreSQL databases used by Steampipe. It exposes several tools via an MCP (Machine Communication Protocol) server, allowing users to query the database, list tables, and retrieve table schemas.

How to use Steampipe MCP Server?

  1. Install Steampipe and start the Steampipe service. 2. Obtain the Steampipe PostgreSQL connection string. 3. Configure the server with the database URL either via command-line argument or environment variable. 4. Run the server. 5. Integrate with Claude Desktop or other MCP clients to access the available tools.

Key features of Steampipe MCP Server

  • Runs read-only SQL queries

  • Lists all tables in all schemas

  • Lists tables within a specific schema

  • Retrieves column names and data types for a specific table

  • Easy installation and configuration

  • Development and production modes

Use cases of Steampipe MCP Server

  • Querying Steampipe data for analysis

  • Discovering available tables and schemas in Steampipe

  • Retrieving table schemas for documentation or code generation

  • Integrating Steampipe data with other applications via MCP

  • Automating database tasks within Steampipe environments

FAQ from Steampipe MCP Server

What is Steampipe?

Steampipe is a tool that transforms APIs into SQL tables, allowing you to query cloud resources and other services using SQL.

How do I find the Steampipe database URL?

Run steampipe service status and look for the Database URL in the output.

How do I configure the database connection?

You can provide the database URL via the --database-url argument or by setting the DATABASE_URL environment variable.

What tools are available in the MCP server?

The server provides query, list_all_tables, list_tables_in_schema, and get_table_schema tools.

How do I install the server in Claude Desktop?

You can either install the development version using make install-mcp or manually configure Claude Desktop with the server's command and arguments in the settings.