The Nothing MCP logo

The Nothing MCP

Connects AI to databases and datasets through private, read-only schema access and approved, row-capped views.

Install The Nothing MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "the-nothing-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "the-nothing-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 4 tools correctly ().

Overview

the-nothing-mcp keeps database credentials and connections on the local side while exposing a constrained MCP interface to AI agents. Its primary `read_view` tool returns schema details or rows from views that you explicitly approve; it never accepts SQL from the model. It supports PostgreSQL, MySQL, SQL Server, SQLite, CSV, TSV, and JSONL sources, with row limits and read-only safeguards. Use it when an agent needs structured data context without unrestricted query access or raw records by default.

Use cases

  • Expose database structure without returning records
  • Publish aggregate metrics through approved views
  • Connect agents to local CSV, TSV, or JSONL files
  • Restrict production data access to read-only views
  • Prototype an MCP data boundary before choosing a source

Key features

  • Read-only `read_view` tool
  • Schema inspection without records
  • Approved, row-capped views
  • PostgreSQL, MySQL, SQL Server, SQLite, and file sources
  • Credential redaction from outputs and errors
  • Stdio and streamable HTTP transports

Tools4

What The Nothing MCP lets your agent do. Expand a tool for its parameters.

Verified live~357 tokens of context

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.

What it can do

From the 4 tools this server returned when we ran it; 4 declare their own safety hints.

Makes network requests · 1Read-only tools · 4
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age29 days
Maintainers1

Observed 2026-11-22 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8d ago via OSV.dev · the-nothing-mcp (npm)

Adoption & maintenance

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

npm downloads605Package downloads in the last 30 days.
Last commit25d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed4Callable tools this server registers over MCP.

How The Nothing MCP works

What the-nothing-mcp does

The-nothing-mcp creates a narrow boundary between an AI agent and a database or dataset. The connection remains in the process running the MCP server, while the model receives only the information exposed through the server’s interface. This makes it suitable for database-aware agents that should understand available structures without being given arbitrary SQL access.

With a source connected, the server exposes read_view. Calling it with schema returns table names, columns, and row counts, but not records. Calling it with an approved view name can return selected results. Without a source, the server provides deliberately inert tools and resources instead of attempting a connection.

How it works

The server accepts PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, CSV, TSV, and JSONL sources. Dataset files are loaded into a private in-memory table named after the file. Source discovery checks THE_NOTHING_DB, then DATABASE_URL, project-local .env values, and supported files in the project directory. Auto-detection does not search home directories or drive roots.

Approved views are defined in a JSON file or supplied JSON value through THE_NOTHING_VIEWS. Each view has a name, description, and SQL statement. Views must be a single SELECT or WITH statement. PostgreSQL and MySQL execute them in read-only transactions, SQL Server transactions are rolled back, and SQLite files are opened read-only.

Results are bounded by a per-view row limit of 50 by default and 1,000 at most. The connection string is excluded from tool output, instructions, and error messages. Setting THE_NOTHING_VIEW_TOOL=off removes the tool entirely, leaving data available only through resources attached by the user.

Setup and configuration

Node.js 18 or newer is required for the command-line setup. The package can be launched with npx -y the-nothing-mcp as a standard stdio MCP server. Editors that start processes in the project directory can use automatic source detection; otherwise, set THE_NOTHING_DB in the MCP server environment.

VS Code, Cursor, Windsurf, Claude Code, Claude Desktop, Gemini CLI, Cline, Roo Code, Zed, JetBrains clients, Continue, LM Studio, and Codex each have MCP configuration paths or commands described by the project. Claude Desktop also supports its packaged extension, while remote clients can use streamable HTTP with --http and --port.

Configuration options include THE_NOTHING_AUTODETECT=off, THE_NOTHING_VIEWS, THE_NOTHING_MAX_ROWS, THE_NOTHING_VIEW_TOOL=off, and THE_NOTHING_SCHEMA=off. Use a database account that is read-only in addition to the server’s own protections.

Tools and capabilities

  • Inspect schema metadata without returning table records.
  • Read results from explicitly approved views.
  • Connect to SQL databases and local tabular or line-oriented data files.
  • Keep credentials out of MCP responses and error text.
  • Serve the interface over stdio or streamable HTTP.
  • Operate with no connected source when a project needs an inert MCP boundary.

Limitations and notes

The model cannot write SQL, browse arbitrary tables, modify data, or run unapproved queries. Raw records are not returned through schema inspection, and view output is capped. A view’s SQL is authored by the operator, so the data exposed to the agent depends on the approved view definitions. HTTP deployments with a data source require a bearer token when exposed publicly unless public-data protection is explicitly overridden.

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 The Nothing MCP

the-nothing-mcp is an MCP server that privately connects AI agents to PostgreSQL, MySQL, SQL Server, SQLite, CSV, TSV, or JSONL sources. Its main `read_view` tool exposes schema metadata and results from operator-approved views, while preventing arbitrary SQL, writes, table browsing, and unbounded row retrieval.

Install it by configuring an MCP client to run `npx -y the-nothing-mcp`. Node.js 18 or newer is required. Set `THE_NOTHING_DB` when automatic project-folder detection is unavailable, or use the client-specific package or extension for Claude Desktop and VS Code.

Yes, the-nothing-mcp works with Cursor through `.cursor/mcp.json` in a project or `~/.cursor/mcp.json` globally. Configure it with the `npx -y the-nothing-mcp` command, and provide `THE_NOTHING_DB` when Cursor does not start the server in the project directory.

Define approved views in a JSON file and set `THE_NOTHING_VIEWS` to that file or to the JSON value. The AI can then call `read_view` with an approved view name. Results are row-capped, and view statements must be a single `SELECT` or `WITH` query.

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 PreviewThe Nothing MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/the-nothing-mcp?style=directory)](https://allmcps.com/mcp/the-nothing-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/the-nothing-mcp"><img src="https://allmcps.com/api/badge/the-nothing-mcp?style=directory" alt="The Nothing MCP on AllMCPs" /></a>