SpotDB gives you a throwaway SQLite sandbox for AI agents to query data without touching production databases. Upload CSVs via REST API, then let Claude run SELECT queries through the MCP interface while guardrails block mutations. Think of it as a scratch pad where agents can explore datasets, test queries, and crunch numbers with read-only safety. The snapshot feature lets you freeze database states and restore them later. It's built for workflows where you need an LLM to analyze data but can't risk accidental writes or expose production credentials. Install via Homebrew, point it at your CSVs, and connect Claude using the mcp-remote transport.
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 "csv_file=@data.csv"
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
X-API-KeysecretOptional API key for request authentication
com.exploit-intel/eip-mcp
dmontgomery40/pentest-mcp
pantheon-security/notebooklm-mcp-secure
cyanheads/pentest-mcp-server
io.github.akhilucky/ai-firewall-mcp