Rowbase logo

Rowbase

Read-only-by-default MCP access to MySQL, MariaDB, PostgreSQL, and SQLite with compact TOON results.

Install Rowbase

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

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "rowbase": {
      "command": "uvx",
      "args": [
        "--from",
        "rowbase-db",
        "rowbase"
      ]
    }
  }
}

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

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx --from rowbase-db rowbase

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The Rowbase MCP server connects AI assistants to MySQL, MariaDB, PostgreSQL, and SQLite databases through a built-in stdio server. It provides schema discovery, sampling, counts, SQL queries, query plans, and reference lookup, returning compact TOON tables. Connections remain read-only by default, while writes require explicit permission and the additional apply_changes tool. Reach for it when an agent needs controlled database exploration or targeted queries without building a separate database integration.

Use cases

  • Inspect database schemas through an AI assistant
  • Query production data with read-only defaults
  • Trace references between related records
  • Review query plans with an assistant
  • Sample and count rows before writing SQL

Key features

  • MySQL, MariaDB, PostgreSQL, and SQLite support
  • Read-only-by-default database access
  • Schema discovery and table inspection
  • SQL queries and EXPLAIN support
  • TOON-formatted tabular results
  • Optional write tool with explicit permission

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.

12/12 checks healthy over the last 42d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · rowbase-db (PyPI)

Adoption & maintenance

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

GitHub stars1Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Rowbase works

What Rowbase MCP server does

The Rowbase MCP server gives MCP-compatible assistants a database interface for MySQL, MariaDB, PostgreSQL, and SQLite. It can expose connection details, list databases and tables, describe table structures, search schema metadata, inspect sample rows, count records, run SQL, explain queries, and locate referenced rows.

Database access starts in read-only mode. Rowbase describes four safeguards: driver-level single-statement handling, a SQL guard, read-only transactions, and timeouts. Write operations are not part of the normal tool set; apply_changes becomes available only when writes are explicitly allowed.

Query results use TOON, a compact tabular format intended to reduce the amount of output sent to an assistant. The server also includes a guide tool so an assistant can learn the available workflow and tool usage.

How it works

Rowbase runs as a local MCP process over stdio. You can use a downloaded one-file binary, the native application, or the Python package published as rowbase-db. The repository shows registration through the Claude command-line interface, either by pointing to a local executable or by running the package with uvx.

After the server is registered, the assistant can use the discovery tools before issuing a query. A typical workflow is to inspect connections, select a database, list tables, describe a table, and then sample or query rows. explain can inspect a query plan, while find_ref helps follow references between records.

Setup and configuration

Install Rowbase from a release binary or from PyPI with pipx or uv. Start the MCP process with the mcp subcommand. The README provides these registration patterns:

  • A local binary or app executable followed by mcp
  • uvx --from rowbase-db rowbase mcp

Connections can be added through the Rowbase CLI, including a PostgreSQL URL with an SSH tunnel. The standard CLI example uses rowbase add, then identifies the connection with -c for later commands. Passwords are stored in the operating system keychain rather than configuration files. The optional ROWBASE_NO_UPDATE_CHECK=1 setting disables the anonymous daily GitHub release check; it is not required to run the server.

Tools and capabilities

The Rowbase MCP server exposes these tools:

  • guide for built-in usage instructions
  • connections and databases for connection and database discovery
  • tables, describe, and search_schema for schema inspection
  • sample and count for lightweight data inspection
  • query for SQL execution
  • explain for query-plan inspection
  • find_ref for locating referenced records
  • apply_changes when write access has been enabled

The server supports MySQL, MariaDB, PostgreSQL, and SQLite. Its output can be truncated, and TOON output includes a truncation indicator when applicable.

Limitations and notes

Read-only behavior is the default, but write access can be enabled, so deployments should use connection permissions appropriate to the data being exposed. The examples also show local process registration rather than a remote service configuration.

The project is open source under Apache-2.0. Downloaded builds are not currently code-signed, which can require an operating-system security confirmation on macOS or Windows.

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 Rowbase

Rowbase is an MCP server that connects AI assistants to MySQL, MariaDB, PostgreSQL, and SQLite. Its main tools discover schemas, list tables, describe structures, sample and count rows, run SQL queries, explain query plans, and find references. Access is read-only by default, with writes exposed only when explicitly enabled.

Install Rowbase from a release binary or from PyPI using `pipx` or `uv`, then start it with the `rowbase mcp` command. You can register a local executable with the Claude command-line tool or run it through `uvx --from rowbase-db rowbase mcp`.

Yes, the README names Cursor as an MCP-compatible assistant for Rowbase. Register the stdio server using Cursor’s MCP configuration, then use the available discovery and query tools against configured databases.

Yes, Rowbase is read-only by default and applies multiple safeguards, including a SQL guard, read-only transactions, statement handling, and timeouts. The `apply_changes` tool is available only when writes are explicitly allowed.

The Rowbase MCP server supports MySQL, MariaDB, PostgreSQL, and SQLite. It can inspect schemas, sample data, count rows, execute SQL, explain queries, and find references across configured connections.

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