Dbhawk runs on your own machine — the client starts it, so there is no endpoint to ping. 66 installs a week from npm. Last commit 23 Oct 2026.
Secure access to DBHawk datasources: browse schemas, run governed queries, DBHawk AI text-to-SQL.
We read the source, 1 d ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
const child = spawn(command, args, { detached: true, stdio: "ignore", shell: false });
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add dbhawk -e 'DBHAWK_BASE_URL=<DBHAWK_BASE_URL>' -e 'DBHAWK_TOKEN=<DBHAWK_TOKEN>' -- npx -y @dbhawk/mcp
{
"mcpServers": {
"dbhawk": {
"command": "npx",
"args": [
"-y",
"@dbhawk/mcp"
],
"env": {
"DBHAWK_BASE_URL": "<DBHAWK_BASE_URL>",
"DBHAWK_TOKEN": "<DBHAWK_TOKEN>"
}
}
}
}
[mcp_servers.dbhawk]
command = "npx"
args = ["-y", "@dbhawk/mcp"]
env = { DBHAWK_BASE_URL = "<DBHAWK_BASE_URL>", DBHAWK_TOKEN = "<DBHAWK_TOKEN>" }
{
"mcpServers": {
"dbhawk": {
"command": "npx",
"args": [
"-y",
"@dbhawk/mcp"
],
"env": {
"DBHAWK_BASE_URL": "<DBHAWK_BASE_URL>",
"DBHAWK_TOKEN": "<DBHAWK_TOKEN>"
}
}
}
}
{
"servers": {
"dbhawk": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dbhawk/mcp"
],
"env": {
"DBHAWK_BASE_URL": "<DBHAWK_BASE_URL>",
"DBHAWK_TOKEN": "<DBHAWK_TOKEN>"
}
}
}
}
Put your own values in place of
<DBHAWK_BASE_URL> (DBHawk base URL, e.g. https://dbhawk.example.com (no trailing /api)), <DBHAWK_TOKEN> (MCP-scoped personal token (dbh_...) from DBHawk User Profile > API Token).
The author’s registry entry marks them as required.
Optional settings from the registry entry, left out of the block above:
DBHAWK_DEFAULT_DATASOURCE (Datasource used when a request doesn't name one).
Run governed SQL queries and inspect database schemas from MCP agents.
Governed SQL access to your databases: redaction, query review and an audit log.
Run SQL queries and inspect database schemas through safe, visible MCP tools.
Generate secured CRUD APIs over your database, run SQL, manage files, tasks and a headless browser
Read and write access to Airtable database schemas, tables, and records.
Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.
Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema
Safe, read-only database access for AI agents. 5 databases, batch queries, SQLGlot.
Answers built from our own checks of this server.