Best for
- Teams seeking self-hosted access to multiple databases through a shared API.
- Developers configuring role-controlled database access for AI clients.
Faucet connects multiple SQL databases to REST APIs and MCP, with role-based access controls. Use a suitably scoped API key over HTTP; stdio mode has local administrator rights. Row-level filters are not enforced.
Strongest · Setup experience 12/20 Weakest · Security and permissions 8/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Node.js 18+ · Docker
FAUCET_DATA_DIR
Faucet data directory for databases connected with faucet serve or faucet db add; defaults to ~/.faucet.
Install and run Faucet, connect a database, then create a role and API key. HTTP mode serves Streamable HTTP at http://localhost:8080/mcp and uses the key in the X-API-Key header. The stdio configuration example runs Faucet with local administrator rights.
{"mcpServers":{"faucet":{"command":"npx","args":["-y","@faucetdb/faucet","mcp"]}}}
Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"faucet": {
"command": "npx",
"args": [
"-y",
"@faucetdb/faucet",
"mcp"
]
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.faucet] command = "npx" args = ["-y", "@faucetdb/faucet", "mcp"]
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add faucet -- npx -y @faucetdb/faucet mcp
Run it in a terminal; replace any <…> placeholders with your own values first.
Start Faucet and connect your MCP client, then confirm that faucet_list_services and faucet_query appear in its tool list. Call faucet_list_services; a response listing accessible database services confirms the connection.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
Faucet is an open-source, self-hosted, single-binary server that connects to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, Snowflake, and SQLite. It generates REST APIs, OpenAPI documentation, and MCP tools from database schemas. MCP tool access can be controlled with roles and API keys.
Unofficial MCP server providing advanced access to the ChEMBL chemical database
Let LLMs interact directly with your Directus data.
Read-only DB access for safe analysis
Connect AI clients to Couchbase clusters.
Source revision 6c374ae6c77b Data synced 2026-12-05 Read the FMRS scoring method Markdown