# Faucet (MCP server)

> 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.

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.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/faucetdb/faucet |
| GitHub stars | 166 |
| License | MIT |
| Language | Go |
| Transport | stdio |
| Packages | npm: @faucetdb/faucet |
| Remote URL | none |
| Needs API key | no |
| Official | no |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Databases |
| Latest release | v0.1.15 (Oct 9, 2026) |
| Last commit | Oct 18, 2026 |
| MCP registry name | io.github.faucetdb/faucet |

## Install

### Claude Desktop (claude_desktop_config.json)

```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

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

### Cursor (.cursor/mcp.json)

```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)

```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 2026-10-07.

## Environment variables

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

## Similar MCP servers

- [Schemagate](https://appsgit.com/mcp-servers/schemagate): Identity-scoped schema selection for text-to-SQL. (173 stars, Apache-2.0, needs API key)
- [Prism Coder](https://appsgit.com/mcp-servers/prism-coder): Session memory for coding agents: local-first recall, drift detection, on-device inference. (156 stars, Apache-2.0, needs API key)
- [Argon](https://appsgit.com/mcp-servers/argon): Versioned MongoDB sandboxes for AI agents: branch, time-travel, merge, and undo over MCP. (176 stars, MIT)
- [Avrotize](https://appsgit.com/mcp-servers/avrotize): Schema conversion and schema-driven code generation MCP server. (132 stars, Apache-2.0)
- [MCP Neo4j Memory](https://appsgit.com/mcp-servers/mcp-neo4j-memory): MCP Neo4j Knowledge Graph Memory Server. (989 stars, MIT, official, needs API key)
- [Tiger MCP](https://appsgit.com/mcp-servers/tiger-mcp): Provides programmatic access to Tiger Cloud services, databases, and documentation. (127 stars, Apache-2.0, needs API key)

---

Canonical page: https://appsgit.com/mcp-servers/faucet
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
