Skip to main content
Glama

mcp-steampipe

by b0ttle-neck

Steampipe MCP

This is a simple steampipe MCP server. This acts as a bridge between your AI model and Steampipe tool.

Pre-requisites

  • Python 3.10+ installed.
  • uv installed (my fav) and mcp[cli]
  • Steampipe installed and working.
  • Steampipe plugin configured (e.g., github) with necessary credentials (e.g., token in ~/.steampipe/config/github.spc).
  • Any LLM supporting MCP. I am using Claude Here.
  • Node.js and npx installed (required for the MCP Inspector and potentially for running some MCP servers).

Running MCP Interceptor

This is an awesome tool for testing your if your MCP server is working as expected

  • Running the Interceptor

npx -y @modelcontextprotocol/inspector uv --directory . run steampipe_mcp_server.py

  • A browser window should open with the MCP Inspector UI (usually at http://localhost).
  • Wait for the "Connected" status on the left panel.
  • Go to the Tools tab.
  • You should see the run_steampipe_query tool listed with its description.
  • Click on the tool name.
  • In the "Arguments" JSON input field, enter a valid Steampipe query:
{ "query": "select name, fork_count from github_my_repository " }
  • execute and view the json results

Running the tool

Pretty straightforward. Just run the interceptor and make sure the tool is working from the directory. Then add the server configuration to the respective LLM and select the tool from the LLM. Screenshot 2025-04-06 at 11 53 23 PM Screenshot 2025-04-06 at 11 55 21 PM

TroubleShooting

  • If the tool is not found in the interceptor then that means @mcp.tool() decorator has some issue.
  • Execution error - Look at the "Result" in the Inspector and the server logs (stderr) in your terminal. Did Steampipe run? Was there a SQL error? A timeout? A JSON parsing error? Adjust the Python script accordingly.
tail -f ~/Library/Logs/Claude/mcp.log tail -f ~/Library/Logs/Claude/mcp-server-steampipe.log

Security Risk Claude blindly executes your sql query in this POC so there is possibility to generate and execute arbitary SQL Queries via Steampipe using your configured credentials.

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

这是为 Steampipe 编写的 MCP。此 Steampipe MCP 工具允许 Claude 使用自然语言请求直接与您的 Steampipe 安装进行交互。它通过 Steampipe CLI 执行提供的 SQL 查询,并将数据结果以 JSON 格式返回给 Claude。

  1. 先决条件
    1. 运行 MCP 拦截器
      1. 运行工具
        1. 故障排除

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            An MCP server that enables Claude to interact with Tembo Cloud platform API, allowing users to manage Tembo Cloud resources through natural language.
            Last updated -
            10
            7
            TypeScript
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            Provides access to Strapi CMS content through the MCP protocol, allowing users to create, read, update, and delete content entries via Claude.
            Last updated -
            612
            18
            JavaScript
            MIT License
            • Apple
          • A
            security
            A
            license
            A
            quality
            An MCP server that enables MySQL database integration with Claude. You can execute SQL queries and manage database connections.
            Last updated -
            2
            7
            Python
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Python-based MCP server that allows Claude and other LLMs to execute arbitrary Python code directly through your desktop Claude app, enabling data scientists to connect LLMs to APIs and executable code.
            Last updated -
            26
            MIT License
            • Apple
            • Linux

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/b0ttle-neck/mcp-steampipe'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server