Spotdb logo

Spotdb

Ephemeral MCP and REST data sandbox for isolated CSV analysis, SQL queries, snapshots, and guarded AI workflows.

Install Spotdb

Run the project’s own setup commands, in order.

Setup steps from the project

spotdb installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    brew tap aliengiraffe/spaceship && \\
    brew install spotdb
    
  2. 2. Start the server
    spotdb
    
  3. 3. Add to Claude Code
    claude mcp add spotdb -s user -- npx -y mcp-remote http://localhost:8081/stream
    

Overview

The spotdb MCP server creates temporary, isolated databases for AI-assisted data exploration without direct production database access. It accepts CSV uploads, supports SQL queries, and can expose data through MCP and REST APIs, with snapshots for preserving or restoring data states. Use it when an agent needs to inspect data while limiting accidental changes and keeping exploratory work separate from production.

Use cases

  • Upload CSV data for isolated analysis
  • Query temporary tables with SQL
  • Give AI agents sandboxed data access
  • Restore exploratory work from snapshots

Key features

  • Ephemeral database sandbox
  • CSV uploads into named tables
  • SQL query endpoint
  • MCP and REST APIs
  • Point-in-time snapshots
  • Guardrails and security controls

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

23/23 checks healthy over the last 102d

Supply-chain signal

1 high-severity advisory on record for this package. Most advisories affect transitive dependencies and may not be exploitable in this server's actual usage — this is a directional signal, not a security audit.

Critical 1High 0Medium 0Low 0

Scanned 9/19/2026 via OSV.dev

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars22Stargazers on the source repository.
Last commit3d agoMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Spotdb works

What spotdb does

The spotdb MCP server provides an ephemeral data sandbox for AI workflows, scripts, and exploratory analysis. Instead of giving an agent direct access to a production database, you can load data into a temporary environment and let the agent work against that copy. The project is listed in the 🗄️ Databases category and is aimed at safer analysis of data that may otherwise be risky to expose directly.

CSV files can be uploaded as tables, and the resulting data can be queried with SQL. The sandbox also supports snapshots, allowing a point-in-time state to be captured, recovered, or used as the basis for continuing work. Guardrails and security controls are intended to reduce unintended modification and unauthorized access during exploration.

How it works

Running the spotdb command starts the local service. A separate query endpoint accepts SQL in a JSON request, such as a query that returns a limited set of rows.

MCP access is provided through a stream endpoint on port 8081. An MCP-compatible client can connect to that endpoint through mcp-remote, allowing an AI workflow to work with the sandbox through the Model Context Protocol. The project also includes an Explorer UI at /explorer for browser-based uploads and queries.

Setup and configuration

The documented installation path uses Homebrew:

bash
brew tap aliengiraffe/spaceship
brew install spotdb
spotdb

After the service starts, upload a CSV through POST http://localhost:8080/api/v1/upload and query it through POST http://localhost:8080/api/v1/query.

For Claude Code, the documented connection command is:

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

This requires the claude command to be installed. The browser interface is available at http://localhost:8080/explorer after startup.

Tools and capabilities

The spotdb MCP server supports these documented capabilities:

  • Create temporary databases for agent workflows and data exploration.
  • Import CSV files into named tables.
  • Run SQL queries against sandbox data.
  • Capture and restore snapshots of data states.
  • Expose access through MCP and REST APIs.
  • Apply guardrails and security measures intended to protect data.

Consult the project documentation before building a client that depends on specific MCP operations.

Limitations and notes

The sandbox is described as ephemeral, so it should not be treated as the permanent system of record. Its purpose is isolated analysis rather than direct production database administration. The README confirms REST and MCP access, but it does not document supported database engines, retention behavior, authentication details, authorization configuration, or the precise snapshot lifecycle.

The documented examples use local endpoints and ports 8080 and 8081. Deployments that expose those endpoints beyond the local machine should verify the project’s security and access-control configuration before handling sensitive data.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Spotdb

spotdb is an MCP server that connects AI workflows to an isolated, temporary data sandbox. Its main capabilities are accessing sandbox data through MCP, importing CSV files, querying tables, and working with snapshots. It also exposes REST endpoints for uploads and SQL queries, keeping exploratory work separate from production databases.

Install it with Homebrew by tapping `aliengiraffe/spaceship` and running `brew install spotdb`. Start the service with `spotdb`. The documented setup does not list required environment variables or a configuration file.

Connect Claude Code with `claude mcp add spotdb -s user -- npx -y mcp-remote http://localhost:8081/stream`. The spotdb service must be running, and the `claude` command must already be installed.

Upload a CSV by sending a multipart `POST` request to `http://localhost:8080/api/v1/upload` with a table name, a `has_header` value, and the file. The imported data can then be queried through the REST query endpoint or MCP.

Yes, spotdb can query uploaded CSV data with SQL after the file is imported as a table. Send the SQL in JSON to `POST http://localhost:8080/api/v1/query`, or use the MCP connection for agent workflows.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSpotdb AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/spotdb?style=directory)](https://allmcps.com/mcp/spotdb)
HTML Embed
<a href="https://allmcps.com/mcp/spotdb"><img src="https://allmcps.com/api/badge/spotdb?style=directory" alt="Spotdb on AllMCPs" /></a>