SpotDB
STREAMABLE HTTP轻量级临时数据沙盒用于AI工作流
轻量级临时数据沙盒用于AI工作流
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.
brew tap aliengiraffe/spaceship && \\ brew install spotdb
spotdb
curl -X POST \ http://localhost:8080/api/v1/upload \ -F "table_name=mytable" \ -F "has_header=true" \ -F "[email protected]"
curl -X POST \ http://localhost:8080/api/v1/query \ -H "Content-Type: application/json" \ -d '{"query": "SELECT * FROM mytable LIMIT 10"}'
claude command installed.Then, you can add the spotdb mcp:
claude mcp add spotdb -s user -- npx -y mcp-remote http://localhost:8081/stream
Open the Explorer UI in your browser and upload files and query the data:
open http://localhost:8080/explorer