Get the FREE Ultimate OpenClaw Setup Guide →

sequel

MCP Database servers for Claude, Cursor and Windsuf

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio haxzie-sequel-mcp npx -y @sequelsh/mcp@latest install

How to use

This MCP server provides access to multiple databases via MCP clients such as Claude, Cursor, and WindSurf. The installation flow is driven through the npx-based installer shown in the README, which can install a general Sequel MCP server or tailor it to a specific database and client using the -d and -c options. Once installed, you can run the server to expose MCP-compatible endpoints that allow querying PostgreSQL, MySQL, and ClickHouse databases through your MCP client of choice. The tools bundled with the package handle database connections and query routing between the MCP protocol and the underlying database engines.

How to install

Prerequisites:

  • Node.js or Bun installed on your system (the project examples use npx, implying Node.js tooling).
  • Internet access to fetch the MCP package from npm.

Installation steps:

  1. Install the MCP server globally (or locally) using the provided installer command: npx -y @sequelsh/mcp@latest install

  2. If you want to target a specific database during installation, append the database flag: npx -y @sequelsh/mcp@latest install -d postgresql

  3. If you also want to configure a specific MCP client, append the client flag: npx -y @sequelsh/mcp@latest install -c <client>

  4. After installation, run the server as configured by the installer. For development, the repository notes Bun as a build/runtime tool, and typical development steps include: bun install bun run build bun run mcp:install

Prerequisites recap:

  • Bun (for development steps) or Node.js tooling for the npx-based installer
  • Internet access to fetch the MCP package

Additional notes

Notes:

  • Supported databases include PostgreSQL (postgresql), MySQL (mysql), and ClickHouse (clickhouse).
  • Supported MCP clients include Claude (claude), Cursor (cursor), and WindSurf (windsurf).
  • Use the -d and -c flags during installation to tailor the server to a specific database and client.
  • If you run into network or permission issues, ensure your environment allows npm/npx package fetch and execution of binaries from npm.
  • No explicit environment variables are documented in the README; configuration is primarily handled via the install command flags.

Related MCP Servers

Sponsor this space

Reach thousands of developers