Spotdb

ai.aliengiraffe由 aliengiraffe.ai 发布v0.1.0更新于 Oct 24, 2026

Ephemeral data sandbox for AI workflows with guardrails and security

已验证STDIO仅桌面数据库数据与分析

概览

AI 生成的概览

SpotDB 是一个本地临时数据沙箱,让 AI 助手在隔离环境中加载 CSV 数据并执行 SQL 查询,而不直接访问生产数据库。

可以做什么
将 CSV 文件加载到本地沙箱数据库的临时表中,并通过 MCP 端点用 SQL 查询;同一套上传与查询流程也提供 REST API 和浏览器 Explorer 界面。创建快照以恢复某个时间点的数据状态或从先前状态继续。提供防护规则和访问控制,用于防止意外修改数据,并使探索与生产系统隔离。
适用场景
适合助手需要在不接触生产数据库的情况下探索或分析表格数据(例如上传的 CSV 文件),以及需要带快照和回滚能力的可丢弃沙箱来支撑智能体数据工作流时使用。
运行要求
作为本地进程运行在用户机器上,通过 Homebrew 安装并用 spotdb 命令启动;MCP 连接通过 npx mcp-remote 连接到本地流式端点。可设置可选的环境变量 X-API-Key 用于请求认证。仅限桌面端。
安装前请注意
可选的 X-API-Key 属于机密信息,应妥善保管。该服务器接受文件上传和 SQL 查询,写入沙箱的数据应按敏感数据处理;README 未说明防护规则如何配置,使用前应先了解。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Spotdb,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

SpotDB

[Quality Gate Status]

Lightweight data sandbox for AI workflows and data exploration, enabled with guardrails and security to keep your data safe.

This project provides a lightweight, ephemeral data sandbox designed for large language models (LLMs) and agentic workflows. By providing a secure, isolated environment, it allows AI agents and scripts to analyze data without direct access to production databases. This setup prevents accidental data modification, ensures data privacy, and enforces guardrails for safe data exploration.

Features

  • 🏖️ Ephemeral Data Sandbox: Create temporary databases for AI workflows and data exploration.
  • 📸 Snapshot: Capture and store data snapshots, recover point-in-time data states or continue from a previous state.
  • 🧠 MCP API: Access data through a Model Context Protocol for seamless integration with AI models and agentic workflows.
  • ⚙️ REST API: Access data through a RESTful API for integration with traditional systems and workflows.
  • 🚂 Guardrails: Enforce rules and constraints to ensure data safety and privacy.
  • 🛡️ Security: Protect data from unauthorized access and modification.

Quick Start

  1. Tap the repository and install the package:
bash
brew tap aliengiraffe/spaceship && \\brew install spotdb
  1. Start the server:
bash
spotdb
  1. Upload a CSV file:
bash
curl -X POST \  http://localhost:8080/api/v1/upload \  -F "table_name=mytable" \  -F "has_header=true" \  -F "[email protected]"
  1. Query the data:
bash
curl -X POST \  http://localhost:8080/api/v1/query \  -H "Content-Type: application/json" \  -d '{"query": "SELECT * FROM mytable LIMIT 10"}'
  1. Setup Claude Code You must have the claude command installed.

Then, you can add the spotdb mcp:

bash
claude mcp add spotdb -s user -- npx -y mcp-remote http://localhost:8081/stream

Use Explorer UI

Open the Explorer UI in your browser and upload files and query the data:

bash
open http://localhost:8080/explorer

Full Documentation

👉 https://github.com/aliengiraffe/spotdb/blob/main/DOCS.md

来源:README.md,提交 cfbbef2

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分