mcpbeat Sign in

Dbhawk MCP Server

by datasparc Your server? Claim it
local only

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.

Installs per day peak 209 · avg 12 · -72% w/w
a month agotoday
66
Installs / week
npm · @dbhawk/mcp
0
Stars
0 open issues
23 Oct 2026
Last commit
2 releases in 90 days
—
License
JavaScript

What the code does

We read the source, 1 d ago · rules 995398eba69f

Capabilities

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.

Runs an external command dbhawk/mcp-server/oauth.js:70
    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.

This code can reach further than it looks

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.

Three servers free · no card

Connect this server

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.

run in your terminal
claude mcp add dbhawk -e 'DBHAWK_BASE_URL=<DBHAWK_BASE_URL>' -e 'DBHAWK_TOKEN=<DBHAWK_TOKEN>' -- npx -y @dbhawk/mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "dbhawk": {
      "command": "npx",
      "args": [
        "-y",
        "@dbhawk/mcp"
      ],
      "env": {
        "DBHAWK_BASE_URL": "<DBHAWK_BASE_URL>",
        "DBHAWK_TOKEN": "<DBHAWK_TOKEN>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.dbhawk]
command = "npx"
args = ["-y", "@dbhawk/mcp"]
env = { DBHAWK_BASE_URL = "<DBHAWK_BASE_URL>", DBHAWK_TOKEN = "<DBHAWK_TOKEN>" }
.cursor/mcp.json
{
  "mcpServers": {
    "dbhawk": {
      "command": "npx",
      "args": [
        "-y",
        "@dbhawk/mcp"
      ],
      "env": {
        "DBHAWK_BASE_URL": "<DBHAWK_BASE_URL>",
        "DBHAWK_TOKEN": "<DBHAWK_TOKEN>"
      }
    }
  }
}
.vscode/mcp.json
{
  "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).

Alternatives to Dbhawk

same job, measured the same way
SQL Preview
by fadnavismehul

Run governed SQL queries and inspect database schemas from MCP agents.

172 installs/wk local only
QueryDesk
by querydesk

Governed SQL access to your databases: redaction, query review and an audit log.

answering
Grain SQL
by pattrnlabs

Run SQL queries and inspect database schemas through safe, visible MCP tools.

1 468 installs/wk local only
Magic Cloud
by polterguy

Generate secured CRUD APIs over your database, run SQL, manage files, tasks and a headless browser

local only
Airtable
by domdomegg

Read and write access to Airtable database schemas, tables, and records.

4 086 installs/wk local only
LINQ to DB
by linq2db

Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.

local only
AI2SQL
by ai2sql

Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema

answering
A2db
by agentic-eng

Safe, read-only database access for AI agents. 5 databases, batch queries, SQLGlot.

109 installs/wk local only

Dbhawk — questions

Answers built from our own checks of this server.

Why is there no uptime for Dbhawk?
Dbhawk runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @dbhawk/mcp was installed 66 times last week.
How do I connect Dbhawk?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @dbhawk/mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Dbhawk?
The npm package @dbhawk/mcp was installed 66 times in the last week. Week over week that is -72%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Dbhawk open source?
We cannot say either way: written in JavaScript and 0 stars on GitHub, but we could not determine the licence, and without one the code is not open source by default.