spotdb
UnexploredEphemeral data sandbox for AI workflows with guardrails and security
Install
Terminal
$docker run -i --rm docker.io/aliengiraffe/spotdb:0.1.0mcp_config.json
{
"mcpServers": {
"ai-aliengiraffe-spotdb": {
"env": {
"X-API-Key": "${X-API-Key}"
},
"args": [
"run",
"-i",
"--rm",
"docker.io/aliengiraffe/spotdb:0.1.0"
],
"command": "docker"
}
}
}Documentation
SpotDB
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
- Tap the repository and install the package:
brew tap aliengiraffe/spaceship && \\
brew install spotdb
- Start the server:
spotdb
- Upload a CSV file:
curl -X POST \
http://localhost:8080/api/v1/upload \
-F "table_name=mytable" \
-F "has_header=true" \
-F "csv_file=@data.csv"
- Query the data:
curl -X POST \
http://localhost:8080/api/v1/query \
-H "Content-Type: application/json" \
-d '{"query": "SELECT * FROM mytable LIMIT 10"}'
- Setup Claude Code
You must have the
claudecommand installed.
Then, you can add the spotdb mcp:
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:
open http://localhost:8080/explorer
Full Documentation
๐ https://github.com/aliengiraffe/spotdb/blob/main/DOCS.md
Sourced from the repository README.
More in Data & Databases
- Codebase Memory McpHigh-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph โ average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.40,326
- PostgreSQL MCP ServerAllows AI assistants to inspect database schemas, run safe read queries, analyze indexes, and explain query performance on PostgreSQL.12,400
- SQLite MCP ServerQuery and inspect local SQLite database files with zero network overhead.6,500
- ArcadeDB MCP ServerBuilt-in MCP server for ArcadeDB multi-model database (graph, document, vector, time-series)1,099
- QueryWeaverAn MCP server for Text2SQL: transforms natural language into SQL using graph schema understanding.1,070
- postgresConnect to your PostgreSQL database to query data and schemas.61