Skip to content
appsgit

Faucet

Faucet is an MCP server that adds database tools to AI assistants such as Claude Desktop, Claude Code and Cursor. SQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake. It has 166 GitHub stars, is released under the MIT license and runs locally with npx -y @faucetdb/faucet.

github.com/faucetdb/faucet (opens in a new tab)

Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error

Install Faucet

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "faucet": {
      "command": "npx",
      "args": [
        "-y",
        "@faucetdb/faucet"
      ],
      "env": {
        "FAUCET_DATA_DIR": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env FAUCET_DATA_DIR=your-value --transport stdio faucet -- npx -y @faucetdb/faucet

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "faucet": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@faucetdb/faucet"
      ],
      "env": {
        "FAUCET_DATA_DIR": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "servers": {
    "faucet": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@faucetdb/faucet"
      ],
      "env": {
        "FAUCET_DATA_DIR": "your-value"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
FAUCET_DATA_DIRNoFaucet data directory holding the databases you connected with faucet serve or faucet db add. Default: ~/.faucet. stdio mode runs with local admin rights.

About Faucet

Faucet: REST API and MCP server for any SQL database Turn any SQL database into a secure REST API and MCP server. One binary. One command.

  • database
  • golang
  • rest-api
  • mcp
  • ai-agents
  • mcp-server
  • model-context-protocol
  • api-generator
  • claude
  • llm

FAQ

Faucet FAQ

Still curious? Email info@appsgit.com.

How do I install the Faucet MCP server?

Add the command npx -y @faucetdb/faucet to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Faucet free?

The server is open source under the MIT license, so running it is free. It does not declare any required API key.

Is Faucet actively maintained?

The most recent commit was on Oct 18, 2026. The latest release is v0.1.15, published Oct 9, 2026. appsgit only lists MCP servers with a commit in the last six months.